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

Continuous integration build failure: tox dependency installation #698

Closed
jayaddison opened this issue Dec 13, 2022 · 2 comments · Fixed by #702
Closed

Continuous integration build failure: tox dependency installation #698

jayaddison opened this issue Dec 13, 2022 · 2 comments · Fixed by #702
Labels

Comments

@jayaddison
Copy link
Collaborator

Recent continuous integration builds have been failing with an error similar to the following on Ubuntu and Windows platforms:

  File "/opt/hostedtoolcache/Python/3.11.0/x64/lib/python3.11/site-packages/tox/config/loader/str_convert.py", line 66, in to_command
    if args[0] != "-" and args[0].startswith("-"):
       ~~~~^^^

This seems to be related to installation of dependencies by tox, based on this log output line:

    self.installer.install(requirements_file, PythonRun.__name__, "deps")

(which corresponds to this line of the tox.ini configuration, I think)

@jayaddison
Copy link
Collaborator Author

On closer inspection, I think that something has changed in a recent version of tox, related to handling of environment names.

We use an environment name, py-darwin, to install a precompiled binary wheel of lxml on OSX-based platforms.

That may also explain why this failure occurs on Ubuntu and Windows, and the failure does not occur on OSX.

@jayaddison
Copy link
Collaborator Author

On closer inspection, I think that something has changed in a recent version of tox, related to handling of environment names.

Reported upstream to tox at tox-dev/tox#2695.

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