From ac3688d167c68591282109e1bc0e0dc007d4530b Mon Sep 17 00:00:00 2001 From: Douglas Coburn Date: Mon, 24 Mar 2025 13:57:28 -0700 Subject: [PATCH 1/6] bump version for release --- socketdev/version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/socketdev/version.py b/socketdev/version.py index 2ae4933..5015444 100644 --- a/socketdev/version.py +++ b/socketdev/version.py @@ -1 +1 @@ -__version__ = "2.0.14" +__version__ = "2.0.15" From 01fa334a2988c274f195f6dc046ee7e39697cf85 Mon Sep 17 00:00:00 2001 From: Douglas Coburn Date: Mon, 24 Mar 2025 13:58:23 -0700 Subject: [PATCH 2/6] Update deployment --- .github/workflows/pr-preview.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/pr-preview.yml b/.github/workflows/pr-preview.yml index ccb18cc..5e150d2 100644 --- a/.github/workflows/pr-preview.yml +++ b/.github/workflows/pr-preview.yml @@ -61,7 +61,6 @@ jobs: uses: pypa/gh-action-pypi-publish@v1.8.11 with: repository-url: https://test.pypi.org/legacy/ - password: ${{ secrets.TEST_PYPI_TOKEN }} verbose: true - name: Comment on PR From 4a55824d90c97e99b70ebd99ea86814a5bce472c Mon Sep 17 00:00:00 2001 From: Douglas Coburn Date: Mon, 24 Mar 2025 14:08:51 -0700 Subject: [PATCH 3/6] Update workflow yamls for deploy --- .github/workflows/pr-preview.yml | 3 +++ .github/workflows/release.yml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/pr-preview.yml b/.github/workflows/pr-preview.yml index 5e150d2..8fc8c1b 100644 --- a/.github/workflows/pr-preview.yml +++ b/.github/workflows/pr-preview.yml @@ -6,6 +6,9 @@ on: jobs: preview: runs-on: ubuntu-latest + permissions: + id-token: write + contents: read steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7d5b141..4fe2fe3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -7,6 +7,9 @@ on: jobs: release: runs-on: ubuntu-latest + permissions: + id-token: write + contents: read steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 From 2475a6ff0101acca5e03b494c39155336d02aabf Mon Sep 17 00:00:00 2001 From: Douglas Coburn Date: Mon, 24 Mar 2025 14:57:05 -0700 Subject: [PATCH 4/6] 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 --- LICENSE | 21 ---- output.log | 286 +++++++++++++++++++++++++++++++++++++++++++++++++ pyproject.toml | 5 +- 3 files changed, 289 insertions(+), 23 deletions(-) delete mode 100644 LICENSE create mode 100644 output.log diff --git a/LICENSE b/LICENSE deleted file mode 100644 index b5008f6..0000000 --- a/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2022 Socket Inc - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. \ No newline at end of file diff --git a/output.log b/output.log new file mode 100644 index 0000000..08cf668 --- /dev/null +++ b/output.log @@ -0,0 +1,286 @@ +* Creating virtualenv isolated environment... +* Installing packages in isolated environment... (setuptools >= 61.0) +* Getting build dependencies for sdist... +/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 +!! + + ******************************************************************************** + 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). + + By 2026-Feb-18, you need to update your project and remove deprecated calls + or your builds will no longer be supported. + + See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. + ******************************************************************************** + +!! + corresp(dist, value, root_dir) +running egg_info +writing socket_sdk_python.egg-info/PKG-INFO +writing dependency_links to socket_sdk_python.egg-info/dependency_links.txt +writing requirements to socket_sdk_python.egg-info/requires.txt +writing top-level names to socket_sdk_python.egg-info/top_level.txt +reading manifest file 'socket_sdk_python.egg-info/SOURCES.txt' +adding license file 'LICENSE' +writing manifest file 'socket_sdk_python.egg-info/SOURCES.txt' +* Building sdist... +/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 +!! + + ******************************************************************************** + 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). + + By 2026-Feb-18, you need to update your project and remove deprecated calls + or your builds will no longer be supported. + + See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. + ******************************************************************************** + +!! + corresp(dist, value, root_dir) +running sdist +running egg_info +writing socket_sdk_python.egg-info/PKG-INFO +writing dependency_links to socket_sdk_python.egg-info/dependency_links.txt +writing requirements to socket_sdk_python.egg-info/requires.txt +writing top-level names to socket_sdk_python.egg-info/top_level.txt +reading manifest file 'socket_sdk_python.egg-info/SOURCES.txt' +adding license file 'LICENSE' +writing manifest file 'socket_sdk_python.egg-info/SOURCES.txt' +running check +creating socket_sdk_python-2.0.15 +creating socket_sdk_python-2.0.15/socket_sdk_python.egg-info +creating socket_sdk_python-2.0.15/socketdev +creating socket_sdk_python-2.0.15/socketdev/core +creating socket_sdk_python-2.0.15/socketdev/dependencies +creating socket_sdk_python-2.0.15/socketdev/export +creating socket_sdk_python-2.0.15/socketdev/fullscans +creating socket_sdk_python-2.0.15/socketdev/historical +creating socket_sdk_python-2.0.15/socketdev/npm +creating socket_sdk_python-2.0.15/socketdev/openapi +creating socket_sdk_python-2.0.15/socketdev/org +creating socket_sdk_python-2.0.15/socketdev/purl +creating socket_sdk_python-2.0.15/socketdev/quota +creating socket_sdk_python-2.0.15/socketdev/report +creating socket_sdk_python-2.0.15/socketdev/repos +creating socket_sdk_python-2.0.15/socketdev/repositories +creating socket_sdk_python-2.0.15/socketdev/sbom +creating socket_sdk_python-2.0.15/socketdev/settings +creating socket_sdk_python-2.0.15/socketdev/tools +creating socket_sdk_python-2.0.15/socketdev/triage +creating socket_sdk_python-2.0.15/socketdev/utils +copying files to socket_sdk_python-2.0.15... +copying LICENSE -> socket_sdk_python-2.0.15 +copying README.rst -> socket_sdk_python-2.0.15 +copying pyproject.toml -> socket_sdk_python-2.0.15 +copying socket_sdk_python.egg-info/PKG-INFO -> socket_sdk_python-2.0.15/socket_sdk_python.egg-info +copying socket_sdk_python.egg-info/SOURCES.txt -> socket_sdk_python-2.0.15/socket_sdk_python.egg-info +copying socket_sdk_python.egg-info/dependency_links.txt -> socket_sdk_python-2.0.15/socket_sdk_python.egg-info +copying socket_sdk_python.egg-info/requires.txt -> socket_sdk_python-2.0.15/socket_sdk_python.egg-info +copying socket_sdk_python.egg-info/top_level.txt -> socket_sdk_python-2.0.15/socket_sdk_python.egg-info +copying socketdev/__init__.py -> socket_sdk_python-2.0.15/socketdev +copying socketdev/exceptions.py -> socket_sdk_python-2.0.15/socketdev +copying socketdev/log.py -> socket_sdk_python-2.0.15/socketdev +copying socketdev/version.py -> socket_sdk_python-2.0.15/socketdev +copying socketdev/core/api.py -> socket_sdk_python-2.0.15/socketdev/core +copying socketdev/core/classes.py -> socket_sdk_python-2.0.15/socketdev/core +copying socketdev/core/issues.py -> socket_sdk_python-2.0.15/socketdev/core +copying socketdev/dependencies/__init__.py -> socket_sdk_python-2.0.15/socketdev/dependencies +copying socketdev/export/__init__.py -> socket_sdk_python-2.0.15/socketdev/export +copying socketdev/fullscans/__init__.py -> socket_sdk_python-2.0.15/socketdev/fullscans +copying socketdev/historical/__init__.py -> socket_sdk_python-2.0.15/socketdev/historical +copying socketdev/npm/__init__.py -> socket_sdk_python-2.0.15/socketdev/npm +copying socketdev/openapi/__init__.py -> socket_sdk_python-2.0.15/socketdev/openapi +copying socketdev/org/__init__.py -> socket_sdk_python-2.0.15/socketdev/org +copying socketdev/purl/__init__.py -> socket_sdk_python-2.0.15/socketdev/purl +copying socketdev/quota/__init__.py -> socket_sdk_python-2.0.15/socketdev/quota +copying socketdev/report/__init__.py -> socket_sdk_python-2.0.15/socketdev/report +copying socketdev/repos/__init__.py -> socket_sdk_python-2.0.15/socketdev/repos +copying socketdev/repositories/__init__.py -> socket_sdk_python-2.0.15/socketdev/repositories +copying socketdev/sbom/__init__.py -> socket_sdk_python-2.0.15/socketdev/sbom +copying socketdev/settings/__init__.py -> socket_sdk_python-2.0.15/socketdev/settings +copying socketdev/tools/__init__.py -> socket_sdk_python-2.0.15/socketdev/tools +copying socketdev/triage/__init__.py -> socket_sdk_python-2.0.15/socketdev/triage +copying socketdev/utils/__init__.py -> socket_sdk_python-2.0.15/socketdev/utils +copying socket_sdk_python.egg-info/SOURCES.txt -> socket_sdk_python-2.0.15/socket_sdk_python.egg-info +Writing socket_sdk_python-2.0.15/setup.cfg +Creating tar archive +removing 'socket_sdk_python-2.0.15' (and everything under it) +* Building wheel from sdist +* Creating virtualenv isolated environment... +* Installing packages in isolated environment... (setuptools >= 61.0) +* Getting build dependencies for wheel... +/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 +!! + + ******************************************************************************** + 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). + + By 2026-Feb-18, you need to update your project and remove deprecated calls + or your builds will no longer be supported. + + See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. + ******************************************************************************** + +!! + corresp(dist, value, root_dir) +running egg_info +writing socket_sdk_python.egg-info/PKG-INFO +writing dependency_links to socket_sdk_python.egg-info/dependency_links.txt +writing requirements to socket_sdk_python.egg-info/requires.txt +writing top-level names to socket_sdk_python.egg-info/top_level.txt +reading manifest file 'socket_sdk_python.egg-info/SOURCES.txt' +adding license file 'LICENSE' +writing manifest file 'socket_sdk_python.egg-info/SOURCES.txt' +* Building wheel... +/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 +!! + + ******************************************************************************** + 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). + + By 2026-Feb-18, you need to update your project and remove deprecated calls + or your builds will no longer be supported. + + See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. + ******************************************************************************** + +!! + corresp(dist, value, root_dir) +running bdist_wheel +running build +running build_py +creating build/lib/socketdev +copying socketdev/version.py -> build/lib/socketdev +copying socketdev/log.py -> build/lib/socketdev +copying socketdev/__init__.py -> build/lib/socketdev +copying socketdev/exceptions.py -> build/lib/socketdev +creating build/lib/socketdev/settings +copying socketdev/settings/__init__.py -> build/lib/socketdev/settings +creating build/lib/socketdev/repos +copying socketdev/repos/__init__.py -> build/lib/socketdev/repos +creating build/lib/socketdev/tools +copying socketdev/tools/__init__.py -> build/lib/socketdev/tools +creating build/lib/socketdev/core +copying socketdev/core/issues.py -> build/lib/socketdev/core +copying socketdev/core/api.py -> build/lib/socketdev/core +copying socketdev/core/classes.py -> build/lib/socketdev/core +creating build/lib/socketdev/fullscans +copying socketdev/fullscans/__init__.py -> build/lib/socketdev/fullscans +creating build/lib/socketdev/sbom +copying socketdev/sbom/__init__.py -> build/lib/socketdev/sbom +creating build/lib/socketdev/org +copying socketdev/org/__init__.py -> build/lib/socketdev/org +creating build/lib/socketdev/dependencies +copying socketdev/dependencies/__init__.py -> build/lib/socketdev/dependencies +creating build/lib/socketdev/utils +copying socketdev/utils/__init__.py -> build/lib/socketdev/utils +creating build/lib/socketdev/repositories +copying socketdev/repositories/__init__.py -> build/lib/socketdev/repositories +creating build/lib/socketdev/triage +copying socketdev/triage/__init__.py -> build/lib/socketdev/triage +creating build/lib/socketdev/openapi +copying socketdev/openapi/__init__.py -> build/lib/socketdev/openapi +creating build/lib/socketdev/historical +copying socketdev/historical/__init__.py -> build/lib/socketdev/historical +creating build/lib/socketdev/report +copying socketdev/report/__init__.py -> build/lib/socketdev/report +creating build/lib/socketdev/quota +copying socketdev/quota/__init__.py -> build/lib/socketdev/quota +creating build/lib/socketdev/export +copying socketdev/export/__init__.py -> build/lib/socketdev/export +creating build/lib/socketdev/npm +copying socketdev/npm/__init__.py -> build/lib/socketdev/npm +creating build/lib/socketdev/purl +copying socketdev/purl/__init__.py -> build/lib/socketdev/purl +running egg_info +writing socket_sdk_python.egg-info/PKG-INFO +writing dependency_links to socket_sdk_python.egg-info/dependency_links.txt +writing requirements to socket_sdk_python.egg-info/requires.txt +writing top-level names to socket_sdk_python.egg-info/top_level.txt +reading manifest file 'socket_sdk_python.egg-info/SOURCES.txt' +adding license file 'LICENSE' +writing manifest file 'socket_sdk_python.egg-info/SOURCES.txt' +installing to build/bdist.macosx-14.0-arm64/wheel +running install +running install_lib +creating build/bdist.macosx-14.0-arm64/wheel +creating build/bdist.macosx-14.0-arm64/wheel/socketdev +creating build/bdist.macosx-14.0-arm64/wheel/socketdev/settings +copying build/lib/socketdev/settings/__init__.py -> build/bdist.macosx-14.0-arm64/wheel/./socketdev/settings +creating build/bdist.macosx-14.0-arm64/wheel/socketdev/repos +copying build/lib/socketdev/repos/__init__.py -> build/bdist.macosx-14.0-arm64/wheel/./socketdev/repos +creating build/bdist.macosx-14.0-arm64/wheel/socketdev/tools +copying build/lib/socketdev/tools/__init__.py -> build/bdist.macosx-14.0-arm64/wheel/./socketdev/tools +creating build/bdist.macosx-14.0-arm64/wheel/socketdev/core +copying build/lib/socketdev/core/issues.py -> build/bdist.macosx-14.0-arm64/wheel/./socketdev/core +copying build/lib/socketdev/core/api.py -> build/bdist.macosx-14.0-arm64/wheel/./socketdev/core +copying build/lib/socketdev/core/classes.py -> build/bdist.macosx-14.0-arm64/wheel/./socketdev/core +copying build/lib/socketdev/version.py -> build/bdist.macosx-14.0-arm64/wheel/./socketdev +creating build/bdist.macosx-14.0-arm64/wheel/socketdev/fullscans +copying build/lib/socketdev/fullscans/__init__.py -> build/bdist.macosx-14.0-arm64/wheel/./socketdev/fullscans +copying build/lib/socketdev/log.py -> build/bdist.macosx-14.0-arm64/wheel/./socketdev +creating build/bdist.macosx-14.0-arm64/wheel/socketdev/sbom +copying build/lib/socketdev/sbom/__init__.py -> build/bdist.macosx-14.0-arm64/wheel/./socketdev/sbom +creating build/bdist.macosx-14.0-arm64/wheel/socketdev/org +copying build/lib/socketdev/org/__init__.py -> build/bdist.macosx-14.0-arm64/wheel/./socketdev/org +creating build/bdist.macosx-14.0-arm64/wheel/socketdev/dependencies +copying build/lib/socketdev/dependencies/__init__.py -> build/bdist.macosx-14.0-arm64/wheel/./socketdev/dependencies +copying build/lib/socketdev/__init__.py -> build/bdist.macosx-14.0-arm64/wheel/./socketdev +creating build/bdist.macosx-14.0-arm64/wheel/socketdev/utils +copying build/lib/socketdev/utils/__init__.py -> build/bdist.macosx-14.0-arm64/wheel/./socketdev/utils +creating build/bdist.macosx-14.0-arm64/wheel/socketdev/repositories +copying build/lib/socketdev/repositories/__init__.py -> build/bdist.macosx-14.0-arm64/wheel/./socketdev/repositories +creating build/bdist.macosx-14.0-arm64/wheel/socketdev/triage +copying build/lib/socketdev/triage/__init__.py -> build/bdist.macosx-14.0-arm64/wheel/./socketdev/triage +creating build/bdist.macosx-14.0-arm64/wheel/socketdev/openapi +copying build/lib/socketdev/openapi/__init__.py -> build/bdist.macosx-14.0-arm64/wheel/./socketdev/openapi +creating build/bdist.macosx-14.0-arm64/wheel/socketdev/historical +copying build/lib/socketdev/historical/__init__.py -> build/bdist.macosx-14.0-arm64/wheel/./socketdev/historical +copying build/lib/socketdev/exceptions.py -> build/bdist.macosx-14.0-arm64/wheel/./socketdev +creating build/bdist.macosx-14.0-arm64/wheel/socketdev/report +copying build/lib/socketdev/report/__init__.py -> build/bdist.macosx-14.0-arm64/wheel/./socketdev/report +creating build/bdist.macosx-14.0-arm64/wheel/socketdev/quota +copying build/lib/socketdev/quota/__init__.py -> build/bdist.macosx-14.0-arm64/wheel/./socketdev/quota +creating build/bdist.macosx-14.0-arm64/wheel/socketdev/export +copying build/lib/socketdev/export/__init__.py -> build/bdist.macosx-14.0-arm64/wheel/./socketdev/export +creating build/bdist.macosx-14.0-arm64/wheel/socketdev/npm +copying build/lib/socketdev/npm/__init__.py -> build/bdist.macosx-14.0-arm64/wheel/./socketdev/npm +creating build/bdist.macosx-14.0-arm64/wheel/socketdev/purl +copying build/lib/socketdev/purl/__init__.py -> build/bdist.macosx-14.0-arm64/wheel/./socketdev/purl +running install_egg_info +Copying socket_sdk_python.egg-info to build/bdist.macosx-14.0-arm64/wheel/./socket_sdk_python-2.0.15-py3.12.egg-info +running install_scripts +creating build/bdist.macosx-14.0-arm64/wheel/socket_sdk_python-2.0.15.dist-info/WHEEL +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 +adding 'socket_sdk_python-2.0.15.dist-info/licenses/LICENSE' +adding 'socketdev/__init__.py' +adding 'socketdev/exceptions.py' +adding 'socketdev/log.py' +adding 'socketdev/version.py' +adding 'socketdev/core/api.py' +adding 'socketdev/core/classes.py' +adding 'socketdev/core/issues.py' +adding 'socketdev/dependencies/__init__.py' +adding 'socketdev/export/__init__.py' +adding 'socketdev/fullscans/__init__.py' +adding 'socketdev/historical/__init__.py' +adding 'socketdev/npm/__init__.py' +adding 'socketdev/openapi/__init__.py' +adding 'socketdev/org/__init__.py' +adding 'socketdev/purl/__init__.py' +adding 'socketdev/quota/__init__.py' +adding 'socketdev/report/__init__.py' +adding 'socketdev/repos/__init__.py' +adding 'socketdev/repositories/__init__.py' +adding 'socketdev/sbom/__init__.py' +adding 'socketdev/settings/__init__.py' +adding 'socketdev/tools/__init__.py' +adding 'socketdev/triage/__init__.py' +adding 'socketdev/utils/__init__.py' +adding 'socket_sdk_python-2.0.15.dist-info/METADATA' +adding 'socket_sdk_python-2.0.15.dist-info/WHEEL' +adding 'socket_sdk_python-2.0.15.dist-info/top_level.txt' +adding 'socket_sdk_python-2.0.15.dist-info/RECORD' +removing build/bdist.macosx-14.0-arm64/wheel +Successfully built socket_sdk_python-2.0.15.tar.gz and socket_sdk_python-2.0.15-py3-none-any.whl diff --git a/pyproject.toml b/pyproject.toml index 630eb73..e16df1f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,7 @@ [build-system] requires = [ - "setuptools >= 61.0" + "setuptools==68.2.2", + "wheel" ] build-backend = "setuptools.build_meta" @@ -13,7 +14,7 @@ dependencies = [ 'typing-extensions>=4.12.2' ] readme = "README.rst" -license = {file = "LICENSE"} +license = {text = "MIT"} description = "Socket Security Python SDK" keywords = ["socketsecurity", "socket.dev", "sca", "oss", "security", "sdk"] authors = [ From 4757850fcdd55fb5247d65d0f9e7d64c5f1afc1b Mon Sep 17 00:00:00 2001 From: Douglas Coburn Date: Mon, 24 Mar 2025 14:57:30 -0700 Subject: [PATCH 5/6] Removed log file --- output.log | 286 ----------------------------------------------------- 1 file changed, 286 deletions(-) delete mode 100644 output.log diff --git a/output.log b/output.log deleted file mode 100644 index 08cf668..0000000 --- a/output.log +++ /dev/null @@ -1,286 +0,0 @@ -* Creating virtualenv isolated environment... -* Installing packages in isolated environment... (setuptools >= 61.0) -* Getting build dependencies for sdist... -/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 -!! - - ******************************************************************************** - 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). - - By 2026-Feb-18, you need to update your project and remove deprecated calls - or your builds will no longer be supported. - - See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. - ******************************************************************************** - -!! - corresp(dist, value, root_dir) -running egg_info -writing socket_sdk_python.egg-info/PKG-INFO -writing dependency_links to socket_sdk_python.egg-info/dependency_links.txt -writing requirements to socket_sdk_python.egg-info/requires.txt -writing top-level names to socket_sdk_python.egg-info/top_level.txt -reading manifest file 'socket_sdk_python.egg-info/SOURCES.txt' -adding license file 'LICENSE' -writing manifest file 'socket_sdk_python.egg-info/SOURCES.txt' -* Building sdist... -/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 -!! - - ******************************************************************************** - 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). - - By 2026-Feb-18, you need to update your project and remove deprecated calls - or your builds will no longer be supported. - - See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. - ******************************************************************************** - -!! - corresp(dist, value, root_dir) -running sdist -running egg_info -writing socket_sdk_python.egg-info/PKG-INFO -writing dependency_links to socket_sdk_python.egg-info/dependency_links.txt -writing requirements to socket_sdk_python.egg-info/requires.txt -writing top-level names to socket_sdk_python.egg-info/top_level.txt -reading manifest file 'socket_sdk_python.egg-info/SOURCES.txt' -adding license file 'LICENSE' -writing manifest file 'socket_sdk_python.egg-info/SOURCES.txt' -running check -creating socket_sdk_python-2.0.15 -creating socket_sdk_python-2.0.15/socket_sdk_python.egg-info -creating socket_sdk_python-2.0.15/socketdev -creating socket_sdk_python-2.0.15/socketdev/core -creating socket_sdk_python-2.0.15/socketdev/dependencies -creating socket_sdk_python-2.0.15/socketdev/export -creating socket_sdk_python-2.0.15/socketdev/fullscans -creating socket_sdk_python-2.0.15/socketdev/historical -creating socket_sdk_python-2.0.15/socketdev/npm -creating socket_sdk_python-2.0.15/socketdev/openapi -creating socket_sdk_python-2.0.15/socketdev/org -creating socket_sdk_python-2.0.15/socketdev/purl -creating socket_sdk_python-2.0.15/socketdev/quota -creating socket_sdk_python-2.0.15/socketdev/report -creating socket_sdk_python-2.0.15/socketdev/repos -creating socket_sdk_python-2.0.15/socketdev/repositories -creating socket_sdk_python-2.0.15/socketdev/sbom -creating socket_sdk_python-2.0.15/socketdev/settings -creating socket_sdk_python-2.0.15/socketdev/tools -creating socket_sdk_python-2.0.15/socketdev/triage -creating socket_sdk_python-2.0.15/socketdev/utils -copying files to socket_sdk_python-2.0.15... -copying LICENSE -> socket_sdk_python-2.0.15 -copying README.rst -> socket_sdk_python-2.0.15 -copying pyproject.toml -> socket_sdk_python-2.0.15 -copying socket_sdk_python.egg-info/PKG-INFO -> socket_sdk_python-2.0.15/socket_sdk_python.egg-info -copying socket_sdk_python.egg-info/SOURCES.txt -> socket_sdk_python-2.0.15/socket_sdk_python.egg-info -copying socket_sdk_python.egg-info/dependency_links.txt -> socket_sdk_python-2.0.15/socket_sdk_python.egg-info -copying socket_sdk_python.egg-info/requires.txt -> socket_sdk_python-2.0.15/socket_sdk_python.egg-info -copying socket_sdk_python.egg-info/top_level.txt -> socket_sdk_python-2.0.15/socket_sdk_python.egg-info -copying socketdev/__init__.py -> socket_sdk_python-2.0.15/socketdev -copying socketdev/exceptions.py -> socket_sdk_python-2.0.15/socketdev -copying socketdev/log.py -> socket_sdk_python-2.0.15/socketdev -copying socketdev/version.py -> socket_sdk_python-2.0.15/socketdev -copying socketdev/core/api.py -> socket_sdk_python-2.0.15/socketdev/core -copying socketdev/core/classes.py -> socket_sdk_python-2.0.15/socketdev/core -copying socketdev/core/issues.py -> socket_sdk_python-2.0.15/socketdev/core -copying socketdev/dependencies/__init__.py -> socket_sdk_python-2.0.15/socketdev/dependencies -copying socketdev/export/__init__.py -> socket_sdk_python-2.0.15/socketdev/export -copying socketdev/fullscans/__init__.py -> socket_sdk_python-2.0.15/socketdev/fullscans -copying socketdev/historical/__init__.py -> socket_sdk_python-2.0.15/socketdev/historical -copying socketdev/npm/__init__.py -> socket_sdk_python-2.0.15/socketdev/npm -copying socketdev/openapi/__init__.py -> socket_sdk_python-2.0.15/socketdev/openapi -copying socketdev/org/__init__.py -> socket_sdk_python-2.0.15/socketdev/org -copying socketdev/purl/__init__.py -> socket_sdk_python-2.0.15/socketdev/purl -copying socketdev/quota/__init__.py -> socket_sdk_python-2.0.15/socketdev/quota -copying socketdev/report/__init__.py -> socket_sdk_python-2.0.15/socketdev/report -copying socketdev/repos/__init__.py -> socket_sdk_python-2.0.15/socketdev/repos -copying socketdev/repositories/__init__.py -> socket_sdk_python-2.0.15/socketdev/repositories -copying socketdev/sbom/__init__.py -> socket_sdk_python-2.0.15/socketdev/sbom -copying socketdev/settings/__init__.py -> socket_sdk_python-2.0.15/socketdev/settings -copying socketdev/tools/__init__.py -> socket_sdk_python-2.0.15/socketdev/tools -copying socketdev/triage/__init__.py -> socket_sdk_python-2.0.15/socketdev/triage -copying socketdev/utils/__init__.py -> socket_sdk_python-2.0.15/socketdev/utils -copying socket_sdk_python.egg-info/SOURCES.txt -> socket_sdk_python-2.0.15/socket_sdk_python.egg-info -Writing socket_sdk_python-2.0.15/setup.cfg -Creating tar archive -removing 'socket_sdk_python-2.0.15' (and everything under it) -* Building wheel from sdist -* Creating virtualenv isolated environment... -* Installing packages in isolated environment... (setuptools >= 61.0) -* Getting build dependencies for wheel... -/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 -!! - - ******************************************************************************** - 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). - - By 2026-Feb-18, you need to update your project and remove deprecated calls - or your builds will no longer be supported. - - See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. - ******************************************************************************** - -!! - corresp(dist, value, root_dir) -running egg_info -writing socket_sdk_python.egg-info/PKG-INFO -writing dependency_links to socket_sdk_python.egg-info/dependency_links.txt -writing requirements to socket_sdk_python.egg-info/requires.txt -writing top-level names to socket_sdk_python.egg-info/top_level.txt -reading manifest file 'socket_sdk_python.egg-info/SOURCES.txt' -adding license file 'LICENSE' -writing manifest file 'socket_sdk_python.egg-info/SOURCES.txt' -* Building wheel... -/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 -!! - - ******************************************************************************** - 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). - - By 2026-Feb-18, you need to update your project and remove deprecated calls - or your builds will no longer be supported. - - See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. - ******************************************************************************** - -!! - corresp(dist, value, root_dir) -running bdist_wheel -running build -running build_py -creating build/lib/socketdev -copying socketdev/version.py -> build/lib/socketdev -copying socketdev/log.py -> build/lib/socketdev -copying socketdev/__init__.py -> build/lib/socketdev -copying socketdev/exceptions.py -> build/lib/socketdev -creating build/lib/socketdev/settings -copying socketdev/settings/__init__.py -> build/lib/socketdev/settings -creating build/lib/socketdev/repos -copying socketdev/repos/__init__.py -> build/lib/socketdev/repos -creating build/lib/socketdev/tools -copying socketdev/tools/__init__.py -> build/lib/socketdev/tools -creating build/lib/socketdev/core -copying socketdev/core/issues.py -> build/lib/socketdev/core -copying socketdev/core/api.py -> build/lib/socketdev/core -copying socketdev/core/classes.py -> build/lib/socketdev/core -creating build/lib/socketdev/fullscans -copying socketdev/fullscans/__init__.py -> build/lib/socketdev/fullscans -creating build/lib/socketdev/sbom -copying socketdev/sbom/__init__.py -> build/lib/socketdev/sbom -creating build/lib/socketdev/org -copying socketdev/org/__init__.py -> build/lib/socketdev/org -creating build/lib/socketdev/dependencies -copying socketdev/dependencies/__init__.py -> build/lib/socketdev/dependencies -creating build/lib/socketdev/utils -copying socketdev/utils/__init__.py -> build/lib/socketdev/utils -creating build/lib/socketdev/repositories -copying socketdev/repositories/__init__.py -> build/lib/socketdev/repositories -creating build/lib/socketdev/triage -copying socketdev/triage/__init__.py -> build/lib/socketdev/triage -creating build/lib/socketdev/openapi -copying socketdev/openapi/__init__.py -> build/lib/socketdev/openapi -creating build/lib/socketdev/historical -copying socketdev/historical/__init__.py -> build/lib/socketdev/historical -creating build/lib/socketdev/report -copying socketdev/report/__init__.py -> build/lib/socketdev/report -creating build/lib/socketdev/quota -copying socketdev/quota/__init__.py -> build/lib/socketdev/quota -creating build/lib/socketdev/export -copying socketdev/export/__init__.py -> build/lib/socketdev/export -creating build/lib/socketdev/npm -copying socketdev/npm/__init__.py -> build/lib/socketdev/npm -creating build/lib/socketdev/purl -copying socketdev/purl/__init__.py -> build/lib/socketdev/purl -running egg_info -writing socket_sdk_python.egg-info/PKG-INFO -writing dependency_links to socket_sdk_python.egg-info/dependency_links.txt -writing requirements to socket_sdk_python.egg-info/requires.txt -writing top-level names to socket_sdk_python.egg-info/top_level.txt -reading manifest file 'socket_sdk_python.egg-info/SOURCES.txt' -adding license file 'LICENSE' -writing manifest file 'socket_sdk_python.egg-info/SOURCES.txt' -installing to build/bdist.macosx-14.0-arm64/wheel -running install -running install_lib -creating build/bdist.macosx-14.0-arm64/wheel -creating build/bdist.macosx-14.0-arm64/wheel/socketdev -creating build/bdist.macosx-14.0-arm64/wheel/socketdev/settings -copying build/lib/socketdev/settings/__init__.py -> build/bdist.macosx-14.0-arm64/wheel/./socketdev/settings -creating build/bdist.macosx-14.0-arm64/wheel/socketdev/repos -copying build/lib/socketdev/repos/__init__.py -> build/bdist.macosx-14.0-arm64/wheel/./socketdev/repos -creating build/bdist.macosx-14.0-arm64/wheel/socketdev/tools -copying build/lib/socketdev/tools/__init__.py -> build/bdist.macosx-14.0-arm64/wheel/./socketdev/tools -creating build/bdist.macosx-14.0-arm64/wheel/socketdev/core -copying build/lib/socketdev/core/issues.py -> build/bdist.macosx-14.0-arm64/wheel/./socketdev/core -copying build/lib/socketdev/core/api.py -> build/bdist.macosx-14.0-arm64/wheel/./socketdev/core -copying build/lib/socketdev/core/classes.py -> build/bdist.macosx-14.0-arm64/wheel/./socketdev/core -copying build/lib/socketdev/version.py -> build/bdist.macosx-14.0-arm64/wheel/./socketdev -creating build/bdist.macosx-14.0-arm64/wheel/socketdev/fullscans -copying build/lib/socketdev/fullscans/__init__.py -> build/bdist.macosx-14.0-arm64/wheel/./socketdev/fullscans -copying build/lib/socketdev/log.py -> build/bdist.macosx-14.0-arm64/wheel/./socketdev -creating build/bdist.macosx-14.0-arm64/wheel/socketdev/sbom -copying build/lib/socketdev/sbom/__init__.py -> build/bdist.macosx-14.0-arm64/wheel/./socketdev/sbom -creating build/bdist.macosx-14.0-arm64/wheel/socketdev/org -copying build/lib/socketdev/org/__init__.py -> build/bdist.macosx-14.0-arm64/wheel/./socketdev/org -creating build/bdist.macosx-14.0-arm64/wheel/socketdev/dependencies -copying build/lib/socketdev/dependencies/__init__.py -> build/bdist.macosx-14.0-arm64/wheel/./socketdev/dependencies -copying build/lib/socketdev/__init__.py -> build/bdist.macosx-14.0-arm64/wheel/./socketdev -creating build/bdist.macosx-14.0-arm64/wheel/socketdev/utils -copying build/lib/socketdev/utils/__init__.py -> build/bdist.macosx-14.0-arm64/wheel/./socketdev/utils -creating build/bdist.macosx-14.0-arm64/wheel/socketdev/repositories -copying build/lib/socketdev/repositories/__init__.py -> build/bdist.macosx-14.0-arm64/wheel/./socketdev/repositories -creating build/bdist.macosx-14.0-arm64/wheel/socketdev/triage -copying build/lib/socketdev/triage/__init__.py -> build/bdist.macosx-14.0-arm64/wheel/./socketdev/triage -creating build/bdist.macosx-14.0-arm64/wheel/socketdev/openapi -copying build/lib/socketdev/openapi/__init__.py -> build/bdist.macosx-14.0-arm64/wheel/./socketdev/openapi -creating build/bdist.macosx-14.0-arm64/wheel/socketdev/historical -copying build/lib/socketdev/historical/__init__.py -> build/bdist.macosx-14.0-arm64/wheel/./socketdev/historical -copying build/lib/socketdev/exceptions.py -> build/bdist.macosx-14.0-arm64/wheel/./socketdev -creating build/bdist.macosx-14.0-arm64/wheel/socketdev/report -copying build/lib/socketdev/report/__init__.py -> build/bdist.macosx-14.0-arm64/wheel/./socketdev/report -creating build/bdist.macosx-14.0-arm64/wheel/socketdev/quota -copying build/lib/socketdev/quota/__init__.py -> build/bdist.macosx-14.0-arm64/wheel/./socketdev/quota -creating build/bdist.macosx-14.0-arm64/wheel/socketdev/export -copying build/lib/socketdev/export/__init__.py -> build/bdist.macosx-14.0-arm64/wheel/./socketdev/export -creating build/bdist.macosx-14.0-arm64/wheel/socketdev/npm -copying build/lib/socketdev/npm/__init__.py -> build/bdist.macosx-14.0-arm64/wheel/./socketdev/npm -creating build/bdist.macosx-14.0-arm64/wheel/socketdev/purl -copying build/lib/socketdev/purl/__init__.py -> build/bdist.macosx-14.0-arm64/wheel/./socketdev/purl -running install_egg_info -Copying socket_sdk_python.egg-info to build/bdist.macosx-14.0-arm64/wheel/./socket_sdk_python-2.0.15-py3.12.egg-info -running install_scripts -creating build/bdist.macosx-14.0-arm64/wheel/socket_sdk_python-2.0.15.dist-info/WHEEL -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 -adding 'socket_sdk_python-2.0.15.dist-info/licenses/LICENSE' -adding 'socketdev/__init__.py' -adding 'socketdev/exceptions.py' -adding 'socketdev/log.py' -adding 'socketdev/version.py' -adding 'socketdev/core/api.py' -adding 'socketdev/core/classes.py' -adding 'socketdev/core/issues.py' -adding 'socketdev/dependencies/__init__.py' -adding 'socketdev/export/__init__.py' -adding 'socketdev/fullscans/__init__.py' -adding 'socketdev/historical/__init__.py' -adding 'socketdev/npm/__init__.py' -adding 'socketdev/openapi/__init__.py' -adding 'socketdev/org/__init__.py' -adding 'socketdev/purl/__init__.py' -adding 'socketdev/quota/__init__.py' -adding 'socketdev/report/__init__.py' -adding 'socketdev/repos/__init__.py' -adding 'socketdev/repositories/__init__.py' -adding 'socketdev/sbom/__init__.py' -adding 'socketdev/settings/__init__.py' -adding 'socketdev/tools/__init__.py' -adding 'socketdev/triage/__init__.py' -adding 'socketdev/utils/__init__.py' -adding 'socket_sdk_python-2.0.15.dist-info/METADATA' -adding 'socket_sdk_python-2.0.15.dist-info/WHEEL' -adding 'socket_sdk_python-2.0.15.dist-info/top_level.txt' -adding 'socket_sdk_python-2.0.15.dist-info/RECORD' -removing build/bdist.macosx-14.0-arm64/wheel -Successfully built socket_sdk_python-2.0.15.tar.gz and socket_sdk_python-2.0.15-py3-none-any.whl From b6b2ffde180ba1c75cae79a5fede3375ffc5833f Mon Sep 17 00:00:00 2001 From: Douglas Coburn Date: Mon, 24 Mar 2025 15:01:09 -0700 Subject: [PATCH 6/6] Added additional needed permissions for leaving PR comments --- .github/workflows/pr-preview.yml | 2 ++ .github/workflows/release.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/pr-preview.yml b/.github/workflows/pr-preview.yml index 8fc8c1b..d1f8619 100644 --- a/.github/workflows/pr-preview.yml +++ b/.github/workflows/pr-preview.yml @@ -7,6 +7,8 @@ jobs: preview: runs-on: ubuntu-latest permissions: + pull-requests: write + issues: write id-token: write contents: read steps: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4fe2fe3..2793cc0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,6 +10,8 @@ jobs: permissions: id-token: write contents: read + pull-requests: write + issues: write steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5