You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A work around to run the action in a container, is suggested in the comments by tzortzispanagiotis (the proviso about localhost is not relevant to PyShp as it does not do any networking): actions/setup-python#672 (comment)
I'll investigate using that with the actions matrix.
Python 2 is no longer pre-installed in current Actions Runner Ubuntu images (19.04 having been dropped?).
JamesParrott
changed the title
Build marked as failing. Tests are not running in CI. Github Actions no longer support Python 2.7.
Build marked as failing. Tests are not running in CI. Github /actions/setup-python no longer supports Python 2.7.
Jan 15, 2024
I have tested this on my fork, but could only get a green tick for Python 2.7 as well, by disabling __geo_interface__, and all the tests for it, and for Pythons 3.10 upwards by relaxing the pinned version of Pytest, allowing Pip to pick the latest (and possibly by making other changes that don't spring to mine right now):
PyShp Version
All
Python Version
CI
Your code
The issue already occurs, due to PyShps's own CI code/config/setup. In particular the Github action file below:
https://github.com/GeospatialPython/pyshp/blob/master/.github/workflows/build.yml
Full stacktrace
https://github.com/GeospatialPython/pyshp/actions
Other notes
In June 2023, Python 2 was dropped by /actions/setup-python actions/setup-python#672
A work around to run the action in a container, is suggested in the comments by tzortzispanagiotis (the proviso about localhost is not relevant to PyShp as it does not do any networking): actions/setup-python#672 (comment)
I'll investigate using that with the actions matrix.
Python 2 is no longer pre-installed in current Actions Runner Ubuntu images (19.04 having been dropped?).
https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2204-Readme.md
https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2004-Readme.md
The text was updated successfully, but these errors were encountered: