Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Limit python versions for testing #2204

Closed
wants to merge 1 commit into from

Conversation

maxim-h
Copy link
Contributor

@maxim-h maxim-h commented Apr 5, 2023

Description

Starting with Python3.10 collections.Callable moved to collections.abc.Callable, which breaks nose.
Seems that for now testing can only be done with earlier versions.
In the long run some other testing solution might be needed.

QC

  • The PR contains a test case for the changes or the changes are already covered by an existing test case.
  • The documentation (docs/) is updated to reflect the changes or this is not necessary (e.g. if the change does neither modify the language nor the behavior or functionalities of Snakemake).

Starting with Python3.10 collections.Callable to collections.abc.Callable, which [breaks nose](nose-devs/nose#1122).
Seems that for now testing can only be done with earlier versions. In the long run some other testing solution might be needed.
@sonarcloud
Copy link

sonarcloud bot commented Apr 5, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@github-advanced-security
Copy link

You have successfully added a new SonarCloud configuration ``. As part of the setup process, we have scanned this repository and found no existing alerts. In the future, you will see all code scanning alerts on the repository Security tab.

@maxim-h maxim-h changed the title Limit python versions for testing fix: Limit python versions for testing Apr 5, 2023
@johanneskoester
Copy link
Contributor

Actually we use pytest, not nose. It works fine with 3.10. Do we still mention or recommend nose somewhere?

@maxim-h
Copy link
Contributor Author

maxim-h commented Apr 13, 2023

@maxim-h maxim-h closed this Apr 13, 2023
@maxim-h maxim-h mentioned this pull request Apr 13, 2023
2 tasks
johanneskoester pushed a commit that referenced this pull request Apr 28, 2023
### Description

As mentioned in  #2204 Contributing guide still refers to `nosetest`.

* [x] The PR contains a test case for the changes or the changes are
already covered by an existing test case.
* [x] The documentation (`docs/`) is updated to reflect the changes or
this is not necessary (e.g. if the change does neither modify the
language nor the behavior or functionalities of Snakemake).
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.

None yet

2 participants