-
-
Notifications
You must be signed in to change notification settings - Fork 68
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
Test on more versions of Python #563
Conversation
Ok, conda-recipe-manager fails unless Python >=3.11 |
Probably the right thing to do is conditionally install conda-recipe-manager on Python >=3.11 and then conditionally run only the tests that actually need it. |
yeah, that is due to the fact that |
@@ -163,7 +164,7 @@ | |||
return recipe_license["licenseId"] | |||
|
|||
|
|||
def _get_license(license_id: str, all_licenses: List) -> dict: | |||
def _get_license(license_id: str, all_licenses: list) -> dict: |
Check notice
Code scanning / CodeQL
Explicit returns mixed with implicit (fall through) returns Note
@@ -41,7 +42,7 @@ | |||
PIN_PKG_COMPILER = {"numpy": "<{ pin_compatible('numpy') }}"} | |||
|
|||
|
|||
def search_setup_root(path_folder: Union[Path, str]) -> Path: | |||
def search_setup_root(path_folder: Path | str) -> Path: |
Check notice
Code scanning / CodeQL
Explicit returns mixed with implicit (fall through) returns Note
It looks like there is no coverage yet for |
Oops, seems to be hitting mamba-org/setup-micromamba#225 |
e8398e8
to
a078d44
Compare
@marcelotrevisani, what do you think of these changes? Tests are now passing down to Python 3.8. In order to get there I had to I removed Finally, I switched from |
environment.yaml
Outdated
@@ -29,4 +29,4 @@ dependencies: | |||
- libcblas | |||
- beautifulsoup4 | |||
- semver >=3.0.0,<4.0.0 | |||
- conda-recipe-manager >=0.2.0 | |||
- micromamba |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we need micromamba here? 😬
raise ImportError( | ||
"Please install conda-recipe-manager from conda-forge to enable " | ||
"support for the V1 format. (Note that Python >=3.11 is required.)" | ||
) from e |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cool, thanks for that
hey, thanks again for this PR, I just added one comment about micromamba in the environment.yaml, do we need it there? |
Ah, very good point!!! Now that I switched the CI over to I just rebased to remove the commit where I added it. (See the rebase diff with the "Compare" button or equivalently here.) |
@marcelotrevisani, yep, it's working. The relevant part of CI has completed. |
Description
Dual to #562 let's check which Python versions work.