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

[FEATURE] Enable testing for python 3.13 #289

Open
figueroa1395 opened this issue Jan 22, 2025 · 1 comment
Open

[FEATURE] Enable testing for python 3.13 #289

figueroa1395 opened this issue Jan 22, 2025 · 1 comment
Labels
feature New feature or request

Comments

@figueroa1395
Copy link
Contributor

As found in 0310c66, even though power-grid-model-io supports Python 3.13, one of its dependencies, namely pandapower, does not. However, since this is a [dev] dependency and it's only used for testing purposes, we can solve it separately, i.e. with this issue. Furthermore, this issue is about enabling python 3.13 for testing in the CI.

Possible solutions

  1. One possible way to go, and assuming pandapower doesn't support Python 3.13 soon, is to split the testing actions in two parts each: One for everything related with this dependency and the other for the rest. The first action, would be for Python 3.11 and 3.12 only, whereas the second would be tested in all supported Python versions available.
  2. Another way, is to possibly wait until this is fixed on the dependency side, and only then upgrade the testing on the CI to Python 3.13.

My proposed solutions are not exhaustive, so feel free to add anything you might consider appropriate.

@figueroa1395 figueroa1395 added the feature New feature or request label Jan 22, 2025
@mgovers
Copy link
Member

mgovers commented Jan 22, 2025

What about using the version_info (https://docs.python.org/3/library/sys.html#sys.version_info) combined with pytest.mark.skip on the pandapower tests?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants