Skip to content

Conversation

@TimidRobot
Copy link
Member

Fixes

Description

  • Update Python modules (Django 4.2.23, urllib3 2.5.0, requests 2.32.4, etc.)
  • Update Dockerfile to improve Python module build process
  • ⚠️ docker compose build should be run after updating

Technical details

Commands:

pipenv requirements > requires.old
pipenv update --dev
pipenv lock --dev
pipenv requirements > requires.new
diff -u requires.old requires.new

Output

--- requires.old	2025-06-25 18:59:02
+++ requires.new	2025-06-25 18:58:36
@@ -1,34 +1,34 @@
 -i https://pypi.org/simple
 asgiref==3.8.1; python_version >= '3.8'
 asttokens==3.0.0; python_version >= '3.8'
-babel==2.16.0; python_version >= '3.8'
-beautifulsoup4==4.12.3; python_full_version >= '3.6.0'
-certifi==2024.12.14; python_version >= '3.6'
-charset-normalizer==3.4.1; python_version >= '3.7'
-click==8.1.8; python_version >= '3.7'
+babel==2.17.0; python_version >= '3.8'
+beautifulsoup4==4.13.4; python_full_version >= '3.7.0'
+certifi==2025.6.15; python_version >= '3.7'
+charset-normalizer==3.4.2; python_version >= '3.7'
+click==8.2.1; python_version >= '3.10'
 colorlog==6.9.0; python_version >= '3.6'
 dealer==2.1.0
-django==4.2.17; python_version >= '3.8'
+django==4.2.23; python_version >= '3.8'
 future==1.0.0; python_version >= '2.6' and python_version not in '3.0, 3.1, 3.2'
 gitdb==4.0.12; python_version >= '3.7'
 gitpython==3.1.44; python_version >= '3.7'
 idna==3.10; python_version >= '3.6'
-isodate==0.6.1
-lxml==5.3.0; python_version >= '3.6'
+lxml==5.4.0; python_version >= '3.6'
 parsimonious==0.10.0
 polib==1.2.0
-pyparsing==3.2.1; python_version >= '3.9'
+pyparsing==3.2.3; python_version >= '3.9'
 pyseeyou==1.0.2
 python-dateutil==2.9.0.post0; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2'
 pyyaml==6.0.2; python_version >= '3.8'
-rdflib==7.1.1; python_full_version >= '3.8.1' and python_full_version < '4.0.0'
+rdflib==7.1.4; python_full_version >= '3.8.1' and python_full_version < '4.0.0'
 regex==2024.11.6; python_version >= '3.8'
-requests==2.32.3; python_version >= '3.8'
+requests==2.32.4; python_version >= '3.8'
 six==1.17.0; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2'
 smmap==5.0.2; python_version >= '3.7'
-soupsieve==2.6; python_version >= '3.8'
+soupsieve==2.7; python_version >= '3.8'
 sqlparse==0.5.3; python_version >= '3.8'
 toolz==1.0.0; python_version >= '3.8'
 transifex-python==3.5.0
-urllib3==2.3.0; python_version >= '3.9'
-whitenoise==6.8.2; python_version >= '3.9'
+typing-extensions==4.14.0; python_version >= '3.9'
+urllib3==2.5.0; python_version >= '3.9'
+whitenoise==6.9.0; python_version >= '3.9'

Tests

Unit tests and coverage

Command:

./dev/coverage.sh

Output excerpt:

Name    Stmts   Miss Branch BrPart    Cover   Missing
-----------------------------------------------------
TOTAL    1800      0    590      0  100.00%

20 files skipped due to complete coverage.

Published files

  • verified that the Python module updates do not cause any changes to published files
    1. cc-legal-tools-app: Published files:
      • Command:
        ./bin/publish.sh
    2. cc-legal-tools-data: verified there were no changes:
      • Command:
        git status
      • Output excerpt:
        nothing to commit, working tree clean
        

Checklist

  • My pull request has a descriptive title (not a vague title like Update index.md).
  • My pull request targets the default branch of the repository (main or master).
  • My commit messages follow best practices.
  • My code follows the established code style of the repository.
  • I added or updated tests for the changes I made (if applicable).
  • I added or updated documentation (if applicable).
  • I tried running the project locally and verified that there are no
    visible errors.

Developer Certificate of Origin

For the purposes of this DCO, "license" is equivalent to "license or public domain dedication," and "open source license" is equivalent to "open content license or public domain dedication."

Developer Certificate of Origin
Developer Certificate of Origin
Version 1.1

Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
1 Letterman Drive
Suite D4700
San Francisco, CA, 94129

Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.


Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
    have the right to submit it under the open source license
    indicated in the file; or

(b) The contribution is based upon previous work that, to the best
    of my knowledge, is covered under an appropriate open source
    license and I have the right under that license to submit that
    work with modifications, whether created in whole or in part
    by me, under the same open source license (unless I am
    permitted to submit under a different license), as indicated
    in the file; or

(c) The contribution was provided directly to me by some other
    person who certified (a), (b) or (c) and I have not modified
    it.

(d) I understand and agree that this project and the contribution
    are public and that a record of the contribution (including all
    personal information I submit with it, including my sign-off) is
    maintained indefinitely and may be redistributed consistent with
    this project or the open source license(s) involved.

@TimidRobot TimidRobot self-assigned this Jun 25, 2025
@TimidRobot TimidRobot requested review from a team as code owners June 25, 2025 18:54
@github-project-automation github-project-automation bot moved this to Triage in TimidRobot Jun 25, 2025
@TimidRobot TimidRobot merged commit 407b4ec into main Jun 25, 2025
3 checks passed
@TimidRobot TimidRobot deleted the python-updates branch June 25, 2025 19:16
@github-project-automation github-project-automation bot moved this from Triage to Done in TimidRobot Jun 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants