Skip to content

Commit ab9f5cf

Browse files
authored
Refresh Python SDK dependencies
Prepare pytransloadit 1.0.4 with refreshed dependencies, Python 3.9-compatible tooling, and release-ready changelog/version metadata.
1 parent 4c84387 commit ab9f5cf

12 files changed

Lines changed: 2392 additions & 949 deletions

File tree

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
### 1.0.4 / 2026-05-20 ###
2+
* Refreshed locked runtime and development dependencies, including `aiohttp` 3.13.5, `idna` 3.15, `pygments` 2.20.0, Python-version-specific `requests` updates, and `tuspy` 1.1.0.
3+
* Updated development tooling to Python 3.9-compatible majors: `pytest` 8.4, `pytest-cov` 7.1, `Sphinx` 7.4, and `sphinx-autobuild` 2024.10.
4+
* Kept SDK runtime support at Python 3.9+ to match package metadata, README, and CI, and held back newer tooling majors that require a higher Python floor.
5+
* Removed obsolete compatibility and documentation tooling from the dependency surface, including `six`, `livereload`, and `tornado`.
6+
17
### 1.0.3/ 2025-28-10 ###
28
* Added a Docker-based test harness (`scripts/test-in-docker.sh`) that mirrors our GitHub Actions matrix locally, including optional Smart CDN parity checks via the official Transloadit CLI.
39
* Introduced an opt-in end-to-end image resize test (`tests/test_e2e_upload.py`) plus supporting `chameleon.jpg` fixture; enable by setting `PYTHON_SDK_E2E=1` along with `TRANSLOADIT_KEY`/`TRANSLOADIT_SECRET`.

docs/source/conf.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def __getattr__(cls, name):
8181
#
8282
# This is also used if you do content translation via gettext catalogs.
8383
# Usually you set "language" from the command line for these cases.
84-
language = None
84+
language = 'en'
8585

8686
# List of patterns, relative to source directory, that match files and
8787
# directories to ignore when looking for source files.
@@ -111,7 +111,7 @@ def __getattr__(cls, name):
111111
# Add any paths that contain custom static files (such as style sheets) here,
112112
# relative to this directory. They are copied after the builtin static files,
113113
# so a file named "default.css" will overwrite the builtin "default.css".
114-
html_static_path = ['_static']
114+
html_static_path = []
115115

116116
# Custom sidebar templates, must be a dictionary that maps document names
117117
# to template names.
@@ -186,4 +186,3 @@ def __getattr__(cls, name):
186186
]
187187

188188

189-

docs/source/requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
pypandoc==1.4
2-
Sphinx==1.6.3
1+
pypandoc==1.17
2+
Sphinx==7.4.7

poetry.lock

Lines changed: 2365 additions & 928 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "pytransloadit"
3-
version = "1.0.3"
3+
version = "1.0.4"
44
description = "A Python Integration for Transloadit's file uploading and encoding service."
55
authors = ["Ifedapo Olarewaju"]
66
maintainers = ["Florian Kuenzig", "Arnaud Limbourg"]
@@ -32,14 +32,14 @@ requests = "^2.30.0"
3232
tuspy = "^1.0.0"
3333

3434
[tool.poetry.group.dev.dependencies]
35-
pytest = "^7.3.1"
35+
pytest = "^8.4.2"
3636
mock = "^5.0.2"
3737
coverage = "^7.2.5"
38-
pytest-cov = "^4.0.0"
38+
pytest-cov = "^7.1.0"
3939
requests-mock = "^1.10.0"
4040
tox = "^4.7.0"
41-
sphinx = "^4.5.0"
42-
sphinx-autobuild = "^2021.3.14"
41+
sphinx = "^7.4.7"
42+
sphinx-autobuild = "^2024.10.3"
4343

4444
[build-system]
4545
requires = ["poetry-core"]

scripts/notify-registry.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ verify_versions_consistent() {
132132
err "Version mismatch: tests/test_request.py expects $header_version but pyproject.toml has $version"
133133
exit 1
134134
fi
135-
if ! grep -q "### ${version}/" CHANGELOG.md; then
135+
if ! grep -Eq "^### ${version}([[:space:]/]|$)" CHANGELOG.md; then
136136
err "CHANGELOG.md does not contain an entry for ${version}"
137137
exit 1
138138
fi

tests/test_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
import platform
66
import subprocess
77
import time
8+
import urllib.parse
89

910
import requests_mock
10-
from six.moves import urllib
1111

1212
from . import request_body_matcher
1313
from transloadit.client import Transloadit

tests/test_request.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import unittest
2+
import urllib.parse
23

34
import requests_mock
4-
from six.moves import urllib
55

66
from . import request_body_matcher
77
from transloadit.client import Transloadit
@@ -19,7 +19,7 @@ def test_get(self, mock):
1919
mock.get(
2020
url,
2121
text='{"ok": "it works"}',
22-
request_headers={"Transloadit-Client": "python-sdk:1.0.3"},
22+
request_headers={"Transloadit-Client": "python-sdk:1.0.4"},
2323
)
2424

2525
response = self.request.get("/foo")

tests/test_template.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import unittest
2+
import urllib.parse
23

34
import requests_mock
4-
from six.moves import urllib
55

66
from . import request_body_matcher
77
from transloadit.client import Transloadit

transloadit/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "1.0.3"
1+
__version__ = "1.0.4"

0 commit comments

Comments
 (0)