Skip to content

Conversation

vladsavelyev
Copy link

@vladsavelyev vladsavelyev commented Oct 12, 2023

Fix compatibility with Python 3.12:

  File "/miniconda3/envs/py3.12/lib/python3.12/site-packages/lzstring/__init__.py", line 11, in <module>
    from future import standard_library
  File "/miniconda3/envs/py3.12/lib/python3.12/site-packages/future/standard_library/__init__.py", line 65, in <module>
    import imp
ModuleNotFoundError: No module named 'imp'

(from MultiQC/MultiQC#2112 (comment))

This breaks Python 2 compatibility though, so probably could be a good excuse to get rid of the Python 2 code? 😄

@eight04
Copy link

eight04 commented Oct 28, 2023

@bluenote10
Copy link

Would it be possible to release a version to PyPI with Python 3.12 support?

ewels added a commit to conda-forge/lzstring-feedstock that referenced this pull request Jan 1, 2025
@ewels
Copy link

ewels commented Jan 1, 2025

Just released a patched version on conda-forge, in case it's helpful for any googlers: conda-forge/lzstring-feedstock#9

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.

4 participants