Skip to content

Feature/support py39 and above - #153

Open
Louwrensth wants to merge 7 commits into
iterorganization:developfrom
Louwrensth:feature/support-py39-and-above
Open

Louwrensth wants to merge 7 commits into
iterorganization:developfrom
Louwrensth:feature/support-py39-and-above

Conversation

@Louwrensth

Copy link
Copy Markdown
Contributor

In this PR

  1. Since we (still) produce an IMAS-Core py39 wheel, let's prepare IMAS-Python for it:

  2. Also, expand to building and testing to modern Python 3.14 and 3.15, now that the saxonche dependency is available for those.

  3. Also, maybe some small clean ups along the way.

Commits

the argument was also useless: ip and method are made to be equal in length in previous statement
Build wheels with newest python build toolchain to catch novel build errors.
BTW, saxonche is available on 3.14 and 3.15.
Linting with oldest python supported to catch syntax errors not yet supported.
drop unused numpy from build-system
simplify clasifiers to Python :: 3
Comment thread pyproject.toml
"rich",
"scipy",
"click",
"importlib_resources;python_version<'3.9'",

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also remove the try/except structures in the code base? For example:

try:
from importlib.resources import files
except ImportError: # Python 3.8 support
from importlib_resources import files

@olivhoenen

Copy link
Copy Markdown
Collaborator

imas_core for 3.15 will also need to be prepared @Louwrensth

This branch has not been deployed

No deployments
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