Skip to content

Tests try versions of python that are not supported #314

@schwehr

Description

@schwehr

PyShp Version

head - 546489e

Python Version

all

Your code

This is just the github CI action running

Full stacktrace

test_on_old_Pythons (3.5)
failed 47 minutes ago in 7s
Search logs
1s
3s
1s
0s
Prepare all required actions
Run ./.github/actions/test
Run python shapefile.py
  File "shapefile.py", line 643
    return f"Shape #{self.__oid}: {self.shapeTypeName}"
                                                      ^
SyntaxError: invalid syntax
Error: Process completed with exit code 1.

Other notes

Definitely should not be testing python 3.5-3.8. And supporting python 2.7 is pretty hard, so that should probably go too.

Additionally, it seems overly heavy to run every python version through ubuntu, windows, and mac osx. I typically recommend doing every python version on ubuntu and then one python version for each of macosx and windows. And if it's doing ubuntu latest, drop all (or maybe keep one) ubuntu 24.04.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions