conda-forge / airflow-feedstock

A conda-smithy repository for airflow.
BSD 3-Clause "New" or "Revised" License
6 stars 17 forks source link

Cannot install Airflow 2.7.3 with Python 3.11 #124

Closed adrianrego closed 11 months ago

adrianrego commented 11 months ago

Solution to issue cannot be found in the documentation.

Issue

Getting the following errors trying to install airflow 2.7.3 with python 3.11:

 > [server base 15/21] RUN micromamba install -y -n base -f /tmp/env.yml && micromamba clean --all --yes:
7.019 error    libmamba Could not solve for environment specs
7.019     The following packages are incompatible
7.019     ├─ airflow 2.7.3**  is installable with the potential options
7.019     │  ├─ airflow 2.7.3 would require
7.019     │  │  └─ python_abi 3.10.* *_cp310, which can be installed;
7.019     │  ├─ airflow 2.7.3 would require
7.019     │  │  └─ python_abi 3.8.* *_cp38, which can be installed;
7.019     │  └─ airflow 2.7.3 would require
7.019     │     └─ python_abi 3.9.* *_cp39, which can be installed;
7.019     └─ python >=3.11,<3.12  is not installable because there are no viable options
7.019        ├─ python [3.11.0|3.11.1|...|3.11.6] would require
7.019        │  └─ python_abi 3.11.* *_cp311, which conflicts with any installable versions previously reported;
7.019        └─ python 3.12.0rc3 would require
7.019           └─ _python_rc, which does not exist (perhaps a missing channel).
7.031 critical libmamba Could not solve for environment specs

Installed packages

N/A

Environment info

libmamba version : 1.5.1
     micromamba version : 1.5.1
           curl version : libcurl/7.88.1 OpenSSL/3.1.2 zlib/1.2.13 zstd/1.5.5 libssh2/1.11.0 nghttp2/1.52.0
     libarchive version : libarchive 3.6.2 zlib/1.2.13 bz2lib/1.0.8 libzstd/1.5.2
       envs directories : /opt/conda/envs
          package cache : /opt/conda/pkgs
                          /home/airflow/.mamba/pkgs
            environment : base (active)
           env location : /opt/conda
      user config files : /home/airflow/.mambarc
 populated config files :
       virtual packages : __unix=0=0
                          __linux=6.5.0=0
                          __glibc=2.35=0
                          __archspec=1=aarch64
               channels :
       base environment : /opt/conda
               platform : linux-aarch64
xylar commented 11 months ago

@adrianrego, can you provide more info on what environment you're starting from and what environment is in /tmp/env.yml? The error message you're getting suggests some sort of a conflict and I can't be of much help without significantly more info about what you're trying to do.

xylar commented 11 months ago

Ah, sorry, my mistake. The package just didn't build successfully. I'll try again!

xylar commented 11 months ago

@adrianrego, the file should be there now. Could you test again?

adrianrego commented 11 months ago

@xylar can confirm that it builds now. thanks for the quick turnaround.