Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -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
Binary file modified dist/syncsketch-1.0.12.0-py3-none-any.whl
Binary file not shown.
Binary file modified dist/syncsketch-1.0.12.0.tar.gz
Binary file not shown.
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
7 changes: 2 additions & 5 deletions syncsketch.egg-info/PKG-INFO
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
7 changes: 1 addition & 6 deletions syncsketch.egg-info/requires.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Loading