Skip to content

setuptools fixed to 65.x.y #25

@martin-rainlabs

Description

@martin-rainlabs

When I pip install peakrdl-markdown, setuptools gets downgraded from whatever it was (76.0.0 today) to 65.7.0.
pip says:

Collecting setuptools<66.0.0,>=65.5.1 (from peakrdl-markdown)

In your pyproject.toml I see:

[tool.poetry.dependencies]
...
setuptools = { version = "^65.5.1", python = ">=3.7" }

which I think is the origin of this constraint (I'm shaky on the relationship between poetry and pip).

The outdated setuptools then leads to problems using Sphinx, and I suspect with anything that does dynamic module import:

Versions
========

* Platform:         linux; (Linux-6.11.0-17-generic-x86_64-with-glibc2.39)
* Python version:   3.12.3 (CPython)
* Sphinx version:   8.2.3
* Docutils version: 0.21.2
* Jinja2 version:   3.1.6
* Pygments version: 2.19.1

Traceback
=========

      File ".../.venv/lib/python3.12/site-packages/pkg_resources/__init__.py", line 2191, in <module>
        register_finder(pkgutil.ImpImporter, find_on_path)
                        ^^^^^^^^^^^^^^^^^^^
    AttributeError: module 'pkgutil' has no attribute 'ImpImporter'. Did you mean: 'zipimporter'?

Please can you revise your dependencies?
Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions