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

Support for Python 3.12 #583

Merged
merged 31 commits into from
Jan 16, 2025
Merged

Support for Python 3.12 #583

merged 31 commits into from
Jan 16, 2025

Conversation

sei-secheverria
Copy link
Contributor

Mostly addresses #569, to add support for Python 3.12 to MLTE. More specifically:

  • Updated supported versions in package and documentation to Python 3.12
  • Updated Scenarios Demo model to new Keras format, to be able to use newest Tensorflow that supports Python 3.12
  • Updated all dependencies that could be updated, to ensure compatibility with 3.12, and to get newest updates
  • Removed demo-mac group, special macos package no longer needed with Tensorflow 2.17+

Also some minor project packaging and setup improvements:

  • Added mandatory requirement to use Poetry 2.0, to take advantage of its improvements (and specifically, to 2.0.1, which fixes some release bugs in 2.0)
  • Updated pyproject.toml to use standard project section as much as possible, since it is now supported by Poetry
  • Improved and fixed some errors in Python versions and badges reported when uploading package to PyPi
  • Updated JSON schemas, apparently due to new items now used by pydantic
  • Fixed some internal document link bugs
  • Some formatting changes due to new rules in formatter dependency tools

# Conflicts:
#	docs/docs/development.md
…d, aded supported Python versions to badges in Readme
…d, aded supported Python versions to badges in Readme
…aster with validator changes (diff rules in 3.12? new lib version for flake?)
…feature/python-3.12

# Conflicts:
#	poetry.lock
@sei-secheverria sei-secheverria merged commit 582c376 into master Jan 16, 2025
11 checks passed
@sebastian-echeverria sebastian-echeverria deleted the feature/python-3.12 branch January 16, 2025 20:04
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.

3 participants