forked from rdmorganiser/rdmo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request rdmorganiser#693 from afuetterer/442-update-depend…
…encies chore: update python dependencies
- Loading branch information
Showing
16 changed files
with
289 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,13 +15,13 @@ keywords = [ | |
] | ||
license = {text = "Apache-2.0"} | ||
authors = [ | ||
{name = "RDMO Arbeitsgemeinschaft", email = "[email protected]"}, | ||
{name = "RDMO Arbeitsgemeinschaft", email = "[email protected]"}, | ||
] | ||
requires-python = ">=3.8" | ||
classifiers = [ | ||
"Development Status :: 5 - Production/Stable", | ||
"Environment :: Web Environment", | ||
"Framework :: Django :: 3.2", | ||
"Framework :: Django :: 4.2", | ||
"Intended Audience :: Science/Research", | ||
"License :: OSI Approved :: Apache Software License", | ||
"Operating System :: OS Independent", | ||
|
@@ -37,60 +37,66 @@ dynamic = [ | |
"version", | ||
] | ||
dependencies = [ | ||
"defusedcsv~=2.0.0", | ||
"defusedxml~=0.7.1", | ||
"Django~=3.2.20", | ||
"django-allauth~=0.53.1", | ||
"django-cleanup~=6.0.0", | ||
"defusedcsv~=2.0", | ||
"defusedxml~=0.7", | ||
"django~=4.2", | ||
"django-cleanup~=8.0", | ||
"django-compressor~=4.4", | ||
"django-extensions~=3.2.0", | ||
"django-filter~=21.1", | ||
"django-libsass==0.9", | ||
"django-mathfilters~=1.0.0", | ||
"django-mptt~=0.13.4", | ||
"django-rest-swagger~=2.2.0", | ||
"django-settings-export~=1.2.1", | ||
"django-widget-tweaks~=1.4.8", | ||
"djangorestframework~=3.12.4", | ||
"drf-extensions~=0.7.0", | ||
"iso8601~=2.0.0", | ||
"Markdown~=3.3.7", | ||
"pypandoc~=1.10.0", | ||
"rules~=3.3.0", | ||
"django-extensions~=3.2", | ||
"django-filter~=23.2", | ||
"django-libsass~=0.9", | ||
"django-mathfilters~=1.0", | ||
"django-mptt~=0.14", | ||
"django-rest-swagger~=2.2", | ||
"django-settings-export~=1.2", | ||
"django-widget-tweaks~=1.5", | ||
"djangorestframework~=3.14", | ||
"drf-extensions~=0.7", | ||
"iso8601~=2.0", | ||
"markdown~=3.4", | ||
"pypandoc~=1.11", | ||
"rules~=3.3", | ||
] | ||
|
||
[project.optional-dependencies] | ||
allauth = [ | ||
"django-allauth~=0.56", | ||
] | ||
ci = [ | ||
"coveralls", | ||
"coveralls~=3.3", | ||
"rdmo[dev]", | ||
] | ||
dev = [ | ||
"django-debug-toolbar", | ||
"pre-commit", | ||
"django-debug-toolbar~=4.2", | ||
"pre-commit~=3.4", | ||
"rdmo[allauth]", | ||
"rdmo[pytest]", | ||
] | ||
gunicorn = [ | ||
"gunicorn>=19.9", | ||
"gunicorn~=21.2", | ||
] | ||
ldap = [ | ||
"django-auth-ldap>=2", | ||
"django-auth-ldap~=4.5", | ||
] | ||
memcached = [ | ||
"python-memcached>=1.58", | ||
"python-memcached~=1.5", | ||
] | ||
mysql = [ | ||
"mysqlclient~=2.2.0", | ||
"mysqlclient~=2.2", | ||
] | ||
postgres = [ | ||
"psycopg2-binary~=2.9.6", | ||
# once python 3.12 is officially released, the psycopg team will release a psycopg-binary for it. | ||
# replace these two lines with "psycopg[binary]~=3.1" | ||
"psycopg[binary]~=3.1; python_version<'3.12'", | ||
"psycopg2-binary~=2.9; python_version>='3.12'", | ||
] | ||
pytest = [ | ||
"pytest~=7.4.0", | ||
"pytest-cov~=4.0.0", | ||
"pytest-django~=4.5.0", | ||
"pytest-mock~=3.11.0", | ||
"pytest-randomly~=3.15.0", | ||
"pytest-xdist~=3.3.1", | ||
"pytest~=7.4", | ||
"pytest-cov~=4.1", | ||
"pytest-django~=4.5", | ||
"pytest-mock~=3.11", | ||
"pytest-randomly~=3.15", | ||
"pytest-xdist~=3.3", | ||
] | ||
|
||
[project.urls] | ||
|
@@ -181,6 +187,18 @@ testpaths = ["rdmo"] | |
python_files = "test_*[!.txt].py" | ||
pythonpath = [".", "testing"] | ||
addopts = "-p no:randomly" | ||
filterwarnings = [ | ||
# fail on RemovedInDjango50Warning exception | ||
"error::django.utils.deprecation.RemovedInDjango50Warning", | ||
|
||
# ignore warnings raised from within coreapi 2.3.3 | ||
"ignore:'cgi' is deprecated and slated for removal in Python 3.13:DeprecationWarning", | ||
"ignore:pkg_resources is deprecated as an API:DeprecationWarning", | ||
|
||
# ignore warnings raised from within django itself | ||
# django/core/files/storage/__init__.py | ||
"ignore:django.core.files.storage.get_storage_class is deprecated:django.utils.deprecation.RemovedInDjango51Warning", | ||
] | ||
|
||
[tool.coverage.run] | ||
source = ["rdmo"] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
rdmo/conditions/migrations/0025_alter_condition_editors.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Generated by Django 4.2.5 on 2023-09-07 07:27 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
('sites', '0002_alter_domain_unique'), | ||
('conditions', '0024_uri_path'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name='condition', | ||
name='editors', | ||
field=models.ManyToManyField( | ||
blank=True, | ||
help_text='The sites that can edit this condition (in a multi site setup).', | ||
related_name='%(class)s_editors', | ||
to='sites.site', | ||
verbose_name='Editors', | ||
), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -133,8 +133,6 @@ | |
|
||
USE_I18N = True | ||
|
||
USE_L10N = True | ||
|
||
USE_TZ = True | ||
|
||
LOGIN_URL = '/account/login/' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Generated by Django 4.2.5 on 2023-09-07 07:27 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
('sites', '0002_alter_domain_unique'), | ||
('domain', '0049_attribute_add_editors'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name='attribute', | ||
name='editors', | ||
field=models.ManyToManyField( | ||
blank=True, | ||
help_text='The sites that can edit this attribute (in a multi site setup).', | ||
related_name='%(class)s_editors', | ||
to='sites.site', | ||
verbose_name='Editors', | ||
), | ||
), | ||
] |
35 changes: 35 additions & 0 deletions
35
rdmo/options/migrations/0032_alter_option_editors_alter_optionset_editors.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# Generated by Django 4.2.5 on 2023-09-07 07:27 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
('sites', '0002_alter_domain_unique'), | ||
('options', '0031_add_editors'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name='option', | ||
name='editors', | ||
field=models.ManyToManyField( | ||
blank=True, | ||
help_text='The sites that can edit this option (in a multi site setup).', | ||
related_name='%(class)s_editors', | ||
to='sites.site', | ||
verbose_name='Editors', | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name='optionset', | ||
name='editors', | ||
field=models.ManyToManyField( | ||
blank=True, | ||
help_text='The sites that can edit this option set (in a multi site setup).', | ||
related_name='%(class)s_editors', | ||
to='sites.site', | ||
verbose_name='Editors', | ||
), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
68 changes: 68 additions & 0 deletions
68
rdmo/questions/migrations/0091_alter_catalog_editors_alter_page_editors_and_more.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
# Generated by Django 4.2.5 on 2023-09-07 07:27 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
('sites', '0002_alter_domain_unique'), | ||
('questions', '0090_add_editors'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name='catalog', | ||
name='editors', | ||
field=models.ManyToManyField( | ||
blank=True, | ||
help_text='The sites that can edit this catalog (in a multi site setup).', | ||
related_name='%(class)s_editors', | ||
to='sites.site', | ||
verbose_name='Editors', | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name='page', | ||
name='editors', | ||
field=models.ManyToManyField( | ||
blank=True, | ||
help_text='The sites that can edit this page (in a multi site setup).', | ||
related_name='%(class)s_editors', | ||
to='sites.site', | ||
verbose_name='Editors', | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name='question', | ||
name='editors', | ||
field=models.ManyToManyField( | ||
blank=True, | ||
help_text='The sites that can edit this question (in a multi site setup).', | ||
related_name='%(class)s_editors', | ||
to='sites.site', | ||
verbose_name='Editors', | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name='questionset', | ||
name='editors', | ||
field=models.ManyToManyField( | ||
blank=True, | ||
help_text='The sites that can edit this questionset (in a multi site setup).', | ||
related_name='%(class)s_editors', | ||
to='sites.site', | ||
verbose_name='Editors', | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name='section', | ||
name='editors', | ||
field=models.ManyToManyField( | ||
blank=True, | ||
help_text='The sites that can edit this section (in a multi site setup).', | ||
related_name='%(class)s_editors', | ||
to='sites.site', | ||
verbose_name='Editors', | ||
), | ||
), | ||
] |
Oops, something went wrong.