Skip to content

Conversation

@sjanssen2
Copy link
Contributor

I found qiime2 to be a heavy dependency in e.g. qtp-biom. With "heavy", I refer to filesize or more precise image size, when putting the plugin into a container.

I therefore experiment with the new q2-tiny release to keep depending files smaller. This requires py3.10 - which is not yet supported by qiita-files.

This PR shall make qiita-files upwards compatible with py 3.10 - and adds according tests for py3.9 (current state) AND py3.10. With that, I also replace the deprecated nose with pytest for the github action.

@antgonza
Copy link
Member

Looks great, thank you! Do you think is worth trying to also add 3.11 or 3.12?

@sjanssen2
Copy link
Contributor Author

I just did. Tests pass :-)

Programming Language :: Python :: 3.5
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs to be updated, no?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good catch!

Comment on lines 21 to 22
Programming Language :: Python :: 3.5
Programming Language :: Python :: 3.6
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for adding those, just to confirm, is it OK to leave these?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If I recall correctly, older plugins (qp-deblur) still run on py3.5 - so we should not remove.
Unfortunately, the test framework breaks, as pytest is not available in this old py version. I suggest to NOT test, but keep these lines

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

found a way to avoid running coverage reports for older py versions, while still executing tests :-)

@antgonza antgonza merged commit fb44b4e into qiita-spots:master Aug 27, 2025
7 checks passed
@sjanssen2 sjanssen2 deleted the migrate_py310 branch August 31, 2025 16:31
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.

2 participants