Skip to content

Conversation

@pradal
Copy link
Contributor

@pradal pradal commented Dec 2, 2025

Fix #270

@pradal
Copy link
Contributor Author

pradal commented Dec 4, 2025

@brichet

@brichet
Copy link

brichet commented Dec 5, 2025

Thanks @pradal for working on this.
On my side I had to install some packages from PyPI and some from conda/mamba.

After a very quick test, I managed to make it work (for my use case only) with:

pip install -r requirements.txt
conda install -c openalea3 openalea.core openalea.deploy
pip install pyyaml legacy-cgi # those packages may be missing from requirements
pip install -e .

Is there a way to install openalea.core and openalea.deploy from PyPI ?
That would make PyCrop2ML only depends on PyPI packages, as far as I know.

@pradal
Copy link
Contributor Author

pradal commented Dec 5, 2025

Great!
deploy normally is not needed anymore.
You can retrieve openalea on our RC label :
mamba install -c openalea3/label/rc -copenalea3 -c conda-forge openalea.core

I have not tried to make openalea.core available on Pypi. But due to only pure Python deps, it can done.
I just do not master the workflow yet.
I will create an issue.

But you can test something like
pip install git+https://github.com/openalea/core

@brichet
Copy link

brichet commented Dec 5, 2025

But you can test something like
pip install git+https://github.com/openalea/core

Works well 🎉

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.

Port package to Python 3.13

2 participants