-
Notifications
You must be signed in to change notification settings - Fork 804
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 installing in 'venv' and datetime tests on Windows #472
Conversation
Codecov Report
@@ Coverage Diff @@
## master #472 +/- ##
=======================================
Coverage 87.87% 87.87%
=======================================
Files 65 65
Lines 3398 3398
=======================================
Hits 2986 2986
Misses 412 412 Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #472 +/- ##
==========================================
- Coverage 87.87% 87.85% -0.02%
==========================================
Files 65 65
Lines 3398 3393 -5
==========================================
- Hits 2986 2981 -5
Misses 412 412
Continue to review full report at Codecov.
|
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.
In addition to the issue I mentioned about pip
or pep517.build
vs setup.py
, I think this is the wrong way to do this test. These are a bunch of system commands, so there's no need to write this in Rust, or to use conditional compilation here.
I think maybe start by just adding a script to the CI that you invoke on Appveyor that executes one of these builds.
I also don't see the fix here, is that coming in a later commit?
There should be different script for Travis CI as well? To be sure that I'm not breaking something. If so, where to place scripts? Directly in YAML configurations? |
👍
In ci/travis/test.sh or so. |
@lycantropos @kngwyu I think Appveyor is the important one, but having it on Travis doesn't hurt. I think maybe |
How about using |
what should we do with this kind of message: ./ci/travis/test.sh: line 6: cargo: command not found
The command "./ci/travis/test.sh" exited with 127. ? |
@kngwyu: I'm not so familiar with |
Not kngwyu, but anyways: The cool thing about tox is that it creates the venv itself. If the correct python version is active, you should only need to call |
I've added Finally, we have errors related to |
I've manually found edge-cases for
I can also add this as a separate test. |
@lycantropos |
I thought that there is no way of merging if tests fail. Also I do not know what is left to do or I can add entry to changelog and we are done? |
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.
If you could, please at least justify the formatting changes you've made, they seem somewhat arbitrary. If we're going to be doing formatting changes, we should adopt black
for the Python portions of the code, and do that in a separate PR.
I think the per-platform bounds tweaking is probably fine, at least for now.
I changed the title instead of separating the PR |
It's merged at last, thanks. |
This is based on PyO3/pyo3#472
This is based on PyO3/pyo3#472
Resolves #468.
cargo fmt
(This is checked by travis ci).cargo clippy
and check there are no hard errors (There are a bunch of existing warnings; This is also checked by travis).