-
Notifications
You must be signed in to change notification settings - Fork 104
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Remove Django 4.1 tests and add 5.0 * Use `pretty_repr` from `rich` in `CompareObject` * Modernize CSS styles and support dark theme * Add `JSONField` to `VariantModel` test model
- Loading branch information
Showing
17 changed files
with
944 additions
and
223 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,11 +7,12 @@ readme = "README.md" | |
authors = [ | ||
{name = 'Jens Diemer', email = '[email protected]'} | ||
] | ||
requires-python = ">=3.9,<4" # Keep Python 3.9 until Yunohost contains a newer Python Version ;) | ||
requires-python = ">=3.9" # Keep Python 3.9 until Yunohost contains a newer Python Version ;) | ||
dependencies = [ | ||
"django", | ||
"django-reversion", # https://github.com/etianen/django-reversion | ||
"diff-match-patch", # https://github.com/diff-match-patch-python/diff-match-patch | ||
"rich", # https://github.com/Textualize/rich | ||
] | ||
[project.optional-dependencies] | ||
dev = [ | ||
|
@@ -56,10 +57,12 @@ dev = [ | |
"model_bakery", # https://github.com/model-bakers/model_bakery | ||
"requests-mock", | ||
"django-override-storage", # https://github.com/danifus/django-override-storage | ||
"beautifulsoup4", # https://pypi.org/project/beautifulsoup4/ | ||
"freezegun", # https://github.com/spulec/freezegun | ||
] | ||
django32=["django>=3.2,<3.3"] | ||
django41=["django>=4.1,<4.2"] | ||
django42=["django>=4.2,<4.3"] | ||
django50=["django>=5.0,<5.1"] | ||
|
||
[project.urls] | ||
Documentation = "https://github.com/jedie/django-reversion-compare" | ||
|
@@ -144,7 +147,7 @@ exclude_lines = [ | |
legacy_tox_ini = """ | ||
[tox] | ||
isolated_build = True | ||
envlist = py{312,311,310,39}-django{42,41,32} | ||
envlist = py{312,311,310,39}-django{50,42,32} | ||
skip_missing_interpreters = True | ||
[testenv] | ||
|
@@ -153,12 +156,12 @@ skip_install = true | |
commands_pre = | ||
pip install -U pip-tools | ||
django32: pip-sync requirements.django32.txt | ||
django41: pip-sync requirements.django41.txt | ||
django42: pip-sync requirements.django42.txt | ||
django50: pip-sync requirements.django50.txt | ||
commands = | ||
django32: {envpython} -m coverage run --context='{envname}' -m reversion_compare_project test --buffer | ||
django41: {envpython} -m coverage run --context='{envname}' -m reversion_compare_project test --buffer --shuffle --parallel | ||
django42: {envpython} -m coverage run --context='{envname}' -m reversion_compare_project test --buffer --shuffle --parallel | ||
django50: {envpython} -m coverage run --context='{envname}' -m reversion_compare_project test --buffer --shuffle --parallel | ||
""" | ||
|
||
|
||
|
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
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
Oops, something went wrong.