uscuni / simplification

Simplification of street network geometry
Other
6 stars 0 forks source link

`graphblas` a problem for Py312 on `osx-arm64`? #32

Closed jGaboardi closed 3 months ago

jGaboardi commented 3 months ago

Seems like graphblas might be a problem for Py312 on osx-arm64?

(base) jgaboardi@Jamess-MacBook-Air envs % mamba env create -f py312_uscuni_simplification.yml 
Channels:
 - conda-forge
Platform: osx-arm64
Collecting package metadata (repodata.json): done
Solving environment: failed
Channels:
 - conda-forge
Platform: osx-arm64
Collecting package metadata (repodata.json): done
Solving environment: failed

LibMambaUnsatisfiableError: Encountered problems while solving:
  - nothing provides _python_rc needed by python-3.12.0rc3-rc3_h47c9636_1_cpython

Could not solve for environment specs
The following packages are incompatible
├─ graphblas-algorithms is installable with the potential options
│  ├─ graphblas-algorithms [2022.11.0|2022.12.0|...|2023.6.0] would require
│  │  └─ python-graphblas [>=2022.11.0 |>=2023.1.0 ], which requires
│  │     └─ python-suitesparse-graphblas [>=7.2.0.0,<7.4 |>=7.3.0.2,<7.4 |>=7.3.2.0,<7.4 |>=7.4.0.0,<7.5 ] with the potential options
│  │        ├─ python-suitesparse-graphblas [7.3.0.0|7.3.0.2|...|7.4.4.0] would require
│  │        │  └─ python_abi 3.10.* *_cp310, which can be installed;
│  │        ├─ python-suitesparse-graphblas [7.3.0.0|7.3.0.2|...|7.4.4.0] would require
│  │        │  └─ python_abi 3.8.* *_cp38, which can be installed;
│  │        ├─ python-suitesparse-graphblas [7.3.0.0|7.3.0.2|...|7.4.4.0] would require
│  │        │  └─ python_abi 3.9.* *_cp39, which can be installed;
│  │        └─ python-suitesparse-graphblas [7.3.0.2|7.3.2.0|...|7.4.4.0] would require
│  │           └─ python_abi 3.11.* *_cp311, which can be installed;
│  └─ graphblas-algorithms 2022.4.1 would require
│     └─ python-graphblas >=2022.4.2  with the potential options
│        ├─ python-graphblas [2022.10.0|2022.10.1|...|2023.7.0], which can be installed (as previously explained);
│        ├─ python-graphblas 2022.4.2 would require
│        │  └─ python-suitesparse-graphblas >=7.0.3.1,<7.1 , which does not exist (perhaps a missing channel);
│        ├─ python-graphblas [2022.5.0|2022.6.0|2022.6.1] would require
│        │  └─ python-suitesparse-graphblas >=7.1.0.0,<7.2 , which does not exist (perhaps a missing channel);
│        └─ python-graphblas 2022.9.0 would require
│           └─ python-suitesparse-graphblas >=7.2.0.0,<7.3 , which does not exist (perhaps a missing channel);
└─ python 3.12**  is not installable because there are no viable options
   ├─ python [3.12.0|3.12.1|3.12.2] would require
   │  └─ python_abi 3.12.* *_cp312, which conflicts with any installable versions previously reported;
   └─ python 3.12.0rc3 would require
      └─ _python_rc, which does not exist (perhaps a missing channel).
martinfleis commented 3 months ago

I didn't realise that my env with graphblas is running 3.11.8. Let's re-pin Python to 3.11.

jGaboardi commented 3 months ago

Is graphblas only needed for the clustering stuff though? If the clustering stuff is a deadend, shall we simply drop graphblas?

martinfleis commented 3 months ago

I was using it to clip the networks. I would surely keep it as if we'll need some graph-informed simplification stuff, I'd like to channel it via graphblas if possible for performance reasons.