mhu/4-port-to-django-5.1 Port to recent Django version #18

Merged
sst merged 13 commits from mhu/4-port-to-django-5.1 into develop 2024-11-19 00:03:22 +01:00
Owner

I upgraded the versions of Django and the associated libraries.
I removed quite some libraries, as I did not really get, why they were in the requirements.txt:

Removed:

  • six
  • pytz
  • qrcode

Current Dependency tree:

crispy-bootstrap5==2024.10
├── Django [required: >=4.2, installed: 5.1.3]
│   ├── asgiref [required: >=3.8.1,<4, installed: 3.8.1]
│   └── sqlparse [required: >=0.3.1, installed: 0.4.1]
└── django-crispy-forms [required: >=2.3, installed: 2.3]
    └── Django [required: >=4.2, installed: 5.1.3]
        ├── asgiref [required: >=3.8.1,<4, installed: 3.8.1]
        └── sqlparse [required: >=0.3.1, installed: 0.4.1]
django-filter==2.4.0
└── Django [required: >=2.2, installed: 5.1.3]
    ├── asgiref [required: >=3.8.1,<4, installed: 3.8.1]
    └── sqlparse [required: >=0.3.1, installed: 0.4.1]
django-qr-code==4.1.0
├── Django [required: >=4.2, installed: 5.1.3]
│   ├── asgiref [required: >=3.8.1,<4, installed: 3.8.1]
│   └── sqlparse [required: >=0.3.1, installed: 0.4.1]
├── pydantic [required: >=2.7, installed: 2.9.2]
│   ├── annotated-types [required: >=0.6.0, installed: 0.7.0]
│   ├── pydantic_core [required: ==2.23.4, installed: 2.23.4]
│   │   └── typing_extensions [required: >=4.6.0,!=4.7.0, installed: 4.12.2]
│   └── typing_extensions [required: >=4.6.1, installed: 4.12.2]
└── segno [required: >=1.6, installed: 1.6.1]
django-rest-framework==0.1.0
└── djangorestframework [required: Any, installed: 3.15.2]
    └── Django [required: >=4.2, installed: 5.1.3]
        ├── asgiref [required: >=3.8.1,<4, installed: 3.8.1]
        └── sqlparse [required: >=0.3.1, installed: 0.4.1]
django-tex==1.1.10
├── Django [required: >=2.2, installed: 5.1.3]
│   ├── asgiref [required: >=3.8.1,<4, installed: 3.8.1]
│   └── sqlparse [required: >=0.3.1, installed: 0.4.1]
└── Jinja2 [required: >=2.9, installed: 3.0.1]
    └── MarkupSafe [required: >=2.0, installed: 2.0.1]
gunicorn==21.2.0
└── packaging [required: Any, installed: 24.2]
Pillow==8.3.1
pipdeptree==2.23.4
├── packaging [required: >=24.1, installed: 24.2]
└── pip [required: >=24.2, installed: 24.3.1]
psycopg2-binary==2.9.9
pylint==2.9.6
├── astroid [required: >=2.6.5,<2.7, installed: 2.6.5]
│   ├── lazy-object-proxy [required: >=1.4.0, installed: 1.6.0]
│   ├── setuptools [required: >=20.0, installed: 75.3.0]
│   └── wrapt [required: >=1.11,<1.13, installed: 1.12.1]
├── isort [required: >=4.2.5,<6, installed: 5.9.3]
├── mccabe [required: >=0.6,<0.7, installed: 0.6.1]
└── toml [required: >=0.7.1, installed: 0.10.2]
requests==2.32.3
├── certifi [required: >=2017.4.17, installed: 2024.8.30]
├── charset-normalizer [required: >=2,<4, installed: 3.4.0]
├── idna [required: >=2.5,<4, installed: 3.10]
└── urllib3 [required: >=1.21.1,<3, installed: 2.2.3]
I upgraded the versions of Django and the associated libraries. I removed quite some libraries, as I did not really get, why they were in the `requirements.txt`: Removed: - `six` - `pytz` - `qrcode` Current Dependency tree: ``` crispy-bootstrap5==2024.10 ├── Django [required: >=4.2, installed: 5.1.3] │ ├── asgiref [required: >=3.8.1,<4, installed: 3.8.1] │ └── sqlparse [required: >=0.3.1, installed: 0.4.1] └── django-crispy-forms [required: >=2.3, installed: 2.3] └── Django [required: >=4.2, installed: 5.1.3] ├── asgiref [required: >=3.8.1,<4, installed: 3.8.1] └── sqlparse [required: >=0.3.1, installed: 0.4.1] django-filter==2.4.0 └── Django [required: >=2.2, installed: 5.1.3] ├── asgiref [required: >=3.8.1,<4, installed: 3.8.1] └── sqlparse [required: >=0.3.1, installed: 0.4.1] django-qr-code==4.1.0 ├── Django [required: >=4.2, installed: 5.1.3] │ ├── asgiref [required: >=3.8.1,<4, installed: 3.8.1] │ └── sqlparse [required: >=0.3.1, installed: 0.4.1] ├── pydantic [required: >=2.7, installed: 2.9.2] │ ├── annotated-types [required: >=0.6.0, installed: 0.7.0] │ ├── pydantic_core [required: ==2.23.4, installed: 2.23.4] │ │ └── typing_extensions [required: >=4.6.0,!=4.7.0, installed: 4.12.2] │ └── typing_extensions [required: >=4.6.1, installed: 4.12.2] └── segno [required: >=1.6, installed: 1.6.1] django-rest-framework==0.1.0 └── djangorestframework [required: Any, installed: 3.15.2] └── Django [required: >=4.2, installed: 5.1.3] ├── asgiref [required: >=3.8.1,<4, installed: 3.8.1] └── sqlparse [required: >=0.3.1, installed: 0.4.1] django-tex==1.1.10 ├── Django [required: >=2.2, installed: 5.1.3] │ ├── asgiref [required: >=3.8.1,<4, installed: 3.8.1] │ └── sqlparse [required: >=0.3.1, installed: 0.4.1] └── Jinja2 [required: >=2.9, installed: 3.0.1] └── MarkupSafe [required: >=2.0, installed: 2.0.1] gunicorn==21.2.0 └── packaging [required: Any, installed: 24.2] Pillow==8.3.1 pipdeptree==2.23.4 ├── packaging [required: >=24.1, installed: 24.2] └── pip [required: >=24.2, installed: 24.3.1] psycopg2-binary==2.9.9 pylint==2.9.6 ├── astroid [required: >=2.6.5,<2.7, installed: 2.6.5] │ ├── lazy-object-proxy [required: >=1.4.0, installed: 1.6.0] │ ├── setuptools [required: >=20.0, installed: 75.3.0] │ └── wrapt [required: >=1.11,<1.13, installed: 1.12.1] ├── isort [required: >=4.2.5,<6, installed: 5.9.3] ├── mccabe [required: >=0.6,<0.7, installed: 0.6.1] └── toml [required: >=0.7.1, installed: 0.10.2] requests==2.32.3 ├── certifi [required: >=2017.4.17, installed: 2024.8.30] ├── charset-normalizer [required: >=2,<4, installed: 3.4.0] ├── idna [required: >=2.5,<4, installed: 3.10] └── urllib3 [required: >=1.21.1,<3, installed: 2.2.3] ```
mhu added 4 commits 2024-11-18 20:23:57 +01:00
mhu changed title from mhu/4-port-to-django-5.1 Port to recent Django version to WIP: mhu/4-port-to-django-5.1 Port to recent Django version 2024-11-18 20:23:59 +01:00
mhu added 1 commit 2024-11-18 20:56:29 +01:00
mhu added 1 commit 2024-11-18 20:58:44 +01:00
mhu added 1 commit 2024-11-18 21:08:59 +01:00
mhu added 5 commits 2024-11-18 21:28:41 +01:00
mhu added 1 commit 2024-11-18 21:31:28 +01:00
mhu changed title from WIP: mhu/4-port-to-django-5.1 Port to recent Django version to mhu/4-port-to-django-5.1 Port to recent Django version 2024-11-18 21:37:34 +01:00
mhu requested review from sst 2024-11-18 21:37:39 +01:00
mhu added this to the v0.1.0 Release milestone 2024-11-18 21:37:45 +01:00
Collaborator

Nice one - cleaned up the views :)

...runs well on my test system - did not compare the views in detail - should work :)

Nice one - cleaned up the views :) ...runs well on my test system - did not compare the views in detail - should work :)
sst merged commit a54cd33880 into develop 2024-11-19 00:03:22 +01:00
sst deleted branch mhu/4-port-to-django-5.1 2024-11-19 00:03:22 +01:00
Sign in to join this conversation.
No reviewers
sst
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: mhu/shimatta-kenkyusho#18
No description provided.