Skip to content

Commit 7be530a

Browse files
committed
Try downloading wheel with wget
This is not a usable solution, but it is useful for troubleshooting.
1 parent 2bb2f6b commit 7be530a

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

.github/workflows/cygwin-test.yml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -30,22 +30,14 @@ jobs:
3030
- name: Install Cygwin
3131
uses: cygwin/cygwin-install-action@v4
3232
with:
33-
packages: python39 python39-pip python39-virtualenv git
33+
packages: python39 python39-pip python39-virtualenv git wget
3434
add-to-path: false # No need to change $PATH outside the Cygwin environment.
3535

3636
- name: Arrange for verbose output
3737
run: |
3838
# Arrange for verbose output but without shell environment setup details.
3939
echo 'set -x' >~/.bash_profile
4040
41-
- name: Add PyPI hosts file entry # NOTE: Actually edits the Windows hosts file.
42-
run: |
43-
echo '199.232.96.223 files.pythonhosted.org' >>/etc/hosts
44-
45-
- name: Show hosts file
46-
run: |
47-
cat /etc/hosts
48-
4941
- name: Special configuration for Cygwin git
5042
run: |
5143
git config --global --add safe.directory "$(pwd)"
@@ -71,6 +63,7 @@ jobs:
7163
- name: Update PyPA packages
7264
run: |
7365
# Get the latest pip, wheel, and prior to Python 3.12, setuptools.
66+
wget -P ~/.cache/pip 'https://files.pythonhosted.org:443/packages/c7/c3/55076fc728723ef927521abaa1955213d094933dc36d4a2008d5101e1af5/wheel-0.42.0-py3-none-any.whl'
7467
python -m pip install -U pip $(pip freeze --all | grep -ow ^setuptools) wheel
7568
7669
- name: Install project and test dependencies

0 commit comments

Comments
 (0)