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
44 stars 54 forks source link

update python modules #157

Closed TimidRobot closed 1 year ago

TimidRobot commented 1 year ago

Fixes

Fixes #155, fixes #156:

Description

update python modules

Technical details

--- piplist.old 2023-05-18 10:46:05
+++ piplist.new 2023-05-18 10:46:05
@@ -3,2 +3,2 @@
-black                23.1.0
-certifi              2022.12.7
+black                23.3.0
+certifi              2023.5.7
@@ -7,2 +7,2 @@
-dj-database-url      1.2.0
-Django               3.2.18
+dj-database-url      2.0.0
+Django               3.2.19
@@ -14,3 +14,3 @@
-django-markdownx     3.0.1
-django-ordered-model 3.7.1
-django-taggit        3.1.0
+django-markdownx     4.0.2
+django-ordered-model 3.7.4
+django-taggit        4.0.0
@@ -19,2 +19,2 @@
-Faker                17.6.0
-filelock             3.10.7
+Faker                18.9.0
+filelock             3.12.0
@@ -25 +25 @@
-Markdown             3.4.1
+Markdown             3.4.3
@@ -28,7 +28,7 @@
-packaging            23.0
-pathspec             0.11.0
-Pillow               9.4.0
-pip                  23.0.1
-pipenv               2023.3.20
-platformdirs         3.1.0
-psycopg2             2.9.5
+packaging            23.1
+pathspec             0.11.1
+Pillow               9.5.0
+pip                  23.1.2
+pipenv               2023.4.29
+platformdirs         3.5.1
+psycopg2             2.9.6
@@ -38 +38 @@
-pytz                 2022.7.1
+pytz                 2023.3
@@ -41 +41 @@
-setuptools           67.5.1
+setuptools           67.7.2
@@ -43 +43 @@
-sqlparse             0.4.3
+sqlparse             0.4.4
@@ -46 +46 @@
-virtualenv           20.21.0
+virtualenv           20.23.0

Tests

docker compose exec app ./manage.py test
Ran 13 tests in 1.909s

OK

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 1 year ago

Cowboy Commits 😬

  1. 0ab0544ffe3e38f916db9ae1b328b8f8754e32df
  2. 69b66a025e6a14a41d21d2af1b6cf80adc699841

Deployed to Production

Per deploy_to_heroku.md:

git push heroku main
Enumerating objects: 15, done.
Counting objects: 100% (15/15), done.
Delta compression using up to 10 threads
Compressing objects: 100% (11/11), done.
Writing objects: 100% (11/11), 9.00 KiB | 9.00 MiB/s, done.
Total 11 (delta 7), reused 0 (delta 0), pack-reused 0
remote: Updated 62 paths from 4418ba6
remote: Compressing source files... done.
remote: Building source:
remote: 
remote: -----> Building on the Heroku-22 stack
remote: -----> Using buildpack: heroku/python
remote: -----> Python app detected
remote: -----> Using Python version specified in Pipfile.lock
remote: -----> Using cached install of python-3.10.11
remote: -----> Installing pip 23.1.2, setuptools 67.7.2 and wheel 0.40.0
remote: -----> Installing dependencies with Pipenv 2023.2.4
remote:        Installing dependencies from Pipfile.lock (25c54a)...
remote: -----> Installing SQLite3
remote: -----> $ python manage.py collectstatic --noinput
remote:        397 static files copied to '/tmp/build_84996229/staticfiles', 705 post-processed.
remote: 
remote: -----> Discovering process types
remote:        Procfile declares types -> release, web
remote: 
remote: -----> Compressing...
remote:        Done: 58M
remote: -----> Launching...
remote:  !     Release command declared: this new release will not be available until the command succeeds.
remote:        Released v42
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: Waiting for release.... done.
To https://git.heroku.com/fast-eyrie-10628.git
   c5be63d..69b66a0  main -> main