Skip to content

Add testing for alternative python versions#401

Closed
cthoyt wants to merge 2 commits intolinkml:mainfrom
cthoyt:patch-1
Closed

Add testing for alternative python versions#401
cthoyt wants to merge 2 commits intolinkml:mainfrom
cthoyt:patch-1

Conversation

@cthoyt
Copy link

@cthoyt cthoyt commented Oct 8, 2021

Closes #404

Since this project claims to work on py37+, I added explicit tests for py37, py39, and the newly released py310. These tests are applied in both the main.yml and pr-test.yml configurations.

I found in https://github.com/mapping-commons/sssom-py/pull/167/checks?check_run_id=3837024754 that it breaks in py310, so this is expected to fail and lead to other bug fixes for the time being

Since this project claims to work on py37+, I added explicit tests for py37, py39, and the newly released py310. I found in https://github.com/mapping-commons/sssom-py/pull/167/checks?check_run_id=3837024754 that it breaks in py310, so this is expected to fail and lead to other bug fixes for the time being
@cmungall
Copy link
Member

cmungall commented Oct 8, 2021

looks like 3.10 passes!

so will this increase the time of github actions 4x?

@cmungall
Copy link
Member

cmungall commented Oct 8, 2021

OK, so it looks like your PR is on main.yaml, not pr-test.yaml. pr-test.yaml already tests 3.7.1, 3.8, and 3.9. I think main.yaml should be completely consistent with pr-test.

We are also opening a new issue to support 3.10

@cmungall
Copy link
Member

Support for 3.10 is in #404 - I think we can close this?

@cthoyt
Copy link
Author

cthoyt commented Oct 18, 2021

@cmungall I added a note in the PR description that it closes #404, so it will get auto-closed if this PR is accepted. I will also update the PR configurations too

@cthoyt
Copy link
Author

cthoyt commented Oct 18, 2021

The tests run in parallel so adding more python versions won't slow down the overall build time (except the fact that older python versions are themselves slower)

@dalito
Copy link
Member

dalito commented May 11, 2022

#764 added tests for other Python versions (3.7...3.10).

@cmungall
Copy link
Member

Thanks @dalito! May be easiest to do this on a fresh PR as the workflows have changed so much?

@sierra-moxon
Copy link
Member

I think we already have this (probably as a result of this ticket, thanks all! :) ) in the github action "main.yaml". which runs on every PR. I do like the convention of pr-test.yaml being the file that runs on each PR instead of 'main' -- but I think we could address that in another PR (I would go in and fix this PR's conflicts for everyone, but because it is a fork, I think its best to just open another PR).

@cthoyt cthoyt deleted the patch-1 branch May 20, 2022 16:39
iQuxLE pushed a commit that referenced this pull request Aug 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add support for python 3.10

4 participants