Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork939
Commit8dc4cb0
committed
Use Python 3.9.16 on Cygwin CI
The latest currently packaged version of Python 3.9 for Cygwin is3.9.18 (provided by the Cygwin package python39 at version3.9.18-1). That version, at least as we are using it, has a problemwhere pip has begun to block on some PyPI package downloads.In73ebcfa (EliahKagan#2), I worked around this problem bydowngrading the minor version of Python to 3.8. But it is better touse 3.9 if we can, since it is currently the latest minor versionof Python in the Cygwin repositories, and also because (relating tothat) it is used more often, and thus probably used more often withGitPython, than 3.8.This upgrades Python on Cygwin but not all the way. It upgrades itto the latest (or latest currently available) patch version of 3.9packaged for Cygwin of those that strictly precede 3.9.18 where theproblem occurs. That version is 3.9.16, provided by the Cygwinpackage python39 at version 3.9.16-1.This version may eventually no longer be available for downloadfrom Cygwin's repositories, so hopefully a real solution or betterworkaround will be found by then, or perhaps a future update to thepackage itself will fix the problem.I also tried some more other stuff since finding 3.8 to work in73ebcfa. Changes since then are listed below. They can be examinedin full detail, with individual diffs and CI results, atEliahKagan#3.* Try Python 3.9 with other details the sameChanging it to Python 3.8 worked, but I want to check that it wasactually the use of Python 3.8, rather than other seemingly smallchanges made to support using Python 3.8, that made the difference.* Revert "Try Python 3.9 with other details the same"This reverts commitb55cbfb.* Try 3.9 again, with both python39=3.9.16-1 python39-pip=23.0.1-1* Back to 3.8; try another GitHub ActionPython 3.8 worked with cygwin-install-action, but I want to makethe change to setup-cygwin by itself first before trying it with3.9, in case I am using setup-cygwin incorrectly.* Try 3.9 with this setup-cygwin action* Try pinning with setup-cygwin* Try not pinning, but no -U for PyPA, with setup-cygwinPinning and skipping -U for PyPA packages worked. Let's see if itwas really pinning that made the difference.* Try pinning just python39-pipPinning works, and merely omitting the -U for PyPA package doesn't.Examining the output of runs that used install-cygwin-action andattemped pinning Cygwin package versions shows newer versions wereinstalled, whereas pinning is really happening with setup-cygwin.This tries pinning just the Cygwin package for pip, rather than forPython 3.9. I don't expect this to work.* Try pinning just python39=3.9.16-1And not pip, but this does not add back the -U for PyPA yet.* Add back -U for PyPA packages* Try pinning python39=3.9.16-1 with old action/everythingThis is extremely unlikely to work, I just want to check.* Try just setup-cygwin and pinning python39=3.9.16-1That is, this puts back all the other stuff the way it was on themain branch when the breakage occurred, besides changing fromcygwin-install-action to setup-cygwin to make pinning work andusing it to get version 3.9.16-1 of the Cygwin python39 package.1 parent73ebcfa commit8dc4cb0
1 file changed
+16
-12
lines changedLines changed: 16 additions & 12 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
15 | 15 |
| |
16 | 16 |
| |
17 | 17 |
| |
18 |
| - | |
| 18 | + | |
19 | 19 |
| |
20 | 20 |
| |
21 | 21 |
| |
| |||
27 | 27 |
| |
28 | 28 |
| |
29 | 29 |
| |
30 |
| - | |
31 |
| - | |
| 30 | + | |
| 31 | + | |
32 | 32 |
| |
33 |
| - | |
34 |
| - | |
| 33 | + | |
35 | 34 |
| |
36 | 35 |
| |
37 | 36 |
| |
| |||
55 | 54 |
| |
56 | 55 |
| |
57 | 56 |
| |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
58 | 62 |
| |
59 | 63 |
| |
60 |
| - | |
61 |
| - | |
| 64 | + | |
| 65 | + | |
62 | 66 |
| |
63 | 67 |
| |
64 | 68 |
| |
65 |
| - | |
| 69 | + | |
66 | 70 |
| |
67 | 71 |
| |
68 | 72 |
| |
69 | 73 |
| |
70 |
| - | |
| 74 | + | |
71 | 75 |
| |
72 |
| - | |
73 |
| - | |
| 76 | + | |
| 77 | + | |
74 | 78 |
| |
75 | 79 |
| |
76 | 80 |
| |
77 |
| - | |
| 81 | + |
0 commit comments
Comments
(0)