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.
- {pyzotero-1.5.20 → pyzotero-1.5.24}/.github/workflows/tests.yml +9 -11
- {pyzotero-1.5.20/src/pyzotero.egg-info → pyzotero-1.5.24}/PKG-INFO +1 -1
- {pyzotero-1.5.20 → pyzotero-1.5.24}/src/_version.py +2 -2
- {pyzotero-1.5.20 → pyzotero-1.5.24}/src/pyzotero/zotero.py +4 -0
- {pyzotero-1.5.20 → pyzotero-1.5.24/src/pyzotero.egg-info}/PKG-INFO +1 -1
- {pyzotero-1.5.20 → pyzotero-1.5.24}/.coveragerc +0 -0
- {pyzotero-1.5.20 → pyzotero-1.5.24}/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
- {pyzotero-1.5.20 → pyzotero-1.5.24}/.github/ISSUE_TEMPLATE/usage_question.md +0 -0
- {pyzotero-1.5.20 → pyzotero-1.5.24}/.github/dependabot.yml +0 -0
- {pyzotero-1.5.20 → pyzotero-1.5.24}/.github/pull_request_template.md +0 -0
- {pyzotero-1.5.20 → pyzotero-1.5.24}/.gitignore +0 -0
- {pyzotero-1.5.20 → pyzotero-1.5.24}/.readthedocs.yaml +0 -0
- {pyzotero-1.5.20 → pyzotero-1.5.24}/AUTHORS +0 -0
- {pyzotero-1.5.20 → pyzotero-1.5.24}/CITATION.cff +0 -0
- {pyzotero-1.5.20 → pyzotero-1.5.24}/CONTRIBUTING.md +0 -0
- {pyzotero-1.5.20 → pyzotero-1.5.24}/CONTRIBUTORS.md +0 -0
- {pyzotero-1.5.20 → pyzotero-1.5.24}/LICENSE.md +0 -0
- {pyzotero-1.5.20 → pyzotero-1.5.24}/README.md +0 -0
- {pyzotero-1.5.20 → pyzotero-1.5.24}/__init__.py +0 -0
- {pyzotero-1.5.20 → pyzotero-1.5.24}/doc/Makefile +0 -0
- {pyzotero-1.5.20 → pyzotero-1.5.24}/doc/_templates/layout.html +0 -0
- {pyzotero-1.5.20 → pyzotero-1.5.24}/doc/cat.png +0 -0
- {pyzotero-1.5.20 → pyzotero-1.5.24}/doc/conf.py +0 -0
- {pyzotero-1.5.20 → pyzotero-1.5.24}/doc/index.rst +0 -0
- {pyzotero-1.5.20 → pyzotero-1.5.24}/dump_contributors.py +0 -0
- {pyzotero-1.5.20 → pyzotero-1.5.24}/pyproject.toml +0 -0
- {pyzotero-1.5.20 → pyzotero-1.5.24}/setup.cfg +0 -0
- {pyzotero-1.5.20 → pyzotero-1.5.24}/setup.py +0 -0
- {pyzotero-1.5.20 → pyzotero-1.5.24}/src/pyzotero/__init__.py +0 -0
- {pyzotero-1.5.20 → pyzotero-1.5.24}/src/pyzotero/zotero_errors.py +0 -0
- {pyzotero-1.5.20 → pyzotero-1.5.24}/src/pyzotero.egg-info/SOURCES.txt +0 -0
- {pyzotero-1.5.20 → pyzotero-1.5.24}/src/pyzotero.egg-info/dependency_links.txt +0 -0
- {pyzotero-1.5.20 → pyzotero-1.5.24}/src/pyzotero.egg-info/requires.txt +0 -0
- {pyzotero-1.5.20 → pyzotero-1.5.24}/src/pyzotero.egg-info/top_level.txt +0 -0
- {pyzotero-1.5.20 → pyzotero-1.5.24}/tests/api_responses/__init__.py +0 -0
- {pyzotero-1.5.20 → pyzotero-1.5.24}/tests/api_responses/attachments_doc.json +0 -0
- {pyzotero-1.5.20 → pyzotero-1.5.24}/tests/api_responses/citation_doc.xml +0 -0
- {pyzotero-1.5.20 → pyzotero-1.5.24}/tests/api_responses/collection_doc.json +0 -0
- {pyzotero-1.5.20 → pyzotero-1.5.24}/tests/api_responses/collection_tags.json +0 -0
- {pyzotero-1.5.20 → pyzotero-1.5.24}/tests/api_responses/collection_versions.json +0 -0
- {pyzotero-1.5.20 → pyzotero-1.5.24}/tests/api_responses/collections_doc.json +0 -0
- {pyzotero-1.5.20 → pyzotero-1.5.24}/tests/api_responses/creation_doc.json +0 -0
- {pyzotero-1.5.20 → pyzotero-1.5.24}/tests/api_responses/groups_doc.json +0 -0
- {pyzotero-1.5.20 → pyzotero-1.5.24}/tests/api_responses/item_doc.json +0 -0
- {pyzotero-1.5.20 → pyzotero-1.5.24}/tests/api_responses/item_fields.json +0 -0
- {pyzotero-1.5.20 → pyzotero-1.5.24}/tests/api_responses/item_file.pdf +0 -0
- {pyzotero-1.5.20 → pyzotero-1.5.24}/tests/api_responses/item_template.json +0 -0
- {pyzotero-1.5.20 → pyzotero-1.5.24}/tests/api_responses/item_types.json +0 -0
- {pyzotero-1.5.20 → pyzotero-1.5.24}/tests/api_responses/item_versions.json +0 -0
- {pyzotero-1.5.20 → pyzotero-1.5.24}/tests/api_responses/items_doc.json +0 -0
- {pyzotero-1.5.20 → pyzotero-1.5.24}/tests/api_responses/keys_doc.txt +0 -0
- {pyzotero-1.5.20 → pyzotero-1.5.24}/tests/api_responses/tags_doc.json +0 -0
- {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@
|
|
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@
|
|
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@
|
|
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@
|
|
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 }}
|
|
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.
|
|
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 }}
|
|
@@ -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
|
)
|
|
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
|
|
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
|
|
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
|