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

Infra: Python 3.12+ support (2024) #1753

Closed
dennissiemensma opened this issue Nov 30, 2022 · 4 comments
Closed

Infra: Python 3.12+ support (2024) #1753

dennissiemensma opened this issue Nov 30, 2022 · 4 comments

Comments

@dennissiemensma
Copy link
Member

Feature

Future Python version(s), but has some incompatible changes. Some are 3rd party, some are internal.

../opt/venv/lib/python3.11/site-packages/pytest_cov/plugin.py:256
  /opt/venv/lib/python3.11/site-packages/pytest_cov/plugin.py:256: PytestDeprecationWarning: The hookimpl CovPlugin.pytest_configure_node uses old-style configuration options (marks or attributes).
  Please use the pytest.hookimpl(optionalhook=True) decorator instead
   to configure the hooks.
   See https://docs.pytest.org/en/latest/deprecations.html#configuring-hook-specs-impls-using-markers
    def pytest_configure_node(self, node):
../opt/venv/lib/python3.11/site-packages/django/http/request.py:1
  /opt/venv/lib/python3.11/site-packages/django/http/request.py:1: DeprecationWarning: 'cgi' is deprecated and slated for removal in Python 3.13
    import cgi
../opt/venv/lib/python3.11/site-packages/django/utils/encoding.py:266
  /opt/venv/lib/python3.11/site-packages/django/utils/encoding.py:266: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead
    encoding = locale.getdefaultlocale()[1] or 'ascii'
dsmr_backend/tests/services/test_backend.py: 4 warnings
dsmr_frontend/tests/webinterface/test_about.py: 22 warnings
dsmr_frontend/tests/webinterface/test_generic.py: 44 warnings
  /app/dsmr_backend/services/backend.py:124: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
    if StrictVersion(comparable_release_tag) <= StrictVersion(local_version):

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
@dennissiemensma dennissiemensma added this to the 6.0 milestone Nov 30, 2022
@dennissiemensma dennissiemensma changed the title Python 3.12+ support Python 3.12+ support (2024) Jul 21, 2023
@dennissiemensma
Copy link
Member Author

Nu nog in pre-release, pas in Q4 ofzo stable.

@dennissiemensma dennissiemensma changed the title Python 3.12+ support (2024) Infra: Python 3.12+ support (2024) Feb 23, 2024
@GieltjE
Copy link

GieltjE commented Jul 1, 2024

De eerste OS'en hebben deze ondertussen als stable gemarkeerd.

@dennissiemensma
Copy link
Member Author

@GieltjE dank voor de update!

Het plan voor DSMR-reader 6.x is een flinke bump. Sterker nog, alleen Python 3.12 wordt dan nog ondersteund icm containers:

Dit om het upgraden flink te versimpelen.

@dennissiemensma
Copy link
Member Author

Inmiddels zit de v6-x werk-branch ook al op 3.12:

Dus ik sluit deze.

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

No branches or pull requests

2 participants