diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml new file mode 100644 index 0000000..d00bac0 --- /dev/null +++ b/.github/workflows/publish.yml @@ -0,0 +1,40 @@ +name: publish + +on: + release: + types: [published] + +permissions: + id-token: write + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 + with: + python-version: "3.x" + - name: Install build dependencies + run: pip install build + - name: Build sdist and wheel + run: python -m build + - uses: actions/upload-artifact@v4 + with: + name: dist + path: dist/ + + publish: + needs: build + runs-on: ubuntu-latest + environment: + name: pypi + url: https://pypi.org/p/syncsketch + permissions: + id-token: write + steps: + - uses: actions/download-artifact@v4 + with: + name: dist + path: dist/ + - uses: pypa/gh-action-pypi-publish@release/v1 diff --git a/dist/syncsketch-1.0.12.0-py3-none-any.whl b/dist/syncsketch-1.0.12.0-py3-none-any.whl index 3100d1e..dcd2d6f 100644 Binary files a/dist/syncsketch-1.0.12.0-py3-none-any.whl and b/dist/syncsketch-1.0.12.0-py3-none-any.whl differ diff --git a/dist/syncsketch-1.0.12.0.tar.gz b/dist/syncsketch-1.0.12.0.tar.gz index 34b0f5d..bb23c38 100644 Binary files a/dist/syncsketch-1.0.12.0.tar.gz and b/dist/syncsketch-1.0.12.0.tar.gz differ diff --git a/setup.py b/setup.py index a25354a..ee26e3e 100644 --- a/setup.py +++ b/setup.py @@ -12,8 +12,7 @@ name="syncsketch", version="1.0.12.0", description="SyncSketch Python API", - author="Philip Floetotto", - author_email="phil@syncsketch.com", + author_email="support@syncsketch.com", classifiers=[ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", diff --git a/syncsketch.egg-info/PKG-INFO b/syncsketch.egg-info/PKG-INFO index 4a2507f..69d6fd8 100644 --- a/syncsketch.egg-info/PKG-INFO +++ b/syncsketch.egg-info/PKG-INFO @@ -3,8 +3,7 @@ Name: syncsketch Version: 1.0.12.0 Summary: SyncSketch Python API Home-page: https://github.com/syncsketch/python-api -Author: Philip Floetotto -Author-email: phil@syncsketch.com +Author-email: support@syncsketch.com License: BSD-3-Clause Classifier: Development Status :: 5 - Production/Stable Classifier: Intended Audience :: Developers @@ -28,11 +27,9 @@ Requires-Dist: requests>=2.20.0; python_version >= "3.7" and python_version < "3 Requires-Dist: requests>=2.32.0; python_version >= "3.9" Requires-Dist: urllib3>=2.6.3; python_version >= "3.9" Provides-Extra: test -Requires-Dist: pytest<9.0,>=7.0; python_version < "3.9" and extra == "test" -Requires-Dist: pytest<10.0,>=9.0.3; python_version >= "3.9" and extra == "test" +Requires-Dist: pytest<10.0,>=7.0; extra == "test" Requires-Dist: pytest-cov>=4.0; extra == "test" Requires-Dist: responses>=0.20.0; extra == "test" -Dynamic: author Dynamic: author-email Dynamic: classifier Dynamic: description diff --git a/syncsketch.egg-info/requires.txt b/syncsketch.egg-info/requires.txt index 885fa3b..20fe0f8 100644 --- a/syncsketch.egg-info/requires.txt +++ b/syncsketch.egg-info/requires.txt @@ -10,11 +10,6 @@ requests>=2.32.0 urllib3>=2.6.3 [test] +pytest<10.0,>=7.0 pytest-cov>=4.0 responses>=0.20.0 - -[test:python_version < "3.9"] -pytest<9.0,>=7.0 - -[test:python_version >= "3.9"] -pytest<10.0,>=9.0.3