Skip to content

Commit a124bcd

Browse files
chore: updating supported python versions (#29)
* chore: updating supported python versions * chore: updating tox version * chore: dropping support for python 3.7 * chore: dropping support for python 3.8 as well * chore: updating package version * Updating version file, version and tests * Update pyproject.toml * Updating readme and changelog --------- Co-authored-by: Ifedapo .A. Olarewaju <ifedapoolarewaju@gmail.com>
1 parent faf225b commit a124bcd

8 files changed

Lines changed: 363 additions & 427 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
strategy:
99
matrix:
1010
os: [ubuntu-latest, windows-latest]
11-
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
11+
python-version: ["3.9", "3.10", "3.11", "3.12"]
1212

1313
steps:
1414
- uses: actions/checkout@v3

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ ENV/
103103

104104
# Code editor files
105105
.vscode/
106+
.idea/
106107

107108
# osx
108109
.DS_Store

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
### 1.0.0/ 2024-12-07 ###
2+
3+
* Drop Python versions before 3.9 as they are unsupported
4+
* Updating packages versions.
5+
16
### 0.2.2/ 2024-10-04 ###
27
- Added `sha_384` as hash algorithm for the signature authentication.
38
- Drop Python 3.6 from CI. It has been unsupported since December 2021 and github actions runner don't support anymore (https://github.com/actions/setup-python/issues/544)

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ A **Python** Integration for [Transloadit](https://transloadit.com)'s file uploa
1010

1111
This is a **Python** SDK to make it easy to talk to the [Transloadit](https://transloadit.com) REST API.
1212

13-
Only Python 3.7+ versions are supported.
13+
Only Python 3.9+ versions are supported.
1414

1515
## Install
1616

poetry.lock

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

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "pytransloadit"
3-
version = "0.2.2"
3+
version = "1.0.0"
44
description = "A Python Integration for Transloadit’s file uploading and encoding service."
55
authors = ["Ifedapo Olarewaju"]
66
maintainers = ["Florian Kuenzig", "Arnaud Limbourg"]
@@ -27,7 +27,7 @@ packages = [
2727
]
2828

2929
[tool.poetry.dependencies]
30-
python = ">=3.7,<3.12"
30+
python = ">=3.9,<3.13"
3131
requests = "^2.30.0"
3232
tuspy = "^1.0.0"
3333

@@ -37,7 +37,7 @@ mock = "^5.0.2"
3737
coverage = "^7.2.5"
3838
pytest-cov = "^4.0.0"
3939
requests-mock = "^1.10.0"
40-
tox = "^4.5.1"
40+
tox = "^4.7.0"
4141
sphinx = "^4.5.0"
4242
sphinx-autobuild = "^2021.3.14"
4343

tests/test_request.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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:0.2.1"},
22+
request_headers={"Transloadit-Client": "python-sdk:1.0.0"},
2323
)
2424

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

transloadit/__init__.py

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

0 commit comments

Comments
 (0)