Skip to content

Commit

Permalink
replace awesome-slugify with python-slugify (#1531, #1547)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikkonie committed Jan 20, 2025
1 parent 910ceb5 commit ed935b5
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ Changed
- **General**
- Upgrade minimum Django version to v4.2.18 (#1531)
- Upgrade general Python dependencies (#1531)
- Replace ``awesome-slugify`` dependency with ``python-slugify`` (#1531, #1547)
- Use ``SODARAPI*`` API view base classes instead of ``CoreAPI*`` (#1401)
- Declare app setting definitions as ``PluginAppSettingDef`` objects (#1456)
- **Projectroles**
Expand Down
4 changes: 4 additions & 0 deletions docs/source/major_changes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ General Python Dependencies
Third party Python package dependencies have been upgraded. See the
``requirements`` directory for up-to-date package versions and upgrade your
project.
Slugify Dependency Updated
Dependency to the out-of-date ``awesome-slugify`` package has been replaced
with ``python-slugify>=8.0.4``. It is recommended to change the dependency
accordingly in your project.

Site Read-Only Mode
-------------------
Expand Down
4 changes: 2 additions & 2 deletions requirements/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ argon2-cffi>=21.3.0, <21.4
psycopg2-binary>=2.9.10, <2.10

# Unicode slugification
# TODO: Remove or replace? See #1547
awesome-slugify>=1.6.5, <1.7
# NOTE: Replaces awesome-slugify, see #1547
python-slugify>=8.0.4, <8.1

# Time zones support
pytz>=2024.2
Expand Down

0 comments on commit ed935b5

Please sign in to comment.