diff --git a/.github/workflows/pr-preview.yml b/.github/workflows/pr-preview.yml index ccb18cc..d1f8619 100644 --- a/.github/workflows/pr-preview.yml +++ b/.github/workflows/pr-preview.yml @@ -6,6 +6,11 @@ on: jobs: preview: runs-on: ubuntu-latest + permissions: + pull-requests: write + issues: write + id-token: write + contents: read steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 @@ -61,7 +66,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 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7d5b141..2793cc0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -7,6 +7,11 @@ on: jobs: release: runs-on: ubuntu-latest + permissions: + id-token: write + contents: read + pull-requests: write + issues: write steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 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/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 = [ 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"