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

Specify astroid<2.0 for setuptools #16

Closed
tnir opened this issue May 26, 2018 · 1 comment
Closed

Specify astroid<2.0 for setuptools #16

tnir opened this issue May 26, 2018 · 1 comment

Comments

@tnir
Copy link
Contributor

tnir commented May 26, 2018

Due to missing ignore of pre-release packages in setuptools pypa/setuptools#855 and the existence of astroid pre-released 2.0.0.dev0, we should encounter the following failure when some packages (e.g., pylint) are installed together.

setup.py

setuptools.setup(
    install_requires=[
        'pylint==1.9.1',
        'requirements-detector==0.5.2'
    ],
)

Results with failures

See https://readthedocs.org/projects/prospector/builds/7247785/ (https://github.com/PyCQA/prospector project's docs build).

Solutions

To prevent this problem, we can add a workaround specifying astroid<2.0 to this requirements-detector project's requirements in its setup.py.

@tnir tnir changed the title Distut Specify astroid<2.0 for setuptools May 26, 2018
@carlio
Copy link
Member

carlio commented Jul 22, 2018

No longer necessary with version 0.6 as it is now working with the astroid 2.0 final release which was created not long ago.

@carlio carlio closed this as completed Jul 22, 2018
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 a pull request may close this issue.

2 participants