Pyzotero: a Python client for the Zotero API pyzotero.readthedocs.io
zotero

Merge pull request #237 from urschrei/shugel/push-pnvqvvsymoqq

Fix PyPI publishing by excluding test artifacts from release

authored by urschrei.eurosky.social and committed by

GitHub 3a7ca8c6 6c8029c1

+12 -6
+10 -4
.github/workflows/tests.yml
··· 114 114 steps: 115 115 - uses: actions/checkout@v4 116 116 117 - - name: Download compressed artifacts 118 - id: download 117 + - name: Download wheel artifacts 119 118 uses: actions/download-artifact@v4 120 119 with: 120 + pattern: wheels-* 121 121 path: ./artifacts 122 122 merge-multiple: true 123 123 124 + - name: Download sdist artifact 125 + uses: actions/download-artifact@v4 126 + with: 127 + name: sdist 128 + path: ./artifacts 129 + 124 130 - name: Create release and upload wheels 125 131 uses: ncipollo/release-action@v1 126 132 with: 127 133 allowUpdates: true 128 - artifacts: "${{ steps.download.outputs.download-path }}/*.whl,${{ steps.download.outputs.download-path }}/*.gz,${{ steps.download.outputs.download-path }}/*.so,${{ steps.download.outputs.download-path }}/*.dylib,${{ steps.download.outputs.download-path }}/*.lib,${{ steps.download.outputs.download-path }}/*.dll" 134 + artifacts: "./artifacts/*.whl,./artifacts/*.gz" 129 135 token: ${{ secrets.GITHUB_TOKEN }} 130 136 131 137 - name: PyPI Publish 132 138 uses: pypa/gh-action-pypi-publish@release/v1 133 139 with: 134 - packages-dir: ${{ steps.download.outputs.download-path }} 140 + packages-dir: ./artifacts
+1 -1
pyproject.toml
··· 1 1 [project] 2 2 name = "pyzotero" 3 - version = "1.6.12" 3 + version = "1.6.13" 4 4 description = "Python wrapper for the Zotero API" 5 5 readme = "README.md" 6 6 requires-python = ">=3.9"
+1 -1
uv.lock
··· 753 753 754 754 [[package]] 755 755 name = "pyzotero" 756 - version = "1.6.12" 756 + version = "1.6.13" 757 757 source = { editable = "." } 758 758 dependencies = [ 759 759 { name = "bibtexparser" },