creativecommons / legaldb

CC Legal Database: curated repository of Case Law and Scholarship data from around the world in a Django based website.
https://LegalDB.CreativeCommons.org/
MIT License
46 stars 69 forks source link

Update Python modules #261

Closed TimidRobot closed 3 weeks ago

TimidRobot commented 3 weeks ago

Description

Technical details

--- piplist.old 2024-10-31 13:48:55
+++ piplist.new 2024-10-31 13:48:55
@@ -1,10 +1,13 @@
 Package              Version
 asgiref              3.8.1
-black                24.8.0
+asttokens            2.4.1
+babel                2.16.0
+black                24.10.0
 certifi              2024.8.30
+charset-normalizer   3.4.0
 click                8.1.7
-distlib              0.3.8
-dj-database-url      2.2.0
+distlib              0.3.9
+dj-database-url      2.3.0
 Django               4.2.16
 django-appconf       1.0.6
 django-compressor    4.5.1
@@ -16,31 +19,40 @@
 django-taggit        4.0.0
 django-widget-tweaks 1.5.0
 factory_boy          3.3.1
-Faker                28.4.1
-filelock             3.16.0
+Faker                30.8.2
+filelock             3.16.1
 flake8               7.1.1
+future               1.0.0
 gunicorn             23.0.0
+idna                 3.10
 isort                5.13.2
 libsass              0.23.0
 Markdown             3.7
 mccabe               0.7.0
 mypy-extensions      1.0.0
 packaging            24.1
+parsimonious         0.10.0
 pathspec             0.12.1
-pillow               10.4.0
-pip                  24.2
-pipenv               2024.0.1
-platformdirs         4.3.2
-psycopg2             2.9.9
+pillow               11.0.0
+pip                  24.3.1
+pipenv               2024.3.1
+platformdirs         4.3.6
+polib                1.2.0
+psycopg2             2.9.10
 pycodestyle          2.12.1
 pyflakes             3.2.0
+pyseeyou             1.0.2
 python-dateutil      2.9.0.post0
 rcssmin              1.1.2
+regex                2024.9.11
+requests             2.32.3
 rjsmin               1.2.2
-setuptools           74.1.2
+setuptools           75.3.0
 six                  1.16.0
 sqlparse             0.5.1
+toolz                1.0.0
+transifex-python     3.5.0
 typing_extensions    4.12.2
 urllib3              2.2.3
-virtualenv           20.26.4
-whitenoise           6.7.0
+virtualenv           20.27.1
+whitenoise           6.8.2

Tests

Unit tests

command:

docker compose exec app ./manage.py test

output excerpt:

Ran 13 tests in 2.111

OK

Quick QA

Checklist

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 commented 3 weeks ago

Deployed to Production

Per deploy_to_heroku.md:

git push heroku main; date
Enumerating objects: 196, done.
Counting objects: 100% (155/155), done.
Delta compression using up to 10 threads
Compressing objects: 100% (53/53), done.
Writing objects: 100% (106/106), 41.11 KiB | 13.70 MiB/s, done.
Total 106 (delta 73), reused 82 (delta 51), pack-reused 0 (from 0)
remote: Resolving deltas: 100% (73/73), completed with 25 local objects.
remote: Updated 150 paths from a99446d
remote: Compressing source files... done.
remote: Building source:
remote: 
remote: -----> Building on the Heroku-24 stack
remote: -----> Using buildpack: heroku/python
remote: -----> Python app detected
remote: -----> Using Python 3.12 specified in Pipfile.lock
remote: -----> Restoring cache
remote: -----> Using cached install of Python 3.12.7
remote: -----> Installing pip 24.0, setuptools 70.3.0 and wheel 0.44.0
remote: -----> Installing Pipenv 2024.0.1
remote: -----> Installing SQLite3
remote: -----> Installing dependencies with Pipenv
remote:        Installing dependencies from Pipfile.lock (9debb0)...
remote: -----> $ python manage.py collectstatic --noinput
remote:        480 static files copied to '/tmp/build_77659805/staticfiles', 884 post-processed.
remote: 
remote: -----> Discovering process types
remote:        Procfile declares types -> release, web
remote: 
remote: -----> Compressing...
remote:        Done: 75.1M
remote: -----> Launching...
remote:  !     Release command declared: this new release will not be available until the command succeeds.
remote:        Released v70
remote:        https://fast-eyrie-10628.herokuapp.com/ deployed to Heroku
remote: 
remote: Verifying deploy... done.
remote: Running release command...
remote: 
remote: Operations to perform:
remote:   Apply all migrations: admin, auth, contenttypes, legal_db, sessions, taggit
remote: Running migrations:
remote:   No migrations to apply.
remote:   Your models in app(s): 'legal_db' have changes that are not yet reflected in a migration, and so won't be applied.
remote:   Run 'manage.py makemigrations' to make new migrations, and then re-run 'manage.py migrate' to apply them.
To https://git.heroku.com/fast-eyrie-10628.git
   fb273cc..5000396  main -> main
Fri Nov  1 08:07:52 PDT 2024