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

Add missed pinning dependencies #260

Merged
merged 3 commits into from
Nov 1, 2023

Conversation

Czaki
Copy link
Contributor

@Czaki Czaki commented Oct 31, 2023

Description

Closes #259
using the constraints file pins back sphinx_tags to 0.2.1 which is compatible with sphinx<5

@Czaki Czaki added the maintenance CI, dependencies, and other maintenance label Oct 31, 2023
@Czaki Czaki added this to the 0.5.0 milestone Oct 31, 2023
@@ -52,7 +52,7 @@ jobs:
name: Install python dependencies
command: |
. venv/bin/activate
python -m pip install -r requirements.txt
python -m pip install -r requirements.txt -c "napari/resources/constraints/constraints_py3.10_docs.txt"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The import failure in #259 is due to sphinx < 5
(That import requires sphinx >5.1)
#256 (comment)

Copy link
Member

@psobolewskiPhD psobolewskiPhD Oct 31, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes. constraints pins sphinx-tags and napari-sphinx-theme.

And until update constraints files there will be no problem.

Of course, relax sphinx in requirements.txt is required for constraints compilation provide newer sphinx and napari-sphinx-theme

@Czaki Czaki force-pushed the fix_dependecies_pin branch from 908c0d9 to d08ca5a Compare October 31, 2023 13:31
@github-actions github-actions bot added the task label Oct 31, 2023
Copy link
Member

@melissawm melissawm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds good, then!

@psobolewskiPhD
Copy link
Member

psobolewskiPhD commented Oct 31, 2023

@Czaki Can't suggest, but don't we need the constraint to be set in the Build phase too?
Line 60

environment:
            PIP_CONSTRAINTS: ../resources/constraints/constraints_py3.10_docs.txt

Same in the build_docs, but like like 51/52

@psobolewskiPhD
Copy link
Member

Merging to get docs to build

@psobolewskiPhD psobolewskiPhD merged commit 9c82ab9 into napari:main Nov 1, 2023
@Czaki Czaki deleted the fix_dependecies_pin branch November 1, 2023 20:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance CI, dependencies, and other maintenance task
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Docs build is failing
3 participants