-
Notifications
You must be signed in to change notification settings - Fork 21
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: Install pip and pip-tools in upgrade script #70
Conversation
b8b76ef
to
701a988
Compare
Hello! Can you check the failing tests? they might be related to the libraries update for docs.in |
8ccb628
to
a2319f5
Compare
doc8==0.10.1 # reStructuredText style checker | ||
edx_sphinx_theme==3.0.0 # edX theme for Sphinx output | ||
readme_renderer==30.0 # Validates README.rst for usage on PyPI | ||
Sphinx==4.5.0 # Documentation builder |
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.
why don't you add these constraints into the constraints.txt? & justify them please
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.
This worked for me in the constraints.txt, then I just get some doc errors but it doesn't crash
doc8==0.10.1
edx_sphinx_theme==3.0.0
Sphinx==4.5.0
This is how I tested after installing tox:
TOXENV=docs tox
But remember to justify the pinning. Do we need it?
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.
I did it to test if new package versions were a problem
Sphinx # Documentation builder | ||
doc8==0.10.1 # reStructuredText style checker | ||
edx_sphinx_theme==3.0.0 # edX theme for Sphinx output | ||
readme_renderer==30.0 # Validates README.rst for usage on PyPI |
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.
Try with readme-renderer
Usama Sadiq will carry this forward |
# edX opaque keys Django constraint | ||
django < 3.0, >= 2.2 |
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.
You should remove this constraint since it's a bit old
I think I made this work by:
Also adding |
Hello there @UsamaSadiq! We're eager to push this PR forward with the changes suggested. Is there something we can do? Let me know! |
Sure @mariajgrimaldi , I'll finalise the PR with suggested changes within next week and will let you know. |
Hello there! I merged some changes that may fix your CI issue, so you might not need more changes. |
@mariajgrimaldi I don't have access to update this PR and Jawayria has changed her team so I've created a new PR with all the suggested changes. |
Got it! @UsamaSadiq, thanks for continuing this! |
Updated the upgrade target script to check the compatibility of upgraded pip and pip-tools versions. For reference, look at this openedx/edx-repo-health#271 for new check added in edx-repo-health.