Skip to content

Run tests on Python 3.10 and higher versions (as well as 2.7, 3.5, ..., 3.9) #268

Closed
@JamesParrott

Description

@JamesParrott

Describe the feature request

PR #267 gets the CI working again, and (all but one of) the tests passing. But only on Pythons 2.7, 3.5, ..., 3.9.

Testing on Python 3.10 causes an ImportErrro... ...immediately on starting PyTest 3.2.5. This version of Pytest is pinned in requirements.test.txt.
image
https://github.com/JamesParrott/IronPyShp/actions/runs/7546512017

From PyShp's commit history, the version pin was not done without good cause. But for whatever reason (hopefully better work by its devs) PyTest is now no longer a problem on earlier versions of Python if pip if left to choose the latest compatible version for the Python version pip's running in.

The pinned dep currently preventing testing on Python 3.10+ is no longer necessary:

image
https://github.com/JamesParrott/IronPyShp/actions/runs/7546537371

Contributions

  • I am interested in implementing the described feature request and submit as a PR.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions