Page MenuHomePhabricator

CI setuptools tox docker test failling on cergen.git
Closed, ResolvedPublic

Description

https://gerrit.wikimedia.org/r/#/c/432977/ ( cergen.git )

And from https://integration.wikimedia.org/ci/job/cergen-tox-docker/27/console

/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'python_requires'

Not totally sure what is happening here. This library is Python 3 only, perhaps the python2.7 tox Docker image is not compatible? Not sure.

Event Timeline

hashar renamed this task from CI setuptools tox docker test failling to CI setuptools tox docker test failling on cergen.git.May 16 2018, 10:34 AM
hashar updated the task description. (Show Details)

The same issue happened on research/recommendation-api.git It is due to setuptools_scm 2.0.0+ which is not compatible with the setuptools version being shipped in the CI containers. https://gerrit.wikimedia.org/r/#/c/428644/ fixed it by pinning setuptools_scm < 2.0.0.

I don't think a task got filled. I think I did the debugging with Bmansurov over IRC #wikimedia-releng on April 24th.

Vvjjkkii renamed this task from CI setuptools tox docker test failling on cergen.git to qzcaaaaaaa.Jul 1 2018, 1:09 AM
Vvjjkkii triaged this task as High priority.
Vvjjkkii updated the task description. (Show Details)
Vvjjkkii removed a subscriber: Aklapper.
thcipriani renamed this task from qzcaaaaaaa to CI setuptools tox docker test failling on cergen.git.Jul 1 2018, 6:55 PM
thcipriani updated the task description. (Show Details)
CommunityTechBot raised the priority of this task from High to Needs Triage.Jul 5 2018, 6:42 PM
hashar claimed this task.

Fixed by setting setuptools_scm < 2.0.0 in setup.py setup_requires:

https://gerrit.wikimedia.org/r/#/c/cergen/+/432977/3..4/setup.py