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

Remove future dependency #440

Merged
merged 2 commits into from
Sep 4, 2023
Merged

Remove future dependency #440

merged 2 commits into from
Sep 4, 2023

Conversation

cdce8p
Copy link
Contributor

@cdce8p cdce8p commented Sep 2, 2023

The project already requires Python 3.8 or newer. There is no reason to keep the future dependency any longer.
This will be necessary to provide support for Python 3.12, as future doesn't seem to be updated any longer and the current version will be incompatible with 3.12. PythonCharmers/python-future#246

https://github.com/poljar/matrix-nio/blob/5354a4d5c03b9b85f36f0b8e5c153a6fe5dec8f9/pyproject.toml#L19

venv/lib/python3.11/site-packages/future/standard_library/__init__.py:65
  /.../venv/lib/python3.11/site-packages/future/standard_library/__init__.py:65: DeprecationWarning:
      the imp module is deprecated in favour of importlib and slated for removal in Python 3.12; see the module's documentation for alternative uses
    import imp

Fixes #435

@PaarthShah PaarthShah merged commit ea4c9c0 into matrix-nio:main Sep 4, 2023
@cdce8p cdce8p deleted the remove-future branch September 5, 2023 06:06
justin-russell pushed a commit to justin-russell/matrix-nio that referenced this pull request Sep 11, 2023
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.

Python 2 compatibility and dependency on future
3 participants