@@ -5,7 +5,7 @@ description = "API for the Openverse project"
5
5
readme = " README.md"
6
6
license = {text = " MIT" }
7
7
authors = [
8
- {
name =
" Openverse Contributors" ,
email =
" [email protected] " },
8
+ {
name =
" Openverse Contributors" ,
email =
" [email protected] " },
9
9
]
10
10
11
11
requires-python = " ==3.12.*"
@@ -46,7 +46,7 @@ distribution = false
46
46
[tool .pdm .dev-dependencies ]
47
47
# These packages override their main counterparts with an editable installation.
48
48
overrides = [
49
- " -e openverse-attribution @ file:///${PROJECT_ROOT}/../packages/python/openverse-attribution"
49
+ " -e openverse-attribution @ file:///${PROJECT_ROOT}/../packages/python/openverse-attribution"
50
50
]
51
51
dev = [
52
52
" ipython >=8.22.1, <9" ,
@@ -59,16 +59,16 @@ dev = [
59
59
" watchfiles>=0.24.0" ,
60
60
]
61
61
test = [
62
- " factory-boy >=3.3.0, <4" ,
63
- " fakeredis >=2.21.3, <3" ,
64
- " freezegun >=1.4.0, <2" ,
65
- " pook >=2, <3" ,
66
- " pytest >=8.3.3, <9" ,
67
- " pytest-django >=4.8.0, <5" ,
68
- " pytest-pook>=1.0.0" ,
69
- " pytest-raises >=0.11, <0.12" ,
70
- " pytest-sugar >=1, <1.1" ,
71
- " schemathesis >=3.25 .6, <4" ,
62
+ " factory-boy >=3.3.0, <4" ,
63
+ " fakeredis >=2.21.3, <3" ,
64
+ " freezegun >=1.4.0, <2" ,
65
+ " pook >=2, <3" ,
66
+ " pytest >=8.3.3, <9" ,
67
+ " pytest-django >=4.8.0, <5" ,
68
+ " pytest-pook>=1.0.0" ,
69
+ " pytest-raises >=0.11, <0.12" ,
70
+ " pytest-sugar >=1, <1.1" ,
71
+ " schemathesis >=3.38 .6, <4" ,
72
72
]
73
73
74
74
[tool .pytest .ini_options ]
@@ -77,14 +77,14 @@ DJANGO_SETTINGS_MODULE = "conf.settings"
77
77
pythonpath = " ."
78
78
79
79
filterwarnings = [
80
- # Ignore warnings related to unverified HTTPS requests.
81
- # Reason: This warning is suppressed to avoid raising warnings when making HTTP requests
82
- # to servers with invalid or self-signed SSL certificates. It allows the tests to proceed
83
- # without being interrupted by these warnings.
84
- " ignore:Unverified HTTPS request" ,
80
+ # Ignore warnings related to unverified HTTPS requests.
81
+ # Reason: This warning is suppressed to avoid raising warnings when making HTTP requests
82
+ # to servers with invalid or self-signed SSL certificates. It allows the tests to proceed
83
+ # without being interrupted by these warnings.
84
+ " ignore:Unverified HTTPS request" ,
85
85
86
- # Ignore warnings about the upcoming change in the default value of 'USE_TZ' setting in Django 5.0 .
87
- # Reason: The reason this warning is suppressed is actually because we already set USE_TZ to True .
88
- # Since no changes are required on our part, we can safely ignore this to declutter the logs.
89
- " ignore:The default value of USE_TZ will change from False to True in Django 5.0 " ,
86
+ # Ignore warnings coming from schemathesis .
87
+ # Reason: These are warnings raised by the library itself and are not relevant to our codebase .
88
+ " ignore:jsonschema.RefResolver is deprecated as of v4.18.0 " ,
89
+ " ignore:jsonschema.exceptions.RefResolutionError is deprecated as of version 4.18.0. " ,
90
90
]
0 commit comments