You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When adding odc-apps-dc-tools-0.2.14 there is an issue with aiohttp if the version of python is greater than 3.10. The main reason for this is that aiohttp for python >3.10 is currently in beta as per info here: aio-libs/aiohttp#7675 which means that odc-apps-dc-tools-0.2.14 does not install as expected
Actual behaviour
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for aiohttp
Failed to build aiohttp
ERROR: Could not build wheels for aiohttp, which is required to install pyproject.toml-based projects
We would be very reluctant to pin a maximum Python version because of an upstream library issue (especially if a fix to said issue is expected imminently).
Suggested workarounds:
The conda-environment.yml file in core is intended as an example, to be edited according to your needs. You could make a copy of this environment file and edit to read e.g. - python ==3.10
OR as @omad pointed out in your core issue, the following runs without error and results a Python3.11 environment with the latest releases of datacube, odc-apps-dc-tools and aiohttp:
Expected behaviour
When adding odc-apps-dc-tools-0.2.14 there is an issue with aiohttp if the version of python is greater than 3.10. The main reason for this is that aiohttp for python >3.10 is currently in beta as per info here: aio-libs/aiohttp#7675 which means that odc-apps-dc-tools-0.2.14 does not install as expected
Actual behaviour
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for aiohttp
Failed to build aiohttp
ERROR: Could not build wheels for aiohttp, which is required to install pyproject.toml-based projects
Steps to reproduce the behaviour
mamba env create -f conda-environment.yml
pip install odc-apps-dc-tools
Environment information
As per the .yml file here: https://github.com/opendatacube/datacube-core/blob/develop/conda-environment.yml
The text was updated successfully, but these errors were encountered: