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

Run CI for Python3.9 #4647

Merged
merged 5 commits into from
Oct 1, 2020
Merged

Run CI for Python3.9 #4647

merged 5 commits into from
Oct 1, 2020

Conversation

skshetry
Copy link
Member

Run CI for Python3.9, skips hdfs tests for 3.9
d673e2a

Also, dvc[hdfs] install will be a no-op till we have
a pyarrow wheel for 3.9.

Note that this does not add an entry to the classifier
claiming it supports 3.9, that will be added when 3.9
gets released (or, wait for pyarrow to be released).

Thank you for the contribution - we'll try to review it as soon as possible. 🙏

Also, `dvc[hdfs]` install will be a no-op till we have
a pyarrow wheel for 3.9.

Note that this does not add an entry to the classifier
claiming it supports 3.9, that will be added when 3.9
gets released (or, wait for pyarrow to be released).
Also, fix the python version regex for `3.9.0b5` like versions.
@skshetry skshetry self-assigned this Sep 30, 2020
libxml does not have wheels for Python39.
We do compile them on Linux and Mac
@skshetry skshetry marked this pull request as ready for review September 30, 2020 10:24
@skshetry skshetry added the build Issues/features related to building dvc install packages. label Sep 30, 2020
@skshetry skshetry added this to In progress in DVC 22 September - 6 October 2020 via automation Sep 30, 2020
@skshetry skshetry moved this from In progress to Review in progress in DVC 22 September - 6 October 2020 Sep 30, 2020
@skshetry
Copy link
Member Author

These test failures look completely unrelated. Looks like CI is not that stable.

@skshetry skshetry added the ci I keep failing, you keep fixing label Sep 30, 2020
tests/unit/test_info.py Outdated Show resolved Hide resolved
from tests.unit.output.test_local import TestLocalOutput


@pytest.mark.skipif(PY39, reason=PYARROW_NOT_AVAILABLE)
Copy link
Member

Choose a reason for hiding this comment

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

I guess we could've created a custom marker, but this will do too.

@@ -1,4 +1,10 @@
import os
import sys

# FIXME: Search and replace these from the tests if pyarrow wheel is available
Copy link
Member

@efiop efiop Sep 30, 2020

Choose a reason for hiding this comment

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

This will get lost. How about a ticket? (Yeah, that one could be lost too 🙂 ).

Copy link
Member Author

@skshetry skshetry Oct 1, 2020

Choose a reason for hiding this comment

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

It won't, as I will come to this next week, as soon as Python3.9 gets released.

Windows tests for Python3.8 was failing
intermittently.

Note: Also removed the realpath wrap around self.root_dir as it's already a
realpath when `Git` is instantiated.
Comment on lines +180 to 181
if not path_isin(os.path.realpath(gitignore), self.root_dir):
raise FileNotInRepoError(path)
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 exception here does not seem very precise,

@skshetry skshetry requested a review from efiop October 1, 2020 05:59
@efiop efiop merged commit fc6999a into master Oct 1, 2020
DVC 22 September - 6 October 2020 automation moved this from Review in progress to Done Oct 1, 2020
@delete-merged-branch delete-merged-branch bot deleted the python3.9-ci branch October 1, 2020 07:41
@efiop
Copy link
Member

efiop commented Oct 1, 2020

Thank you! 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Issues/features related to building dvc install packages. ci I keep failing, you keep fixing
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

2 participants