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 #144

Closed TimidRobot closed 1 year ago

TimidRobot commented 1 year ago

Fixes

Fixes #143

Description

Update Python modules

Technical details

--- piplist.old 2023-02-06 14:14:23
+++ piplist.new 2023-02-06 14:25:04
@@ -3,2 +3,2 @@
-asgiref              3.5.2
-black                22.10.0
+asgiref              3.6.0
+black                23.1.0
@@ -8,2 +8,2 @@
-dj-database-url      1.0.0
-Django               3.2.16
+dj-database-url      1.2.0
+Django               3.2.17
@@ -11,2 +11,2 @@
-django-compressor    4.1
-django-countries     7.4.2
+django-compressor    4.3.1
+django-countries     7.5.1
@@ -20 +20 @@
-Faker                15.3.2
+Faker                16.6.1
@@ -22 +22 @@
-flake8               5.0.4
+flake8               6.0.0
@@ -24 +24 @@
-isort                5.10.1
+isort                5.12.0
@@ -28,3 +28,4 @@
-mypy-extensions      0.4.3
-pathspec             0.10.2
-Pillow               9.3.0
+mypy-extensions      1.0.0
+packaging            23.0
+pathspec             0.11.0
+Pillow               9.4.0
@@ -33 +34 @@
-platformdirs         2.5.4
+platformdirs         3.0.0
@@ -35,2 +36,2 @@
-pycodestyle          2.9.1
-pyflakes             2.5.0
+pycodestyle          2.10.0
+pyflakes             3.0.1
@@ -38,4 +39,4 @@
-pytz                 2022.6
-rcssmin              1.1.0
-rjsmin               1.2.0
-setuptools           65.6.0
+pytz                 2022.7.1
+rcssmin              1.1.1
+rjsmin               1.2.1
+setuptools           67.1.0
@@ -49 +50 @@
-whitenoise           6.2.0
+whitenoise           6.3.0

Tests

Ran 13 tests in 2.625s

Checklist

- [x] My pull request has a descriptive title (not a vague title like `Update index.md`). - [x] My pull request targets the *default* branch of the repository (`main` or `master`). - [x] My commit messages follow [best practices][best_practices]. - [x] 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). - [x] I tried running the project locally and verified that there are no visible errors. [best_practices]:https://gist.github.com/robertpainsi/b632364184e70900af4ab688decf6f53 ## 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

Deployed to Production

Per deploy_to_heroku.md:

git push heroku main
Enumerating objects: 12, done.
Counting objects: 100% (12/12), done.
Delta compression using up to 10 threads
Compressing objects: 100% (8/8), done.
Writing objects: 100% (8/8), 10.15 KiB | 10.15 MiB/s, done.
Total 8 (delta 5), reused 0 (delta 0), pack-reused 0
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.9
remote: -----> Installing pip 22.3.1, setuptools 63.4.3 and wheel 0.37.1
remote: -----> Installing dependencies with Pipenv 2020.11.15
remote:        Installing dependencies from Pipfile.lock (da57df)...
remote:        Collecting django-compressor==4.3.1
remote:          Downloading django_compressor-4.3.1-py2.py3-none-any.whl (148 kB)
remote:             ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 149.0/149.0 kB 570.5 kB/s eta 0:00:00
remote:        Installing collected packages: django-compressor
remote:          Attempting uninstall: django-compressor
remote:            Found existing installation: django-compressor 4.1
remote:            Uninstalling django-compressor-4.1:
remote:              Successfully uninstalled django-compressor-4.1
remote:        WARNING: Ignoring invalid distribution -jango-countries (/tmp/build_62cded0d/.heroku/python/lib/python3.10/site-packages)
remote:        Successfully installed django-compressor-4.3.1
remote:        WARNING: Ignoring invalid distribution -sgiref (/tmp/build_62cded0d/.heroku/python/lib/python3.10/site-packages)
remote:        WARNING: Ignoring invalid distribution -sgiref (/tmp/build_62cded0d/.heroku/python/lib/python3.10/site-packages)
remote:        Collecting pillow==9.4.0
remote:          Downloading Pillow-9.4.0-cp310-cp310-manylinux_2_28_x86_64.whl (3.4 MB)
remote:             ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.4/3.4 MB 17.7 MB/s eta 0:00:00
remote:        Installing collected packages: pillow
remote:          Attempting uninstall: pillow
remote:            WARNING: Ignoring invalid distribution -sgiref (/tmp/build_62cded0d/.heroku/python/lib/python3.10/site-packages)
remote:            Found existing installation: Pillow 9.3.0
remote:            Uninstalling Pillow-9.3.0:
remote:              Successfully uninstalled Pillow-9.3.0
remote:        WARNING: Ignoring invalid distribution -jango (/tmp/build_62cded0d/.heroku/python/lib/python3.10/site-packages)
remote:        Successfully installed pillow-9.4.0
remote:        WARNING: Ignoring invalid distribution -sgiref (/tmp/build_62cded0d/.heroku/python/lib/python3.10/site-packages)
remote:        WARNING: Ignoring invalid distribution -sgiref (/tmp/build_62cded0d/.heroku/python/lib/python3.10/site-packages)
remote:        Collecting pytz==2022.7.1
remote:          Downloading pytz-2022.7.1-py2.py3-none-any.whl (499 kB)
remote:             ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 499.4/499.4 kB 2.3 MB/s eta 0:00:00
remote:        Installing collected packages: pytz
remote:          Attempting uninstall: pytz
remote:            WARNING: Ignoring invalid distribution -sgiref (/tmp/build_62cded0d/.heroku/python/lib/python3.10/site-packages)
remote:            Found existing installation: pytz 2022.6
remote:            Uninstalling pytz-2022.6:
remote:              Successfully uninstalled pytz-2022.6
remote:        Successfully installed pytz-2022.7.1
remote:        Collecting rcssmin==1.1.1
remote:          Downloading rcssmin-1.1.1-cp310-cp310-manylinux1_x86_64.whl (49 kB)
remote:             ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 49.8/49.8 kB 367.9 kB/s eta 0:00:00
remote:        Installing collected packages: rcssmin
remote:          Attempting uninstall: rcssmin
remote:            Found existing installation: rcssmin 1.1.0
remote:            Uninstalling rcssmin-1.1.0:
remote:              Successfully uninstalled rcssmin-1.1.0
remote:        WARNING: Ignoring invalid distribution -ytz (/tmp/build_62cded0d/.heroku/python/lib/python3.10/site-packages)
remote:        Successfully installed rcssmin-1.1.1
remote:        Collecting rjsmin==1.2.1
remote:          Downloading rjsmin-1.2.1-cp310-cp310-manylinux1_x86_64.whl (34 kB)
remote:        Installing collected packages: rjsmin
remote:          Attempting uninstall: rjsmin
remote:            Found existing installation: rjsmin 1.2.0
remote:            Uninstalling rjsmin-1.2.0:
remote:              Successfully uninstalled rjsmin-1.2.0
remote:        WARNING: Ignoring invalid distribution -hitenoise (/tmp/build_62cded0d/.heroku/python/lib/python3.10/site-packages)
remote:        Successfully installed rjsmin-1.2.1
remote: -----> Installing SQLite3
remote: -----> $ python manage.py collectstatic --noinput
remote:        397 static files copied to '/tmp/build_62cded0d/staticfiles', 686 post-processed.
remote: 
remote: -----> Discovering process types
remote:        Procfile declares types -> release, web
remote: 
remote: -----> Compressing...
remote:        Done: 59.4M
remote: -----> Launching...
remote:  !     Release command declared: this new release will not be available until the command succeeds.
remote:        Released v38
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.
To https://git.heroku.com/fast-eyrie-10628.git
   ffe0706..f949f5c  main -> main