Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maintenance work and django upgrade #404

Merged
merged 8 commits into from
Oct 14, 2021
Merged

Maintenance work and django upgrade #404

merged 8 commits into from
Oct 14, 2021

Conversation

camallen
Copy link
Contributor

This PR came about due to the need to update Django package. Sadly the existing package manager pipenv failed in it's jobs to do so as it either wouldn't update the package in isolation (pypa/pipenv#2412 (comment)) or it would update everything including Django.

Sadly this application has 0 tests so we can't verify system behaviour without manual testing. This also means we are in trouble when bulk update all the dependencies.

Acknowledging the long running issues with pipenv, I decided to switch to the poetry package manager which just worked™️. I used the https://pypi.org/project/pipenv-poetry-migrate/ to migrate our current Pipfile to a poetry project file and then installed updated the packages**.

As such this PR provides the Django upgrade we desired and a more functional development / testing environment for future work.

** this did indeed update some packages that had less restrictive version constraints in the Pipfile and thus required manual testing of the system as it stood. I manually tested the servers & workers start via docker-compose up and i could access the project home pages and click around without error. More testing will be done on the main deployment, sadly as this has no staging system deployment :sadpanda:

@camallen camallen merged commit 2cda39e into master Oct 14, 2021
@camallen camallen deleted the bump-django branch October 14, 2021 08:56
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.

1 participant