Skip to content

Commit e77322d

Browse files
Bump versions
1 parent fe91605 commit e77322d

File tree

6 files changed

+34
-38
lines changed

6 files changed

+34
-38
lines changed

.travis.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,28 +4,28 @@ matrix:
44
include:
55
- python: 2.7
66
env: TOXENV=py27-core
7-
- python: 3.7
8-
env: TOXENV=py37-core
9-
- python: 3.8
10-
env: TOXENV=py38-core
117
- python: 3.9
128
env: TOXENV=py39-core
139
- python: 3.10
1410
env: TOXENV=py310-core
1511
- python: 3.11
1612
env: TOXENV=py311-core
13+
- python: 3.12
14+
env: TOXENV=py312-core
15+
- python: 3.13
16+
env: TOXENV=py313-core
1717
- python: 2.7
1818
env: TOXENV=py27-django111
19-
- python: 3.7
20-
env: TOXENV=py37-django22
2119
- python: 3.9
2220
env: TOXENV=py39-django32
2321
- python: 3.10
24-
env: TOXENV=py310-django40
25-
- python: 3.10
26-
env: TOXENV=py310-django41
22+
env: TOXENV=py310-django42
2723
- python: 3.11
28-
env: TOXENV=py311-django41
24+
env: TOXENV=py311-django42
25+
- python: 3.12
26+
env: TOXENV=py312-django50
27+
- python: 3.13
28+
env: TOXENV=py313-django51
2929
install:
3030
- pip install tox pytest
3131

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,12 @@ For the complete documentation, see the [Python SDK Guide](https://cloudinary.co
4141
## Version Support
4242

4343
| SDK Version | Python 2.7 | Python 3.x |
44-
| ----------- | ---------- | ---------- |
44+
|-------------|------------|------------|
4545
| 1.x |||
4646

47-
| SDK Version | Django 1.11 | Django 2.x | Django 3.x | Django 4.x |
48-
| ----------- | ----------- | ---------- | ---------- | ---------- |
49-
| 1.x |||||
47+
| SDK Version | Django 1.11 | Django 2.x | Django 3.x | Django 4.x | Django 5.x |
48+
|-------------|-------------|------------|------------|------------|------------|
49+
| 1.x ||||||
5050

5151

5252
## Installation

pyproject.toml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,25 +12,22 @@ classifiers = [
1212
"Environment :: Web Environment",
1313
"Framework :: Django",
1414
"Framework :: Django :: 1.11",
15-
"Framework :: Django :: 2.0",
16-
"Framework :: Django :: 2.1",
1715
"Framework :: Django :: 2.2",
18-
"Framework :: Django :: 3.0",
19-
"Framework :: Django :: 3.1",
2016
"Framework :: Django :: 3.2",
21-
"Framework :: Django :: 4.0",
22-
"Framework :: Django :: 4.1",
17+
"Framework :: Django :: 4.2",
18+
"Framework :: Django :: 5.0",
19+
"Framework :: Django :: 5.1",
2320
"Intended Audience :: Developers",
2421
"License :: OSI Approved :: MIT License",
2522
"Programming Language :: Python",
2623
"Programming Language :: Python :: 2",
2724
"Programming Language :: Python :: 2.7",
2825
"Programming Language :: Python :: 3",
29-
"Programming Language :: Python :: 3.7",
30-
"Programming Language :: Python :: 3.8",
3126
"Programming Language :: Python :: 3.9",
3227
"Programming Language :: Python :: 3.10",
3328
"Programming Language :: Python :: 3.11",
29+
"Programming Language :: Python :: 3.12",
30+
"Programming Language :: Python :: 3.13",
3431
"Topic :: Internet :: WWW/HTTP",
3532
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
3633
"Topic :: Multimedia :: Graphics",

setup.py

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -32,25 +32,22 @@
3232
"Environment :: Web Environment",
3333
"Framework :: Django",
3434
"Framework :: Django :: 1.11",
35-
"Framework :: Django :: 2.0",
36-
"Framework :: Django :: 2.1",
3735
"Framework :: Django :: 2.2",
38-
"Framework :: Django :: 3.0",
39-
"Framework :: Django :: 3.1",
4036
"Framework :: Django :: 3.2",
41-
"Framework :: Django :: 4.0",
42-
"Framework :: Django :: 4.1",
37+
"Framework :: Django :: 4.2",
38+
"Framework :: Django :: 5.0",
39+
"Framework :: Django :: 5.1",
4340
"Intended Audience :: Developers",
4441
"License :: OSI Approved :: MIT License",
4542
"Programming Language :: Python",
4643
"Programming Language :: Python :: 2",
4744
"Programming Language :: Python :: 2.7",
4845
"Programming Language :: Python :: 3",
49-
"Programming Language :: Python :: 3.7",
50-
"Programming Language :: Python :: 3.8",
5146
"Programming Language :: Python :: 3.9",
5247
"Programming Language :: Python :: 3.10",
5348
"Programming Language :: Python :: 3.11",
49+
"Programming Language :: Python :: 3.12",
50+
"Programming Language :: Python :: 3.13",
5451
"Topic :: Internet :: WWW/HTTP",
5552
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
5653
"Topic :: Multimedia :: Graphics",

test/test_cloudinary_resource.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from cloudinary import CloudinaryResource
77
from cloudinary import uploader
88
from test.helper_test import SUFFIX, TEST_IMAGE, http_response_mock, get_uri, cleanup_test_resources_by_tag, \
9-
URLLIB3_REQUEST, mock
9+
URLLIB3_REQUEST, mock, retry_assertion
1010

1111
disable_warnings()
1212

@@ -96,6 +96,7 @@ def test_fetch_breakpoints_with_transformation(self, mocked_request):
9696
self.assertIn(self.crop_transformation_str + "/" + self.expected_transformation,
9797
get_uri(mocked_request))
9898

99+
@retry_assertion()
99100
def test_fetch_breakpoints_real(self):
100101
"""Should retrieve responsive breakpoints from cloudinary resource (real request)"""
101102
actual_breakpoints = self.res._fetch_breakpoints()

tox.ini

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,23 @@
11
[tox]
22
envlist =
3-
py{27,37,38,39,310,311}-core
3+
py{27,39,310,311,312,313}-core
44
py{27}-django{111}
5-
py{37,38,39,310,311}-django{22,32,40,41}
5+
py{39,310,311,312,313}-django{32,42,50,51}
6+
67
[testenv]
78
usedevelop = True
89
commands =
910
core: python -m pytest test
10-
django{111,22,32}: django-admin.py test -v2 django_tests {env:D_ARGS:}
11-
django{40,41}: django-admin test -v2 django_tests {env:D_ARGS:}
11+
django{111,32}: django-admin.py test -v2 django_tests {env:D_ARGS:}
12+
django{42,50,51}: django-admin test -v2 django_tests {env:D_ARGS:}
1213
passenv = *
1314
deps =
1415
pytest
1516
py27: mock
1617
django111: Django>=1.11,<1.12
17-
django22: Django>=2.2,<2.3
1818
django32: Django>=3.2,<3.3
19-
django40: Django>=4.0,<4.1
20-
django41: Django>=4.1,<4.2
19+
django42: Django>=4.2,<4.3
20+
django50: Django>=5.0,<5.1
21+
django51: Django>=5.1,<5.2
2122
setenv =
2223
DJANGO_SETTINGS_MODULE=django_tests.settings

0 commit comments

Comments
 (0)