Skip to content

CI Use lock files for CircleCI doc builds #23429

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

Merged
merged 11 commits into from
May 24, 2022

Conversation

lesteve
Copy link
Member

@lesteve lesteve commented May 20, 2022

Part of #22425

@lesteve
Copy link
Member Author

lesteve commented May 20, 2022

The full doc build succeeded see here

# are using them for our min-dependencies doc generation. See
# https://www.anaconda.com/why-we-removed-the-free-channel-in-conda-4-7/ for
# more details.
if [[ "$CIRCLE_JOB" == "doc-min-dependencies" ]]; then
Copy link
Member Author

Choose a reason for hiding this comment

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

This is from a while ago and only made sense when we were using the defaults channel (now using conda-forge) so I removed this

@@ -15,7 +15,7 @@
import warnings
import re
from datetime import datetime
from packaging.version import parse
Copy link
Member Author

Choose a reason for hiding this comment

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

packaging was installed in the environment, this is not needed since we are vendoring packaging

Copy link
Member

@thomasjpfan thomasjpfan left a comment

Choose a reason for hiding this comment

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

Thank you for the PR!

"numpydoc",
"sphinx-prompt",
],
# scikit-image min version (0.14.3) not available through conda-forge
Copy link
Member

Choose a reason for hiding this comment

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

Can we bump scikit-image to 0.16.2, which has a version on conda-forge for py38?

From scikit-image's pypi release history, 0.14.3 was released on 6/11/19, and 0.16.2 was on 10/22/19. Our min supported numpy 1.17.3 was released on 10/17/19.

@lesteve
Copy link
Member Author

lesteve commented May 23, 2022

I updated the min scikit-image version to 0.16.2.

Both full doc builds succeeded: doc and doc-min-dependencies

I'll fix the errors in the next commit (wrong version in README.rst).

Copy link
Member

@thomasjpfan thomasjpfan left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@ogrisel ogrisel left a comment

Choose a reason for hiding this comment

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

LGTM as well!

@ogrisel ogrisel merged commit de65c26 into scikit-learn:main May 24, 2022
@lesteve lesteve deleted the ci-lock-file-circle branch May 24, 2022 14:20
glemaitre pushed a commit to glemaitre/scikit-learn that referenced this pull request Aug 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants