Skip to content

Commit 2475a6f

Browse files
committed
Fixed the build process by pinning version of setuptools in pyproject.toml, removed LICENSE file in favor of new format in pyproject that works with newer publishing
1 parent 4a55824 commit 2475a6f

File tree

3 files changed

+289
-23
lines changed

3 files changed

+289
-23
lines changed

LICENSE

Lines changed: 0 additions & 21 deletions
This file was deleted.

output.log

Lines changed: 286 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,286 @@
1+
* Creating virtualenv isolated environment...
2+
* Installing packages in isolated environment... (setuptools >= 61.0)
3+
* Getting build dependencies for sdist...
4+
/private/var/folders/nl/zptkx4wd7sv5kn9lbp_vbm980000gn/T/build-env-hvu8b11s/lib/python3.12/site-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsDeprecationWarning: `project.license` as a TOML table is deprecated
5+
!!
6+
7+
********************************************************************************
8+
Please use a simple string containing a SPDX expression for `project.license`. You can also use `project.license-files`. (Both options available on setuptools>=77.0.0).
9+
10+
By 2026-Feb-18, you need to update your project and remove deprecated calls
11+
or your builds will no longer be supported.
12+
13+
See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
14+
********************************************************************************
15+
16+
!!
17+
corresp(dist, value, root_dir)
18+
running egg_info
19+
writing socket_sdk_python.egg-info/PKG-INFO
20+
writing dependency_links to socket_sdk_python.egg-info/dependency_links.txt
21+
writing requirements to socket_sdk_python.egg-info/requires.txt
22+
writing top-level names to socket_sdk_python.egg-info/top_level.txt
23+
reading manifest file 'socket_sdk_python.egg-info/SOURCES.txt'
24+
adding license file 'LICENSE'
25+
writing manifest file 'socket_sdk_python.egg-info/SOURCES.txt'
26+
* Building sdist...
27+
/private/var/folders/nl/zptkx4wd7sv5kn9lbp_vbm980000gn/T/build-env-hvu8b11s/lib/python3.12/site-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsDeprecationWarning: `project.license` as a TOML table is deprecated
28+
!!
29+
30+
********************************************************************************
31+
Please use a simple string containing a SPDX expression for `project.license`. You can also use `project.license-files`. (Both options available on setuptools>=77.0.0).
32+
33+
By 2026-Feb-18, you need to update your project and remove deprecated calls
34+
or your builds will no longer be supported.
35+
36+
See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
37+
********************************************************************************
38+
39+
!!
40+
corresp(dist, value, root_dir)
41+
running sdist
42+
running egg_info
43+
writing socket_sdk_python.egg-info/PKG-INFO
44+
writing dependency_links to socket_sdk_python.egg-info/dependency_links.txt
45+
writing requirements to socket_sdk_python.egg-info/requires.txt
46+
writing top-level names to socket_sdk_python.egg-info/top_level.txt
47+
reading manifest file 'socket_sdk_python.egg-info/SOURCES.txt'
48+
adding license file 'LICENSE'
49+
writing manifest file 'socket_sdk_python.egg-info/SOURCES.txt'
50+
running check
51+
creating socket_sdk_python-2.0.15
52+
creating socket_sdk_python-2.0.15/socket_sdk_python.egg-info
53+
creating socket_sdk_python-2.0.15/socketdev
54+
creating socket_sdk_python-2.0.15/socketdev/core
55+
creating socket_sdk_python-2.0.15/socketdev/dependencies
56+
creating socket_sdk_python-2.0.15/socketdev/export
57+
creating socket_sdk_python-2.0.15/socketdev/fullscans
58+
creating socket_sdk_python-2.0.15/socketdev/historical
59+
creating socket_sdk_python-2.0.15/socketdev/npm
60+
creating socket_sdk_python-2.0.15/socketdev/openapi
61+
creating socket_sdk_python-2.0.15/socketdev/org
62+
creating socket_sdk_python-2.0.15/socketdev/purl
63+
creating socket_sdk_python-2.0.15/socketdev/quota
64+
creating socket_sdk_python-2.0.15/socketdev/report
65+
creating socket_sdk_python-2.0.15/socketdev/repos
66+
creating socket_sdk_python-2.0.15/socketdev/repositories
67+
creating socket_sdk_python-2.0.15/socketdev/sbom
68+
creating socket_sdk_python-2.0.15/socketdev/settings
69+
creating socket_sdk_python-2.0.15/socketdev/tools
70+
creating socket_sdk_python-2.0.15/socketdev/triage
71+
creating socket_sdk_python-2.0.15/socketdev/utils
72+
copying files to socket_sdk_python-2.0.15...
73+
copying LICENSE -> socket_sdk_python-2.0.15
74+
copying README.rst -> socket_sdk_python-2.0.15
75+
copying pyproject.toml -> socket_sdk_python-2.0.15
76+
copying socket_sdk_python.egg-info/PKG-INFO -> socket_sdk_python-2.0.15/socket_sdk_python.egg-info
77+
copying socket_sdk_python.egg-info/SOURCES.txt -> socket_sdk_python-2.0.15/socket_sdk_python.egg-info
78+
copying socket_sdk_python.egg-info/dependency_links.txt -> socket_sdk_python-2.0.15/socket_sdk_python.egg-info
79+
copying socket_sdk_python.egg-info/requires.txt -> socket_sdk_python-2.0.15/socket_sdk_python.egg-info
80+
copying socket_sdk_python.egg-info/top_level.txt -> socket_sdk_python-2.0.15/socket_sdk_python.egg-info
81+
copying socketdev/__init__.py -> socket_sdk_python-2.0.15/socketdev
82+
copying socketdev/exceptions.py -> socket_sdk_python-2.0.15/socketdev
83+
copying socketdev/log.py -> socket_sdk_python-2.0.15/socketdev
84+
copying socketdev/version.py -> socket_sdk_python-2.0.15/socketdev
85+
copying socketdev/core/api.py -> socket_sdk_python-2.0.15/socketdev/core
86+
copying socketdev/core/classes.py -> socket_sdk_python-2.0.15/socketdev/core
87+
copying socketdev/core/issues.py -> socket_sdk_python-2.0.15/socketdev/core
88+
copying socketdev/dependencies/__init__.py -> socket_sdk_python-2.0.15/socketdev/dependencies
89+
copying socketdev/export/__init__.py -> socket_sdk_python-2.0.15/socketdev/export
90+
copying socketdev/fullscans/__init__.py -> socket_sdk_python-2.0.15/socketdev/fullscans
91+
copying socketdev/historical/__init__.py -> socket_sdk_python-2.0.15/socketdev/historical
92+
copying socketdev/npm/__init__.py -> socket_sdk_python-2.0.15/socketdev/npm
93+
copying socketdev/openapi/__init__.py -> socket_sdk_python-2.0.15/socketdev/openapi
94+
copying socketdev/org/__init__.py -> socket_sdk_python-2.0.15/socketdev/org
95+
copying socketdev/purl/__init__.py -> socket_sdk_python-2.0.15/socketdev/purl
96+
copying socketdev/quota/__init__.py -> socket_sdk_python-2.0.15/socketdev/quota
97+
copying socketdev/report/__init__.py -> socket_sdk_python-2.0.15/socketdev/report
98+
copying socketdev/repos/__init__.py -> socket_sdk_python-2.0.15/socketdev/repos
99+
copying socketdev/repositories/__init__.py -> socket_sdk_python-2.0.15/socketdev/repositories
100+
copying socketdev/sbom/__init__.py -> socket_sdk_python-2.0.15/socketdev/sbom
101+
copying socketdev/settings/__init__.py -> socket_sdk_python-2.0.15/socketdev/settings
102+
copying socketdev/tools/__init__.py -> socket_sdk_python-2.0.15/socketdev/tools
103+
copying socketdev/triage/__init__.py -> socket_sdk_python-2.0.15/socketdev/triage
104+
copying socketdev/utils/__init__.py -> socket_sdk_python-2.0.15/socketdev/utils
105+
copying socket_sdk_python.egg-info/SOURCES.txt -> socket_sdk_python-2.0.15/socket_sdk_python.egg-info
106+
Writing socket_sdk_python-2.0.15/setup.cfg
107+
Creating tar archive
108+
removing 'socket_sdk_python-2.0.15' (and everything under it)
109+
* Building wheel from sdist
110+
* Creating virtualenv isolated environment...
111+
* Installing packages in isolated environment... (setuptools >= 61.0)
112+
* Getting build dependencies for wheel...
113+
/private/var/folders/nl/zptkx4wd7sv5kn9lbp_vbm980000gn/T/build-env-ns88q62e/lib/python3.12/site-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsDeprecationWarning: `project.license` as a TOML table is deprecated
114+
!!
115+
116+
********************************************************************************
117+
Please use a simple string containing a SPDX expression for `project.license`. You can also use `project.license-files`. (Both options available on setuptools>=77.0.0).
118+
119+
By 2026-Feb-18, you need to update your project and remove deprecated calls
120+
or your builds will no longer be supported.
121+
122+
See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
123+
********************************************************************************
124+
125+
!!
126+
corresp(dist, value, root_dir)
127+
running egg_info
128+
writing socket_sdk_python.egg-info/PKG-INFO
129+
writing dependency_links to socket_sdk_python.egg-info/dependency_links.txt
130+
writing requirements to socket_sdk_python.egg-info/requires.txt
131+
writing top-level names to socket_sdk_python.egg-info/top_level.txt
132+
reading manifest file 'socket_sdk_python.egg-info/SOURCES.txt'
133+
adding license file 'LICENSE'
134+
writing manifest file 'socket_sdk_python.egg-info/SOURCES.txt'
135+
* Building wheel...
136+
/private/var/folders/nl/zptkx4wd7sv5kn9lbp_vbm980000gn/T/build-env-ns88q62e/lib/python3.12/site-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsDeprecationWarning: `project.license` as a TOML table is deprecated
137+
!!
138+
139+
********************************************************************************
140+
Please use a simple string containing a SPDX expression for `project.license`. You can also use `project.license-files`. (Both options available on setuptools>=77.0.0).
141+
142+
By 2026-Feb-18, you need to update your project and remove deprecated calls
143+
or your builds will no longer be supported.
144+
145+
See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
146+
********************************************************************************
147+
148+
!!
149+
corresp(dist, value, root_dir)
150+
running bdist_wheel
151+
running build
152+
running build_py
153+
creating build/lib/socketdev
154+
copying socketdev/version.py -> build/lib/socketdev
155+
copying socketdev/log.py -> build/lib/socketdev
156+
copying socketdev/__init__.py -> build/lib/socketdev
157+
copying socketdev/exceptions.py -> build/lib/socketdev
158+
creating build/lib/socketdev/settings
159+
copying socketdev/settings/__init__.py -> build/lib/socketdev/settings
160+
creating build/lib/socketdev/repos
161+
copying socketdev/repos/__init__.py -> build/lib/socketdev/repos
162+
creating build/lib/socketdev/tools
163+
copying socketdev/tools/__init__.py -> build/lib/socketdev/tools
164+
creating build/lib/socketdev/core
165+
copying socketdev/core/issues.py -> build/lib/socketdev/core
166+
copying socketdev/core/api.py -> build/lib/socketdev/core
167+
copying socketdev/core/classes.py -> build/lib/socketdev/core
168+
creating build/lib/socketdev/fullscans
169+
copying socketdev/fullscans/__init__.py -> build/lib/socketdev/fullscans
170+
creating build/lib/socketdev/sbom
171+
copying socketdev/sbom/__init__.py -> build/lib/socketdev/sbom
172+
creating build/lib/socketdev/org
173+
copying socketdev/org/__init__.py -> build/lib/socketdev/org
174+
creating build/lib/socketdev/dependencies
175+
copying socketdev/dependencies/__init__.py -> build/lib/socketdev/dependencies
176+
creating build/lib/socketdev/utils
177+
copying socketdev/utils/__init__.py -> build/lib/socketdev/utils
178+
creating build/lib/socketdev/repositories
179+
copying socketdev/repositories/__init__.py -> build/lib/socketdev/repositories
180+
creating build/lib/socketdev/triage
181+
copying socketdev/triage/__init__.py -> build/lib/socketdev/triage
182+
creating build/lib/socketdev/openapi
183+
copying socketdev/openapi/__init__.py -> build/lib/socketdev/openapi
184+
creating build/lib/socketdev/historical
185+
copying socketdev/historical/__init__.py -> build/lib/socketdev/historical
186+
creating build/lib/socketdev/report
187+
copying socketdev/report/__init__.py -> build/lib/socketdev/report
188+
creating build/lib/socketdev/quota
189+
copying socketdev/quota/__init__.py -> build/lib/socketdev/quota
190+
creating build/lib/socketdev/export
191+
copying socketdev/export/__init__.py -> build/lib/socketdev/export
192+
creating build/lib/socketdev/npm
193+
copying socketdev/npm/__init__.py -> build/lib/socketdev/npm
194+
creating build/lib/socketdev/purl
195+
copying socketdev/purl/__init__.py -> build/lib/socketdev/purl
196+
running egg_info
197+
writing socket_sdk_python.egg-info/PKG-INFO
198+
writing dependency_links to socket_sdk_python.egg-info/dependency_links.txt
199+
writing requirements to socket_sdk_python.egg-info/requires.txt
200+
writing top-level names to socket_sdk_python.egg-info/top_level.txt
201+
reading manifest file 'socket_sdk_python.egg-info/SOURCES.txt'
202+
adding license file 'LICENSE'
203+
writing manifest file 'socket_sdk_python.egg-info/SOURCES.txt'
204+
installing to build/bdist.macosx-14.0-arm64/wheel
205+
running install
206+
running install_lib
207+
creating build/bdist.macosx-14.0-arm64/wheel
208+
creating build/bdist.macosx-14.0-arm64/wheel/socketdev
209+
creating build/bdist.macosx-14.0-arm64/wheel/socketdev/settings
210+
copying build/lib/socketdev/settings/__init__.py -> build/bdist.macosx-14.0-arm64/wheel/./socketdev/settings
211+
creating build/bdist.macosx-14.0-arm64/wheel/socketdev/repos
212+
copying build/lib/socketdev/repos/__init__.py -> build/bdist.macosx-14.0-arm64/wheel/./socketdev/repos
213+
creating build/bdist.macosx-14.0-arm64/wheel/socketdev/tools
214+
copying build/lib/socketdev/tools/__init__.py -> build/bdist.macosx-14.0-arm64/wheel/./socketdev/tools
215+
creating build/bdist.macosx-14.0-arm64/wheel/socketdev/core
216+
copying build/lib/socketdev/core/issues.py -> build/bdist.macosx-14.0-arm64/wheel/./socketdev/core
217+
copying build/lib/socketdev/core/api.py -> build/bdist.macosx-14.0-arm64/wheel/./socketdev/core
218+
copying build/lib/socketdev/core/classes.py -> build/bdist.macosx-14.0-arm64/wheel/./socketdev/core
219+
copying build/lib/socketdev/version.py -> build/bdist.macosx-14.0-arm64/wheel/./socketdev
220+
creating build/bdist.macosx-14.0-arm64/wheel/socketdev/fullscans
221+
copying build/lib/socketdev/fullscans/__init__.py -> build/bdist.macosx-14.0-arm64/wheel/./socketdev/fullscans
222+
copying build/lib/socketdev/log.py -> build/bdist.macosx-14.0-arm64/wheel/./socketdev
223+
creating build/bdist.macosx-14.0-arm64/wheel/socketdev/sbom
224+
copying build/lib/socketdev/sbom/__init__.py -> build/bdist.macosx-14.0-arm64/wheel/./socketdev/sbom
225+
creating build/bdist.macosx-14.0-arm64/wheel/socketdev/org
226+
copying build/lib/socketdev/org/__init__.py -> build/bdist.macosx-14.0-arm64/wheel/./socketdev/org
227+
creating build/bdist.macosx-14.0-arm64/wheel/socketdev/dependencies
228+
copying build/lib/socketdev/dependencies/__init__.py -> build/bdist.macosx-14.0-arm64/wheel/./socketdev/dependencies
229+
copying build/lib/socketdev/__init__.py -> build/bdist.macosx-14.0-arm64/wheel/./socketdev
230+
creating build/bdist.macosx-14.0-arm64/wheel/socketdev/utils
231+
copying build/lib/socketdev/utils/__init__.py -> build/bdist.macosx-14.0-arm64/wheel/./socketdev/utils
232+
creating build/bdist.macosx-14.0-arm64/wheel/socketdev/repositories
233+
copying build/lib/socketdev/repositories/__init__.py -> build/bdist.macosx-14.0-arm64/wheel/./socketdev/repositories
234+
creating build/bdist.macosx-14.0-arm64/wheel/socketdev/triage
235+
copying build/lib/socketdev/triage/__init__.py -> build/bdist.macosx-14.0-arm64/wheel/./socketdev/triage
236+
creating build/bdist.macosx-14.0-arm64/wheel/socketdev/openapi
237+
copying build/lib/socketdev/openapi/__init__.py -> build/bdist.macosx-14.0-arm64/wheel/./socketdev/openapi
238+
creating build/bdist.macosx-14.0-arm64/wheel/socketdev/historical
239+
copying build/lib/socketdev/historical/__init__.py -> build/bdist.macosx-14.0-arm64/wheel/./socketdev/historical
240+
copying build/lib/socketdev/exceptions.py -> build/bdist.macosx-14.0-arm64/wheel/./socketdev
241+
creating build/bdist.macosx-14.0-arm64/wheel/socketdev/report
242+
copying build/lib/socketdev/report/__init__.py -> build/bdist.macosx-14.0-arm64/wheel/./socketdev/report
243+
creating build/bdist.macosx-14.0-arm64/wheel/socketdev/quota
244+
copying build/lib/socketdev/quota/__init__.py -> build/bdist.macosx-14.0-arm64/wheel/./socketdev/quota
245+
creating build/bdist.macosx-14.0-arm64/wheel/socketdev/export
246+
copying build/lib/socketdev/export/__init__.py -> build/bdist.macosx-14.0-arm64/wheel/./socketdev/export
247+
creating build/bdist.macosx-14.0-arm64/wheel/socketdev/npm
248+
copying build/lib/socketdev/npm/__init__.py -> build/bdist.macosx-14.0-arm64/wheel/./socketdev/npm
249+
creating build/bdist.macosx-14.0-arm64/wheel/socketdev/purl
250+
copying build/lib/socketdev/purl/__init__.py -> build/bdist.macosx-14.0-arm64/wheel/./socketdev/purl
251+
running install_egg_info
252+
Copying socket_sdk_python.egg-info to build/bdist.macosx-14.0-arm64/wheel/./socket_sdk_python-2.0.15-py3.12.egg-info
253+
running install_scripts
254+
creating build/bdist.macosx-14.0-arm64/wheel/socket_sdk_python-2.0.15.dist-info/WHEEL
255+
creating '/Users/douglascoburn/socket.dev/github/socket-sdk-python/dist/.tmp-m9p59g7w/socket_sdk_python-2.0.15-py3-none-any.whl' and adding 'build/bdist.macosx-14.0-arm64/wheel' to it
256+
adding 'socket_sdk_python-2.0.15.dist-info/licenses/LICENSE'
257+
adding 'socketdev/__init__.py'
258+
adding 'socketdev/exceptions.py'
259+
adding 'socketdev/log.py'
260+
adding 'socketdev/version.py'
261+
adding 'socketdev/core/api.py'
262+
adding 'socketdev/core/classes.py'
263+
adding 'socketdev/core/issues.py'
264+
adding 'socketdev/dependencies/__init__.py'
265+
adding 'socketdev/export/__init__.py'
266+
adding 'socketdev/fullscans/__init__.py'
267+
adding 'socketdev/historical/__init__.py'
268+
adding 'socketdev/npm/__init__.py'
269+
adding 'socketdev/openapi/__init__.py'
270+
adding 'socketdev/org/__init__.py'
271+
adding 'socketdev/purl/__init__.py'
272+
adding 'socketdev/quota/__init__.py'
273+
adding 'socketdev/report/__init__.py'
274+
adding 'socketdev/repos/__init__.py'
275+
adding 'socketdev/repositories/__init__.py'
276+
adding 'socketdev/sbom/__init__.py'
277+
adding 'socketdev/settings/__init__.py'
278+
adding 'socketdev/tools/__init__.py'
279+
adding 'socketdev/triage/__init__.py'
280+
adding 'socketdev/utils/__init__.py'
281+
adding 'socket_sdk_python-2.0.15.dist-info/METADATA'
282+
adding 'socket_sdk_python-2.0.15.dist-info/WHEEL'
283+
adding 'socket_sdk_python-2.0.15.dist-info/top_level.txt'
284+
adding 'socket_sdk_python-2.0.15.dist-info/RECORD'
285+
removing build/bdist.macosx-14.0-arm64/wheel
286+
Successfully built socket_sdk_python-2.0.15.tar.gz and socket_sdk_python-2.0.15-py3-none-any.whl

pyproject.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
[build-system]
22
requires = [
3-
"setuptools >= 61.0"
3+
"setuptools==68.2.2",
4+
"wheel"
45
]
56
build-backend = "setuptools.build_meta"
67

@@ -13,7 +14,7 @@ dependencies = [
1314
'typing-extensions>=4.12.2'
1415
]
1516
readme = "README.rst"
16-
license = {file = "LICENSE"}
17+
license = {text = "MIT"}
1718
description = "Socket Security Python SDK"
1819
keywords = ["socketsecurity", "socket.dev", "sca", "oss", "security", "sdk"]
1920
authors = [

0 commit comments

Comments
 (0)