-
Notifications
You must be signed in to change notification settings - Fork 247
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
Dropping Python 2.7 host support #265
Conversation
43ceb09
to
91fffc4
Compare
Can't seem to (easily & quickly) install a Python 3.5 on a macOS CI, but following @mayeut's example, see
|
75c9b93
to
f359211
Compare
@Czaki I remember there was a situation where |
I need to check. If i good remember it is connected with checking if proper messages are produced in #156. But now this check are in unit_test part (or can be done here). You can check it or wart few hours. |
f359211
to
ced41db
Compare
I think you are right. But I cannot immediately find it. There's no hurry. And don't worry if you do not find it; it's not very important. Just wondering if you remembered. |
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.
Cool! All good. I also spotted some legacy here:
appveyor.yml
Outdated
matrix: | ||
- image: Ubuntu | ||
- image: Visual Studio 2015 | ||
PYTHON_VERSION: 36 |
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.
Very minor (sorry!), PYTHON_DIR: C:\\Python36
might be clearer than this?
Thanks, @joerick! All done, committed, and pushed, except for:
I just removed the shebang line, there; it feels a bit weird for |
ced41db
to
ce7341d
Compare
ce7341d
to
7932ccc
Compare
If you would have said something here, I could have quickly done it here, instead of with the PR on a PR, @Czaki... |
2f03102
to
35754a9
Compare
It was easier to test then suggest change. But when i have code then it is easier to make PR than write. Unfortunatelly github does not allow to add comments to lines which are not changed... I promise to suggest such simple changes as comment. |
Ah, I see :-) Sorry, then. But I would've found those |
When I starting I think that it will need more changes. But I agree that this change is prety simple. |
f9f3e86
to
c78f5c3
Compare
I agree with this - the pathlib stuff will be nice, but only when we can use them as conveniently as string paths. Just had another look over it, the rest looks good - thanks for the suggestions @Czaki. Merge when you're ready! |
The Appveyor fail is... weird... it looks like the Ubuntu image is trying to run the Windows |
Why adding step to appveyor? This one is not pararell so it will increase time with waiting on test result. |
c78f5c3
to
cf8fda5
Compare
Because Windows wasn't covered that well, yet. And because I also thought it would be good to try a 64-bit and 32-bit test. Does it take so long? AppVeyor is always the slowest anyway, because it doesn't cancel old builds (although that can be configured). |
I'm trying again. It used to work, because some build succeeded, before, I thought. Or maybe it just didn't fail yet. |
cf8fda5
to
f135cd1
Compare
OK, maybe it never worked :-( |
a122a6f
to
3f641c2
Compare
Maybe better is to add this test to azure pilenes? It has python 32-bits and parallelism work (10 workers) I think that problem is with using matrix. |
@Czaki ^ See what I just did? |
Didn't fancy debugging the AppVeyor config, again. The proposed CI table now looks like this:
@joerick Do you agree with fully trying to cover those different versions, or are those extra two Azure builds too much? |
3f641c2
to
165e51a
Compare
You write about Windows 32 bits test. I do not see them anywhere. It can be done on azure pipelines with : - task: UsePythonVersion@0
inputs:
versionSpec: '3.6'
#addToPath: true
architecture: 'x86' # Options: x86, x64 (this argument applies only on Windows agents) |
AppVeyor is 32-bit by default (https://www.appveyor.com/docs/windows-images-software/#python) |
I'm not concerned about host 32/64 bit tbh, that's only a concern on the build side. As far as the matrix goes, i think it's good to cover all platforms on 3.5 and the latest, I'm not too worried about gaps in the middle. But where possible, it's good to spread them out and avoid duplicates. |
OK, then let's keep it like this. Azure is often fast and parallel enough, and if builds start being too slow, we can easily drop it again. Let's also try to keep |
See #245