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

Package rebuild - pyhd8ed1ab_1.conda breaks conda-lock on py312 #11

Open
1 task done
rxm7706 opened this issue Oct 25, 2024 · 0 comments
Open
1 task done

Package rebuild - pyhd8ed1ab_1.conda breaks conda-lock on py312 #11

rxm7706 opened this issue Oct 25, 2024 · 0 comments
Labels

Comments

@rxm7706
Copy link
Contributor

rxm7706 commented Oct 25, 2024

Solution to issue cannot be found in the documentation.

  • I checked the documentation.

Issue

Package rebuild - caused issues ModuleNotFoundError: No module named 'html5lib.contrib' and breaks conda-lock

Downgrade back to conda install "html5lib==1.1=pyh9f0ad1d_0" fixes the issue.
https://pypi.org/project/html5lib-modern/ appears to be new release of https://github.com/html5lib/html5lib-python
versus https://pypi.org/project/html5lib/ which is currently used in the feedstock

Reference - html5lib/html5lib-python#577 (comment)

Traceback (most recent call last):
  File "/home/rxm7706/programs/miniconda3/bin/conda-lock", line 6, in <module>
    from conda_lock import main
  File "/home/rxm7706/programs/miniconda3/lib/python3.12/site-packages/conda_lock/__init__.py", line 3, in <module>
    from conda_lock.conda_lock import main
  File "/home/rxm7706/programs/miniconda3/lib/python3.12/site-packages/conda_lock/conda_lock.py", line 50, in <module>
    from conda_lock.conda_solver import solve_conda
  File "/home/rxm7706/programs/miniconda3/lib/python3.12/site-packages/conda_lock/conda_solver.py", line 19, in <module>
    from conda_lock.interfaces.vendored_poetry import (
  File "/home/rxm7706/programs/miniconda3/lib/python3.12/site-packages/conda_lock/interfaces/vendored_poetry.py", line 9, in <module>
    from conda_lock._vendor.poetry.factory import Factory
  File "/home/rxm7706/programs/miniconda3/lib/python3.12/site-packages/conda_lock/_vendor/poetry/factory.py", line 18, in <module>
    from .repositories.pypi_repository import PyPiRepository
  File "/home/rxm7706/programs/miniconda3/lib/python3.12/site-packages/conda_lock/_vendor/poetry/repositories/pypi_repository.py", line 15, in <module>
    from html5lib.html5parser import parse
  File "/home/rxm7706/programs/miniconda3/lib/python3.12/site-packages/html5lib/__init__.py", line 24, in <module>
    from .html5parser import HTMLParser, parse, parseFragment
  File "/home/rxm7706/programs/miniconda3/lib/python3.12/site-packages/html5lib/html5parser.py", line 1, in <module>
    from . import _inputstream
  File "/home/rxm7706/programs/miniconda3/lib/python3.12/site-packages/html5lib/_inputstream.py", line 9, in <module>
    from .contrib import webencodings
ModuleNotFoundError: No module named 'html5lib.contrib'

Installed packages

conda-lock

Environment info

python 3.12 with conda-lock

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

No branches or pull requests

1 participant