Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
python-version: ["3.9", "3.10", "3.11", "3.12"]

steps:
- uses: actions/checkout@v3
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ ENV/

# Code editor files
.vscode/
.idea/

# osx
.DS_Store
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
### 1.0.0/ 2024-12-07 ###

* Drop Python versions before 3.9 as they are unsupported
* Updating packages versions.

### 0.2.2/ 2024-10-04 ###
- Added `sha_384` as hash algorithm for the signature authentication.
- 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)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ A **Python** Integration for [Transloadit](https://transloadit.com)'s file uploa

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

Only Python 3.7+ versions are supported.
Only Python 3.9+ versions are supported.

## Install

Expand Down
770 changes: 350 additions & 420 deletions poetry.lock

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "pytransloadit"
version = "0.2.2"
version = "1.0.0"
description = "A Python Integration for Transloadit’s file uploading and encoding service."
authors = ["Ifedapo Olarewaju"]
maintainers = ["Florian Kuenzig", "Arnaud Limbourg"]
Expand All @@ -27,7 +27,7 @@ packages = [
]

[tool.poetry.dependencies]
python = ">=3.7,<3.12"
python = ">=3.9,<3.13"
requests = "^2.30.0"
tuspy = "^1.0.0"

Expand All @@ -37,7 +37,7 @@ mock = "^5.0.2"
coverage = "^7.2.5"
pytest-cov = "^4.0.0"
requests-mock = "^1.10.0"
tox = "^4.5.1"
tox = "^4.7.0"
sphinx = "^4.5.0"
sphinx-autobuild = "^2021.3.14"

Expand Down
2 changes: 1 addition & 1 deletion tests/test_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def test_get(self, mock):
mock.get(
url,
text='{"ok": "it works"}',
request_headers={"Transloadit-Client": "python-sdk:0.2.1"},
request_headers={"Transloadit-Client": "python-sdk:1.0.0"},
)

response = self.request.get("/foo")
Expand Down
2 changes: 1 addition & 1 deletion transloadit/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.2.1"
__version__ = "1.0.0"