Skip to content

Commit 96e2148

Browse files
committed
Bump versions to reduce warnings before 5.0 upgrade
1 parent 5ec9da0 commit 96e2148

File tree

5 files changed

+39
-111
lines changed

5 files changed

+39
-111
lines changed

pyproject.toml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ dependencies = [
4545
"django-cryptography-django5",
4646
"django-extensions==3.1.5",
4747
"django-filter==25.1",
48-
"django-import-export==3.3.9",
48+
"django-import-export==4.3.10",
4949
"django-money==3.4.1",
5050
"django-mptt==0.14",
5151
"django-prometheus==2.2.0",
@@ -58,7 +58,6 @@ dependencies = [
5858
"djangorestframework==3.15.0",
5959
"djangorestframework_xml==2.0.0",
6060
"django~=4.2.0",
61-
"dogpile-cache==1.3.4",
6261
"drf-nested-routers==0.92.5",
6362
"factory-boy==3.2.1",
6463
"funcsigs==0.4",
@@ -79,7 +78,7 @@ dependencies = [
7978
"pbr",
8079
"positional==1.0.1",
8180
"prettytable==0.7.2",
82-
"psycopg2-binary>=2.9.10",
81+
"psycopg>=3.2.10",
8382
"pyhermes~=0.6.0",
8483
"python-dateutil==2.9.0",
8584
"python-ironicclient",
@@ -99,7 +98,7 @@ dependencies = [
9998
"stevedore",
10099
"tblib>=3.1.0",
101100
"typing==3.6.6",
102-
"wrapt==1.10.6"
101+
"wrapt==1.10.6",
103102
]
104103
dynamic = [
105104
"authors",

src/ralph/settings/base.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,10 +209,10 @@ def _gen():
209209
USE_TZ = False
210210

211211
STATIC_URL = "/static/"
212-
STATICFILES_DIRS = (
212+
STATICFILES_DIRS = [
213213
os.path.join(BASE_DIR, "static"),
214214
os.path.join(BASE_DIR, "admin", "static"),
215-
)
215+
]
216216
STATIC_ROOT = os.environ.get("STATIC_ROOT", os.path.join(BASE_DIR, "var", "static"))
217217

218218
MEDIA_URL = "/media/"

src/ralph/settings/prod.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@
1313

1414
DEBUG = bool_from_env("RALPH_DEBUG", False)
1515

16-
STATICFILES_STORAGE = "django.contrib.staticfiles.storage.StaticFilesStorage" # noqa
17-
1816
REST_FRAMEWORK["DEFAULT_AUTHENTICATION_CLASSES"] = (
1917
"rest_framework.authentication.TokenAuthentication",
2018
# session authentication enabled for API requests from UI (ex. in

src/ralph/settings/test.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@
3939

4040
USE_CACHE = False
4141
PASSWORD_HASHERS = ("django_plainpasswordhasher.PlainPasswordHasher",)
42-
STATICFILES_STORAGE = "django.contrib.staticfiles.storage.StaticFilesStorage"
4342

4443
ROOT_URLCONF = "ralph.urls.test"
4544
# specify all url modules to reload during specific tests

0 commit comments

Comments
 (0)