Skip to content

The setuptools requirement is inconsistent and sometimes breaks #481

@ferrine

Description

@ferrine

Description

after f627d2d
The setuptools requirement in pyprojec.toml got inconsistent, setuptools has >=48.0.0 requirement while the errors module got updated relatively recently in setuptools

pypa/setuptools@974dbb0

If any package pins setuptools below the required version, pymc import breaks.

I think we should revert f627d2d and import CompileError from distutils as before

I use this hack so far

from distutils.errors import CompileError
import setuptools.errors
setuptools.errors.CompileError = CompileError
import pymc as pm

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingdependenciesPull requests that update a dependency file

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions