conda-forge / esmf-feedstock

A conda-smithy repository for esmf.
BSD 3-Clause "New" or "Revised" License
2 stars 20 forks source link

Add activate/deactivate scripts #106

Closed xylar closed 1 year ago

xylar commented 1 year ago

These were previously in ESMPy but should be here in part because ESMPy is now noarch: python.

Checklist

closes #105

conda-forge-webservices[bot] commented 1 year ago

Hi! This is the friendly automated conda-forge-linting service.

I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

xylar commented 1 year ago

@conda-forge-admin, please rerende

xylar commented 1 year ago

@conda-forge-admin, please rerender

xylar commented 1 year ago

@ocefpaf, please have a look when you have time. @zklaus, if you are back from your time off, please have a look as well.

@rokuingh, I'm not sure what your availability is but you're welcome to take a look, of course.

xylar commented 1 year ago

@ocefpaf, wow! I wasn't aware of downstream tests. Let's see how it goes...

xylar commented 1 year ago

@ocefpaf, that doesn't seem to have worked:

Mamba failed to solve:
 - esmpy 8.4.2.* pyhc1e730c_1
 - esmf 8.4.2.*
 - numpy
 - python >=3.7
 - esmf 8.4.2.* mpi_mpich_*
 - pytest-json-report
 - pip
 - python

with channels:
 - file:///home/conda/feedstock_root/build_artifacts

The reported errors are:
- Encountered problems while solving:
-   - package esmf-8.4.2-mpi_mpich_h8fb3fe9_101 is excluded by strict repo priority
- 
Traceback (most recent call last):
  File "/opt/conda/lib/python3.10/site-packages/boa/cli/mambabuild.py", line 141, in mamba_get_install_actions
    solution = solver.solve_for_action(_specs, prefix)
  File "/opt/conda/lib/python3.10/site-packages/boa/core/solver.py", line 244, in solve_for_action
    t = self.solve(specs)
  File "/opt/conda/lib/python3.10/site-packages/boa/core/solver.py", line 234, in solve
    raise RuntimeError("Solver could not find solution." + error_string)
RuntimeError: Solver could not find solution.Mamba failed to solve:
 - esmpy 8.4.2.* pyhc1e730c_1
 - esmf 8.4.2.*
 - numpy
 - python >=3.7
 - esmf 8.4.2.* mpi_mpich_*
 - pytest-json-report
 - pip
 - python

with channels:
 - file:///home/conda/feedstock_root/build_artifacts

The reported errors are:
- Encountered problems while solving:
-   - package esmf-8.4.2-mpi_mpich_h8fb3fe9_101 is excluded by strict repo priority

It seems like it's trying to test with mpich, regardless of the actual MPI build.

ocefpaf commented 1 year ago

It seems like it's trying to test with mpich, regardless of the actual MPI build.

Sorry for the bad suggestion. Let's avoid the test/downstream for now to get this fix in. I'll do some research on how to fix this later.

xylar commented 1 year ago

Okay, I'll remove my last commit.

github-actions[bot] commented 1 year ago

Hi! This is the friendly conda-forge automerge bot!

I considered the following status checks when analyzing this PR:

Thus the PR was passing and merged! Have a great day!