Skip to content

Support Python 3.12 #262

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

Merged
merged 1 commit into from
Feb 9, 2025
Merged

Support Python 3.12 #262

merged 1 commit into from
Feb 9, 2025

Conversation

goulinkh
Copy link
Contributor

@goulinkh goulinkh commented Jan 31, 2025

Done

  • Upgrade flask-base to 2.2.0.dev0, see PyPI page
  • Update Dockerfile to use latest Ubuntu LTS version (noble) which comes with Python 3.12 preinstalled

QA

  • Setup dependencies: docker compose up -d
  • Update your .env with the proper postgres and swift access
  • Run the project locally with dotrun, which is running with Python 3.10
  • Make sure that the website is running locally: http://0.0.0.0:8017/
  • Run the following command to build the docker image locally: docker build . -t assets-ubuntu-com
  • Run the following command to start the service: docker run --env-file=.env -p 8017:80 assets-ubuntu-com
  • Make sure that the website is running locally: http://0.0.0.0:8017/

@jpmartinspt
Copy link
Contributor

Seems good!

@goulinkh goulinkh merged commit 6085309 into main Feb 9, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants