Skip to content

This updates the poetry.lock and pyproject.toml for django 4.2.25#964

Merged
sfisher merged 1 commit intomainfrom
960-upgrade-django-to-4225-to-resolve-security-issue
Oct 30, 2025
Merged

This updates the poetry.lock and pyproject.toml for django 4.2.25#964
sfisher merged 1 commit intomainfrom
960-upgrade-django-to-4225-to-resolve-security-issue

Conversation

@sfisher
Copy link
Contributor

@sfisher sfisher commented Oct 23, 2025

closes #960

This fixes a security issue with the previous version of Django. (This is a minor version upgrade.)

I ran all the tests which pass. I also ran the api tests and looked at the UI and I don't see any issues.

Along the way I had lots of problems since OS updates have happened for the XCode tools and also broke some things in homebrew and I had to reinstall mysql in homebrew and re-initialize the test database. Because of that I also had to change the tests.py to use 127.0.0.1 rather than localhost for running tests because it seems in newer versions of MySQL localhost defaults to a socket (which was causing me grief) rather than TCP unless I change this from localhost to 127.0.0.1. I think this is something with MySQL 9+ maybe since previously 8.4 was installed.

If there is any reason to think this will break things for someone else then I can revert, but I suspect it may also cause other people issues if they run into the same problem I did, so committing it.

…also had to change the `tests.py` to use 127.0.0.1 rather than localhost for running tests because it seems in newer versions of MySQL localhost defaults to a socket (which was causing me grief) rather than TCP. I think this may help other people, also.
@sfisher sfisher requested a review from datadavev October 23, 2025 23:41
@sfisher sfisher linked an issue Oct 23, 2025 that may be closed by this pull request
@sfisher sfisher merged commit 6bd91bb into main Oct 30, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Upgrade Django to 4.2.25 to resolve security issue

2 participants