-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
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
CI: Ensure all minimum optional dependencies are tested #45103
Conversation
58419df
to
f703d55
Compare
you updated the dev deps for this? cc @lithomas1 can you review |
Don't think so. lxml and openpyxl don't have pins in |
@@ -289,7 +291,21 @@ def test_stata_options(fsspectest): | |||
|
|||
|
|||
@td.skip_if_no("tabulate") | |||
def test_markdown_options(fsspectest): | |||
def test_markdown_options(request, fsspectest): |
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.
use @pytest.importorskip
here with minversion?(pretty sure the issue here is with fsspec's min version only, but not sure).
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.
With @pytest.importorskip
I think I would have to specify the min version + 1 to guarantee skipping the min version. I think the +1 aspect isn't as simple as adding +1 to whatever comes out of __version__
- pip: | ||
- py |
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 add py
? Also I'm pretty sure this is available on conda-forge. https://anaconda.org/conda-forge/py
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.
Ah cool I'll install the conda-forge version.
We have some tests that run on py.path
objects
pandas/pandas/tests/io/test_common.py
Line 42 in cbefe18
from py.path import local as LocalPath |
Thought maybe in a follow up we should remove/discourage because it appears py.path is in maintenance only mode.
thanks @mroeschke @lithomas1 |
Progress towards #29685
actions-38-minimum_versions.yaml
now contains all optional dependencies with their min versionsactions-38-db.yaml
->actions-38-downstream_compat.yaml
actions-38-db-min.yaml
removed as redundant withactions-38-minimum_versions.yaml
Discoveries:
Min version of lxml and openpyxl with
.xlsm
or.xlsx
doesn't seem to work. Need to bump to openpyxl to 3.0.9 https://openpyxl.readthedocs.io/en/stable/changes.html#id47