Skip to content

Commit 7c9f689

Browse files
authored
Merge pull request #254 from jedie/bugfix-packaging
Bugfix packaging: We use rich in production code
2 parents d9ec6fc + 434642e commit 7c9f689

File tree

4 files changed

+25
-5
lines changed

4 files changed

+25
-5
lines changed

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,8 @@ Maybe other versions are compatible, too.
218218

219219
[comment]: <> (✂✂✂ auto generated history start ✂✂✂)
220220

221+
* [v0.18.1](https://github.com/jedie/django-reversion-compare/compare/v0.18.0...v0.18.1)
222+
* 2024-09-10 - Bugfix packaging: We use rich in production code
221223
* [v0.18.0](https://github.com/jedie/django-reversion-compare/compare/v0.17.0...v0.18.0)
222224
* 2024-09-10 - modernized code
223225
* 2024-09-10 - Update test matrix and requirements
@@ -239,13 +241,13 @@ Maybe other versions are compatible, too.
239241
* 2023-05-08 - Bugfix RegistrationError: <Model> has not been registered with django-reversion
240242
* 2023-05-08 - Update requirements
241243
* 2023-04-28 - Fix link for CBV
244+
245+
<details><summary>Expand older history entries ...</summary>
246+
242247
* [v0.16.1](https://github.com/jedie/django-reversion-compare/compare/v0.16.0...v0.16.1)
243248
* 2023-04-08 - Fix wrong README and release as v0.16.1
244249
* 2023-04-08 - Use new "update_req" command from manage_django_project v0.4.0
245250
* 2023-04-08 - Fix #195 move "diff-match-patch" not normal dependencies section
246-
247-
<details><summary>Expand older history entries ...</summary>
248-
249251
* [v0.16.0](https://github.com/jedie/django-reversion-compare/compare/v0.15.0...v0.16.0)
250252
* 2023-04-07 - tests against different Django versions
251253
* 2023-04-07 - Update README.md

pyproject.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ dependencies = [
1212
"django", # https://docs.djangoproject.com
1313
"django-reversion", # https://github.com/etianen/django-reversion
1414
"diff-match-patch", # https://github.com/diff-match-patch-python/diff-match-patch
15+
#
16+
# We use rich.pretty.pretty_repr() for pretty format fallback:
17+
"rich", # https://github.com/Textualize/rich
1518
]
1619
[project.optional-dependencies]
1720
dev = [
@@ -25,7 +28,6 @@ dev = [
2528
"beautifulsoup4", # https://pypi.org/project/beautifulsoup4/
2629
"freezegun", # https://github.com/spulec/freezegun
2730

28-
"rich", # https://github.com/Textualize/rich
2931
"colorlog", # https://github.com/borntyping/python-colorlog
3032
"gunicorn", # https://github.com/benoimyproject.wsgitc/gunicorn
3133

requirements.txt

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,22 @@ django-reversion==5.1.0 \
2222
--hash=sha256:084d4f117d9e2b4e8dfdfaad83ebb34410a03eed6071c96089e6811fdea82ad3 \
2323
--hash=sha256:3309821e5b6fceedcce6b6975f1a9c7fab6ae7c7d0e1276a90e345946fa0dcb8
2424
# via django-reversion-compare (pyproject.toml)
25+
markdown-it-py==3.0.0 \
26+
--hash=sha256:355216845c60bd96232cd8d8c40e8f9765cc86f46880e43a8fd22dc1a1a8cab1 \
27+
--hash=sha256:e3f60a94fa066dc52ec76661e37c851cb232d92f9886b15cb560aaada2df8feb
28+
# via rich
29+
mdurl==0.1.2 \
30+
--hash=sha256:84008a41e51615a49fc9966191ff91509e3c40b939176e643fd50a5c2196b8f8 \
31+
--hash=sha256:bb413d29f5eea38f31dd4754dd7377d4465116fb207585f97bf925588687c1ba
32+
# via markdown-it-py
33+
pygments==2.18.0 \
34+
--hash=sha256:786ff802f32e91311bff3889f6e9a86e81505fe99f2735bb6d60ae0c5004f199 \
35+
--hash=sha256:b8e6aca0523f3ab76fee51799c488e38782ac06eafcf95e7ba832985c8e7b13a
36+
# via rich
37+
rich==13.8.0 \
38+
--hash=sha256:2e85306a063b9492dffc86278197a60cbece75bcb766022f3436f567cae11bdc \
39+
--hash=sha256:a5ac1f1cd448ade0d59cc3356f7db7a7ccda2c8cbae9c7a90c28ff463d3e91f4
40+
# via django-reversion-compare (pyproject.toml)
2541
sqlparse==0.5.1 \
2642
--hash=sha256:773dcbf9a5ab44a090f3441e2180efe2560220203dc2f8c0b0fa141e18b505e4 \
2743
--hash=sha256:bb6b4df465655ef332548e24f08e205afc81b9ab86cb1c45657a7ff173a3a00e

reversion_compare/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44
"""
55

66
# See https://packaging.python.org/en/latest/specifications/version-specifiers/
7-
__version__ = '0.18.0'
7+
__version__ = '0.18.1'
88
__author__ = 'Jens Diemer <django-reversion-compare@jensdiemer.de>'

0 commit comments

Comments
 (0)