Skip to content
This repository has been archived by the owner on Jan 29, 2024. It is now read-only.

Sets bicep to python 3.12 #254

Open
1 of 4 tasks
kjaymiller opened this issue Nov 15, 2023 · 7 comments
Open
1 of 4 tasks

Sets bicep to python 3.12 #254

kjaymiller opened this issue Nov 15, 2023 · 7 comments
Milestone

Comments

@kjaymiller
Copy link
Owner

kjaymiller commented Nov 15, 2023

Minimum Support

to support using the latest version of Python we should version bump our bicep to include the latest version.

Doing the most

Do you think it would be sensible to provide a list of options for python (even as a hidden value that could be overwritten that sets any of our supported versions)

Versions:

  • Flask
    • Flask, PG Flexible, App Service
  • FastAPI
  • Django
@kjaymiller
Copy link
Owner Author

cc @pamelafox

@kjaymiller kjaymiller added this to the V1.1 milestone Nov 15, 2023
@pamelafox
Copy link
Collaborator

Is it going to work for all the templates? I think aiohttp is still pending 3.12 support? I worry about using 3.12 already if many folks are going to have issues as soon as they bring in other packages.

@kjaymiller
Copy link
Owner Author

Currently we aren't using aiohttp for anything.

This is definitely why I was considering doing a hidden configurable value.

@kjaymiller
Copy link
Owner Author

kjaymiller commented Dec 1, 2023

Currently testing changes in Flask with postgres-flexible-appservice

@kjaymiller
Copy link
Owner Author

kjaymiller commented Dec 1, 2023

@pamelafox

Projected option for this would be to have a __python_version that can be called with cruft and cookiecutter. The default will be 3.12 but this can be overriden

cruft update --variables-to-update '{"__python_version": "3.11"}'

@pamelafox
Copy link
Collaborator

Okay would we need to run that on all the existing templates then?

@kjaymiller
Copy link
Owner Author

yup working on it

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants