Skip to content

Commit

Permalink
Bump versions
Browse files Browse the repository at this point in the history
  • Loading branch information
const-cloudinary authored Dec 23, 2024
1 parent fe91605 commit e77322d
Show file tree
Hide file tree
Showing 6 changed files with 34 additions and 38 deletions.
20 changes: 10 additions & 10 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,28 +4,28 @@ matrix:
include:
- python: 2.7
env: TOXENV=py27-core
- python: 3.7
env: TOXENV=py37-core
- python: 3.8
env: TOXENV=py38-core
- python: 3.9
env: TOXENV=py39-core
- python: 3.10
env: TOXENV=py310-core
- python: 3.11
env: TOXENV=py311-core
- python: 3.12
env: TOXENV=py312-core
- python: 3.13
env: TOXENV=py313-core
- python: 2.7
env: TOXENV=py27-django111
- python: 3.7
env: TOXENV=py37-django22
- python: 3.9
env: TOXENV=py39-django32
- python: 3.10
env: TOXENV=py310-django40
- python: 3.10
env: TOXENV=py310-django41
env: TOXENV=py310-django42
- python: 3.11
env: TOXENV=py311-django41
env: TOXENV=py311-django42
- python: 3.12
env: TOXENV=py312-django50
- python: 3.13
env: TOXENV=py313-django51
install:
- pip install tox pytest

Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,12 @@ For the complete documentation, see the [Python SDK Guide](https://cloudinary.co
## Version Support

| SDK Version | Python 2.7 | Python 3.x |
| ----------- | ---------- | ---------- |
|-------------|------------|------------|
| 1.x |||

| SDK Version | Django 1.11 | Django 2.x | Django 3.x | Django 4.x |
| ----------- | ----------- | ---------- | ---------- | ---------- |
| 1.x |||||
| SDK Version | Django 1.11 | Django 2.x | Django 3.x | Django 4.x | Django 5.x |
|-------------|-------------|------------|------------|------------|------------|
| 1.x ||||||


## Installation
Expand Down
13 changes: 5 additions & 8 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,25 +12,22 @@ classifiers = [
"Environment :: Web Environment",
"Framework :: Django",
"Framework :: Django :: 1.11",
"Framework :: Django :: 2.0",
"Framework :: Django :: 2.1",
"Framework :: Django :: 2.2",
"Framework :: Django :: 3.0",
"Framework :: Django :: 3.1",
"Framework :: Django :: 3.2",
"Framework :: Django :: 4.0",
"Framework :: Django :: 4.1",
"Framework :: Django :: 4.2",
"Framework :: Django :: 5.0",
"Framework :: Django :: 5.1",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Multimedia :: Graphics",
Expand Down
13 changes: 5 additions & 8 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,25 +32,22 @@
"Environment :: Web Environment",
"Framework :: Django",
"Framework :: Django :: 1.11",
"Framework :: Django :: 2.0",
"Framework :: Django :: 2.1",
"Framework :: Django :: 2.2",
"Framework :: Django :: 3.0",
"Framework :: Django :: 3.1",
"Framework :: Django :: 3.2",
"Framework :: Django :: 4.0",
"Framework :: Django :: 4.1",
"Framework :: Django :: 4.2",
"Framework :: Django :: 5.0",
"Framework :: Django :: 5.1",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Multimedia :: Graphics",
Expand Down
3 changes: 2 additions & 1 deletion test/test_cloudinary_resource.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from cloudinary import CloudinaryResource
from cloudinary import uploader
from test.helper_test import SUFFIX, TEST_IMAGE, http_response_mock, get_uri, cleanup_test_resources_by_tag, \
URLLIB3_REQUEST, mock
URLLIB3_REQUEST, mock, retry_assertion

disable_warnings()

Expand Down Expand Up @@ -96,6 +96,7 @@ def test_fetch_breakpoints_with_transformation(self, mocked_request):
self.assertIn(self.crop_transformation_str + "/" + self.expected_transformation,
get_uri(mocked_request))

@retry_assertion()
def test_fetch_breakpoints_real(self):
"""Should retrieve responsive breakpoints from cloudinary resource (real request)"""
actual_breakpoints = self.res._fetch_breakpoints()
Expand Down
15 changes: 8 additions & 7 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,22 +1,23 @@
[tox]
envlist =
py{27,37,38,39,310,311}-core
py{27,39,310,311,312,313}-core
py{27}-django{111}
py{37,38,39,310,311}-django{22,32,40,41}
py{39,310,311,312,313}-django{32,42,50,51}

[testenv]
usedevelop = True
commands =
core: python -m pytest test
django{111,22,32}: django-admin.py test -v2 django_tests {env:D_ARGS:}
django{40,41}: django-admin test -v2 django_tests {env:D_ARGS:}
django{111,32}: django-admin.py test -v2 django_tests {env:D_ARGS:}
django{42,50,51}: django-admin test -v2 django_tests {env:D_ARGS:}
passenv = *
deps =
pytest
py27: mock
django111: Django>=1.11,<1.12
django22: Django>=2.2,<2.3
django32: Django>=3.2,<3.3
django40: Django>=4.0,<4.1
django41: Django>=4.1,<4.2
django42: Django>=4.2,<4.3
django50: Django>=5.0,<5.1
django51: Django>=5.1,<5.2
setenv =
DJANGO_SETTINGS_MODULE=django_tests.settings

0 comments on commit e77322d

Please sign in to comment.