-
Notifications
You must be signed in to change notification settings - Fork 326
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
fix missing sphinx testing dependencies #1751
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice to know I did not break anything 😔 thanks for looking into this and sending a fix.
Will still work on improving our CI/tests in the next few days
argh. things that work locally aren't working when run via the action. Will revisit next week, but if anyone knows the right combination of |
I can sort it out when I am back at work on Tuesday. |
OK I think I got it @trallard. The 3.12 CI is still failing, but it's failing at the codecov upload step, not when trying to import defusedxml when running the tests. |
fi | ||
set -x # print commands | ||
python -m pip install --upgrade pip wheel setuptools | ||
python -m pip install -e .["$1"] ${SPHINX_INSTALL} $2 $DEP_EXTRA |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FYI $DEP_EXTRA
is probably cruft from whoever we copied this file from. It's never used by us.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can leave it for now 🤷🏽♀️ the whole thing needs an overhaul
Let's merge this as is since the codecov bit is the missing one atm |
* fix missing sphinx testing dependencies * do the specifier correctly * fix quoting * fix again * try another way * try quoting again * try without whitespace
cc @trallard this should fix the
defusedxml
errors. It was added as a new optional dependency to sphinx within the last week. It seems like we were already getting all the other sphinx[test]
deps in other ways (just by luck) so strictly speaking I could have just added[test]
to the sphinx dev URL, but why leave it fragile if we don't have to.