Skip to content

Commit a0fb569

Browse files
authored
fix: Remove reference to sunset LooseVersion of distutils (#61)
* fix: Remove reference to sunset LooseVersion of distutils * Update changelog
1 parent 924cf79 commit a0fb569

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

CHANGELOG.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
Changelog
33
=========
44

5+
4.1.1 (2025-08-06)
6+
==================
7+
8+
* fix: Remove reference to sunset LooseVersion of distutils
9+
510
4.1.0 (2025-07-15)
611
==================
712

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ You can run tests by executing::
174174
.. |pypi| image:: https://badge.fury.io/py/djangocms-attributes-field.svg
175175
:target: http://badge.fury.io/py/djangocms-attributes-field
176176
.. |coverage| image:: https://codecov.io/gh/django-cms/djangocms-attributes-field/branch/master/graph/badge.svg
177-
:target: https://codecov.io/gh/divio/djangocms-attributes-field
177+
:target: https://codecov.io/gh/django-cms/djangocms-attributes-field
178178

179179
.. |python| image:: https://img.shields.io/pypi/pyversions/djangocms-attributes-field
180180
:alt: PyPI - Python Version
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '4.1.0'
1+
__version__ = '4.1.1'

djangocms_attributes_field/fields.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
from django.utils.html import conditional_escape, mark_safe
1010
from django.utils.translation import gettext_lazy as _
1111

12-
from .utils import DJANGO_2_2
1312
from .widgets import AttributesWidget
1413

1514
regex_key_validator = RegexValidator(regex=r'^[a-z][-a-z0-9_:]*\Z',
Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
1-
from distutils.version import LooseVersion
21
from platform import python_version
32

43
from django import get_version
54

65
DJANGO_VERSION = get_version()
76
PYTHON_VERSION = python_version()
8-
9-
# These means "less than or equal to DJANGO_FOO_BAR"
10-
DJANGO_2_2 = LooseVersion(DJANGO_VERSION) < LooseVersion('3.0')

0 commit comments

Comments
 (0)