Skip to content

Commit 87dc576

Browse files
committed
More dependencies updating in various places
1 parent 0eca5db commit 87dc576

4 files changed

Lines changed: 21 additions & 20 deletions

File tree

.drone.yml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
{
33
"kind": "pipeline",
4-
"name": "python:3.7,django>=3.1,<3.2",
4+
"name": "python:3.10,django>=4.2,<4.3",
55
"platform": {
66
"arch": "amd64",
77
"os": "linux"
@@ -19,7 +19,7 @@
1919
"MYSQL_ROOT_PASSWORD": "secret",
2020
"MYSQL_USER": "silver"
2121
},
22-
"image": "mysql:5.7",
22+
"image": "mysql:8.0",
2323
"name": "mysql",
2424
"pull": "if-not-exists"
2525
},
@@ -33,15 +33,15 @@
3333
{
3434
"commands": [
3535
"make dependencies",
36-
"pip install -U \"Django>=3.1,<3.2\"",
36+
"pip install -U \"django>=4.2,<4.3\"",
3737
"mkdir /var/log/silver",
3838
"make lint",
3939
"make test"
4040
],
4141
"environment": {
4242
"SILVER_DB_URL": "mysql://silver:silver@mysql/db"
4343
},
44-
"image": "python:3.7",
44+
"image": "python:3.10",
4545
"name": "test",
4646
"pull": "always",
4747
"settings": {
@@ -105,7 +105,7 @@
105105
---
106106
{
107107
"kind": "pipeline",
108-
"name": "python:3.8,django>=3.1,<3.2",
108+
"name": "python:3.11,django>=4.2,<4.3",
109109
"platform": {
110110
"arch": "amd64",
111111
"os": "linux"
@@ -123,7 +123,7 @@
123123
"MYSQL_ROOT_PASSWORD": "secret",
124124
"MYSQL_USER": "silver"
125125
},
126-
"image": "mysql:5.7",
126+
"image": "mysql:8.0",
127127
"name": "mysql",
128128
"pull": "if-not-exists"
129129
},
@@ -137,15 +137,15 @@
137137
{
138138
"commands": [
139139
"make dependencies",
140-
"pip install -U \"Django>=3.1,<3.2\"",
140+
"pip install -U \"django>=4.2,<4.3\"",
141141
"mkdir /var/log/silver",
142142
"make lint",
143143
"make test"
144144
],
145145
"environment": {
146146
"SILVER_DB_URL": "mysql://silver:silver@mysql/db"
147147
},
148-
"image": "python:3.8",
148+
"image": "python:3.11",
149149
"name": "test",
150150
"pull": "always",
151151
"settings": {
@@ -209,7 +209,7 @@
209209
---
210210
{
211211
"kind": "pipeline",
212-
"name": "python:3.7,django>=3.2,<3.3",
212+
"name": "python:3.10,django>=3.2,<3.3",
213213
"platform": {
214214
"arch": "amd64",
215215
"os": "linux"
@@ -227,7 +227,7 @@
227227
"MYSQL_ROOT_PASSWORD": "secret",
228228
"MYSQL_USER": "silver"
229229
},
230-
"image": "mysql:5.7",
230+
"image": "mysql:8.0",
231231
"name": "mysql",
232232
"pull": "if-not-exists"
233233
},
@@ -249,7 +249,7 @@
249249
"environment": {
250250
"SILVER_DB_URL": "mysql://silver:silver@mysql/db"
251251
},
252-
"image": "python:3.7",
252+
"image": "python:3.10",
253253
"name": "test",
254254
"pull": "always",
255255
"settings": {
@@ -313,7 +313,7 @@
313313
---
314314
{
315315
"kind": "pipeline",
316-
"name": "python:3.8,django>=3.2,<3.3",
316+
"name": "python:3.11,django>=3.2,<3.3",
317317
"platform": {
318318
"arch": "amd64",
319319
"os": "linux"
@@ -331,7 +331,7 @@
331331
"MYSQL_ROOT_PASSWORD": "secret",
332332
"MYSQL_USER": "silver"
333333
},
334-
"image": "mysql:5.7",
334+
"image": "mysql:8.0",
335335
"name": "mysql",
336336
"pull": "if-not-exists"
337337
},
@@ -353,7 +353,7 @@
353353
"environment": {
354354
"SILVER_DB_URL": "mysql://silver:silver@mysql/db"
355355
},
356-
"image": "python:3.8",
356+
"image": "python:3.11",
357357
"name": "test",
358358
"pull": "always",
359359
"settings": {
@@ -416,6 +416,6 @@
416416
}
417417
---
418418
kind: signature
419-
hmac: beee66896031cb6802633da0a02d083cff16b93f6787729fd5d58b5710e543e0
419+
hmac: 1231c01a60b201851df1d8bb5856897afcbde610438a08a84aa6321a58e7452a
420420

421421
...

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3.9-alpine
1+
FROM python:3.11-alpine
22
MAINTAINER Presslabs ping@presslabs.com
33

44
# Ensure that Python outputs everything that's printed inside

requirements/common.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ sqlparse>=0.2,<0.5 # (required for some old migrations) -----------------------
99
# Django Utils
1010
django-fsm>=2.7,<2.8 # -------------------------------------------------------- (bumped 2021-04-15)
1111
django-filter>=2.4,<2.5 # ----------------------------------------------------- (bumped 2021-04-15)
12-
django-livefield>=3.3,<3.4 # -------------------------------------------------- (bumped 2021-04-15)
12+
django-livefield>=4.0,<4.1 # -------------------------------------------------- (bumped 2023-12-18)
1313
django-model-utils>=4.3.1,<4.4 # ---------------------------------------------- (bumped 2023-09-18)
1414
django-annoying>=0.10,<0.11 # (various Django helpers) ----------------------- (checked 2021-04-15)
1515
django-autocomplete-light>=3.9.7,<3.10 # -------------------------------------- (bumped 2023-09-18)

setup.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,11 +80,12 @@ def read(fname):
8080
entry_points={"pytest11": ["django-silver = silver.fixtures.pytest_fixtures"]},
8181
classifiers=[
8282
'Environment :: Web Environment',
83-
'Framework :: Django :: 3.1',
8483
'Framework :: Django :: 3.2',
84+
'Framework :: Django :: 4.1',
85+
'Framework :: Django :: 4.2',
8586
'Development Status :: 5 - Production/Stable',
8687
'License :: OSI Approved :: Apache Software License',
87-
'Programming Language :: Python :: 3.7',
88-
'Programming Language :: Python :: 3.8'
88+
'Programming Language :: Python :: 3.10',
89+
'Programming Language :: Python :: 3.11'
8990
]
9091
)

0 commit comments

Comments
 (0)