pyzotero 1.5.20__tar.gz → 1.5.24__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. {pyzotero-1.5.20 → pyzotero-1.5.24}/.github/workflows/tests.yml +9 -11
  2. {pyzotero-1.5.20/src/pyzotero.egg-info → pyzotero-1.5.24}/PKG-INFO +1 -1
  3. {pyzotero-1.5.20 → pyzotero-1.5.24}/src/_version.py +2 -2
  4. {pyzotero-1.5.20 → pyzotero-1.5.24}/src/pyzotero/zotero.py +4 -0
  5. {pyzotero-1.5.20 → pyzotero-1.5.24/src/pyzotero.egg-info}/PKG-INFO +1 -1
  6. {pyzotero-1.5.20 → pyzotero-1.5.24}/.coveragerc +0 -0
  7. {pyzotero-1.5.20 → pyzotero-1.5.24}/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
  8. {pyzotero-1.5.20 → pyzotero-1.5.24}/.github/ISSUE_TEMPLATE/usage_question.md +0 -0
  9. {pyzotero-1.5.20 → pyzotero-1.5.24}/.github/dependabot.yml +0 -0
  10. {pyzotero-1.5.20 → pyzotero-1.5.24}/.github/pull_request_template.md +0 -0
  11. {pyzotero-1.5.20 → pyzotero-1.5.24}/.gitignore +0 -0
  12. {pyzotero-1.5.20 → pyzotero-1.5.24}/.readthedocs.yaml +0 -0
  13. {pyzotero-1.5.20 → pyzotero-1.5.24}/AUTHORS +0 -0
  14. {pyzotero-1.5.20 → pyzotero-1.5.24}/CITATION.cff +0 -0
  15. {pyzotero-1.5.20 → pyzotero-1.5.24}/CONTRIBUTING.md +0 -0
  16. {pyzotero-1.5.20 → pyzotero-1.5.24}/CONTRIBUTORS.md +0 -0
  17. {pyzotero-1.5.20 → pyzotero-1.5.24}/LICENSE.md +0 -0
  18. {pyzotero-1.5.20 → pyzotero-1.5.24}/README.md +0 -0
  19. {pyzotero-1.5.20 → pyzotero-1.5.24}/__init__.py +0 -0
  20. {pyzotero-1.5.20 → pyzotero-1.5.24}/doc/Makefile +0 -0
  21. {pyzotero-1.5.20 → pyzotero-1.5.24}/doc/_templates/layout.html +0 -0
  22. {pyzotero-1.5.20 → pyzotero-1.5.24}/doc/cat.png +0 -0
  23. {pyzotero-1.5.20 → pyzotero-1.5.24}/doc/conf.py +0 -0
  24. {pyzotero-1.5.20 → pyzotero-1.5.24}/doc/index.rst +0 -0
  25. {pyzotero-1.5.20 → pyzotero-1.5.24}/dump_contributors.py +0 -0
  26. {pyzotero-1.5.20 → pyzotero-1.5.24}/pyproject.toml +0 -0
  27. {pyzotero-1.5.20 → pyzotero-1.5.24}/setup.cfg +0 -0
  28. {pyzotero-1.5.20 → pyzotero-1.5.24}/setup.py +0 -0
  29. {pyzotero-1.5.20 → pyzotero-1.5.24}/src/pyzotero/__init__.py +0 -0
  30. {pyzotero-1.5.20 → pyzotero-1.5.24}/src/pyzotero/zotero_errors.py +0 -0
  31. {pyzotero-1.5.20 → pyzotero-1.5.24}/src/pyzotero.egg-info/SOURCES.txt +0 -0
  32. {pyzotero-1.5.20 → pyzotero-1.5.24}/src/pyzotero.egg-info/dependency_links.txt +0 -0
  33. {pyzotero-1.5.20 → pyzotero-1.5.24}/src/pyzotero.egg-info/requires.txt +0 -0
  34. {pyzotero-1.5.20 → pyzotero-1.5.24}/src/pyzotero.egg-info/top_level.txt +0 -0
  35. {pyzotero-1.5.20 → pyzotero-1.5.24}/tests/api_responses/__init__.py +0 -0
  36. {pyzotero-1.5.20 → pyzotero-1.5.24}/tests/api_responses/attachments_doc.json +0 -0
  37. {pyzotero-1.5.20 → pyzotero-1.5.24}/tests/api_responses/citation_doc.xml +0 -0
  38. {pyzotero-1.5.20 → pyzotero-1.5.24}/tests/api_responses/collection_doc.json +0 -0
  39. {pyzotero-1.5.20 → pyzotero-1.5.24}/tests/api_responses/collection_tags.json +0 -0
  40. {pyzotero-1.5.20 → pyzotero-1.5.24}/tests/api_responses/collection_versions.json +0 -0
  41. {pyzotero-1.5.20 → pyzotero-1.5.24}/tests/api_responses/collections_doc.json +0 -0
  42. {pyzotero-1.5.20 → pyzotero-1.5.24}/tests/api_responses/creation_doc.json +0 -0
  43. {pyzotero-1.5.20 → pyzotero-1.5.24}/tests/api_responses/groups_doc.json +0 -0
  44. {pyzotero-1.5.20 → pyzotero-1.5.24}/tests/api_responses/item_doc.json +0 -0
  45. {pyzotero-1.5.20 → pyzotero-1.5.24}/tests/api_responses/item_fields.json +0 -0
  46. {pyzotero-1.5.20 → pyzotero-1.5.24}/tests/api_responses/item_file.pdf +0 -0
  47. {pyzotero-1.5.20 → pyzotero-1.5.24}/tests/api_responses/item_template.json +0 -0
  48. {pyzotero-1.5.20 → pyzotero-1.5.24}/tests/api_responses/item_types.json +0 -0
  49. {pyzotero-1.5.20 → pyzotero-1.5.24}/tests/api_responses/item_versions.json +0 -0
  50. {pyzotero-1.5.20 → pyzotero-1.5.24}/tests/api_responses/items_doc.json +0 -0
  51. {pyzotero-1.5.20 → pyzotero-1.5.24}/tests/api_responses/keys_doc.txt +0 -0
  52. {pyzotero-1.5.20 → pyzotero-1.5.24}/tests/api_responses/tags_doc.json +0 -0
  53. {pyzotero-1.5.20 → pyzotero-1.5.24}/tests/test_zotero.py +0 -0
@@ -17,7 +17,7 @@ jobs:
17
17
  submodules: false # Optional, use if you have submodules
18
18
  name: Check out repo
19
19
  - name: Set up Python ${{ matrix.python-version }}
20
- uses: actions/setup-python@v3
20
+ uses: actions/setup-python@v4
21
21
  with:
22
22
  python-version: ${{ matrix.python-version }}
23
23
  - name: Install dependencies
@@ -33,10 +33,10 @@ jobs:
33
33
  python -m pip install --upgrade pip
34
34
  pip wheel . -w dist --no-deps --use-pep517
35
35
 
36
- - uses: actions/upload-artifact@v3
36
+ - uses: actions/upload-artifact@v4
37
37
  name: Upload wheel as artifact
38
38
  with:
39
- name: wheels
39
+ name: wheels-${{ strategy.job-index }}
40
40
  path: |
41
41
  ./dist/*.whl
42
42
 
@@ -52,7 +52,7 @@ jobs:
52
52
  - name: Build SDist
53
53
  run: pipx run build --sdist
54
54
 
55
- - uses: actions/upload-artifact@v3
55
+ - uses: actions/upload-artifact@v4
56
56
  with:
57
57
  path: dist/*.tar.gz
58
58
 
@@ -72,21 +72,19 @@ jobs:
72
72
 
73
73
  - name: Download compressed artifacts
74
74
  id: download
75
- uses: actions/download-artifact@v3
75
+ uses: actions/download-artifact@v4
76
76
  with:
77
77
  path: ./artifacts
78
-
79
- - name: 'List downloaded files'
80
- run: ls ${{ steps.download.outputs.download-path }}/**/*.*
78
+ merge-multiple: true
81
79
 
82
80
  - name: Create release and upload wheels
83
81
  uses: ncipollo/release-action@v1
84
82
  with:
85
83
  allowUpdates: true
86
- 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"
84
+ 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"
87
85
  token: ${{ secrets.GITHUB_TOKEN }}
88
86
 
89
87
  - name: PyPI Publish
90
- uses: pypa/gh-action-pypi-publish@v1.9.0
88
+ uses: pypa/gh-action-pypi-publish@v1.10.1
91
89
  with:
92
- packages-dir: ${{ steps.download.outputs.download-path }}/**/
90
+ packages-dir: ${{ steps.download.outputs.download-path }}
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyzotero
3
- Version: 1.5.20
3
+ Version: 1.5.24
4
4
  Summary: Python wrapper for the Zotero API
5
5
  Author-email: Stephan Hügel <urschrei@gmail.com>
6
6
  Project-URL: Repository, https://github.com/urschrei/pyzotero
@@ -12,5 +12,5 @@ __version__: str
12
12
  __version_tuple__: VERSION_TUPLE
13
13
  version_tuple: VERSION_TUPLE
14
14
 
15
- __version__ = version = '1.5.20'
16
- __version_tuple__ = version_tuple = (1, 5, 20)
15
+ __version__ = version = '1.5.24'
16
+ __version_tuple__ = version_tuple = (1, 5, 24)
@@ -393,6 +393,10 @@ class Zotero:
393
393
  self.self_link = request
394
394
  # ensure that we wait if there's an active backoff
395
395
  self._check_backoff()
396
+ if params:
397
+ params["locale"] = self.locale
398
+ if not params:
399
+ params = {"locale": self.locale}
396
400
  self.request = requests.get(
397
401
  url=full_url, headers=self.default_headers(), params=params
398
402
  )
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyzotero
3
- Version: 1.5.20
3
+ Version: 1.5.24
4
4
  Summary: Python wrapper for the Zotero API
5
5
  Author-email: Stephan Hügel <urschrei@gmail.com>
6
6
  Project-URL: Repository, https://github.com/urschrei/pyzotero
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes