We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9741c5a commit 2eb0059Copy full SHA for 2eb0059
.github/workflows/ci.yml
@@ -75,12 +75,12 @@ jobs:
75
strategy:
76
matrix:
77
python-version:
78
- - "3.8"
79
- "3.9"
80
- "3.10"
81
- "3.12"
+ - "3.13"
82
django-version:
83
- - "3.2" # LTS
+ - "4.2" # LTS
84
runs-on: ubuntu-latest
85
steps:
86
- uses: actions/checkout@v4
@@ -103,11 +103,11 @@ jobs:
103
104
105
106
- - "3.11"
+ - "3.12"
107
108
# LTS gets tested on all OS
109
- - "4.1"
110
- - "4.2"
+ - "5.1"
+ - "5.2"
111
112
113
pictures/models.py
@@ -104,7 +104,7 @@ def name(self) -> str:
def path(self) -> Path:
return Path(self.storage.path(self.name))
- def process(self, image) -> "Image":
+ def process(self, image) -> Image:
image = ImageOps.exif_transpose(image) # crates a copy
height = self.height or self.width / Fraction(*image.size)
size = math.floor(self.width), math.floor(height)
pyproject.toml
@@ -23,18 +23,18 @@ classifiers = [
23
"Topic :: Software Development",
24
"Programming Language :: Python :: 3",
25
"Programming Language :: Python :: 3 :: Only",
26
- "Programming Language :: Python :: 3.8",
27
"Programming Language :: Python :: 3.9",
28
"Programming Language :: Python :: 3.10",
29
"Programming Language :: Python :: 3.11",
30
"Programming Language :: Python :: 3.12",
+ "Programming Language :: Python :: 3.13",
31
"Framework :: Django",
32
- "Framework :: Django :: 3.2",
33
- "Framework :: Django :: 4.1",
34
"Framework :: Django :: 4.2",
+ "Framework :: Django :: 5.1",
+ "Framework :: Django :: 5.2",
35
]
36
-requires-python = ">=3.8"
37
-dependencies = ["django>=3.2.0", "pillow>=9.0.0"]
+requires-python = ">=3.9"
+dependencies = ["django>=4.2.0", "pillow>=9.0.0"]
38
39
[project.optional-dependencies]
40
test = [
0 commit comments