简体   繁体   中英

Unable to install the latest release candidate of a Python library on GitHub

I didn't succeed installing the latest airflow release candidate.

Specifically, running pip install -e git://github.com/apache/incubator-airflow.git@1.8.2rc4#egg=airflow on the CL ended with:

File "/home/alex/Desktop/urban-physiology-toolkit/src/airflow/setup.py", line 87, in git_version
        assert tag == version, (tag, version)
    AssertionError: ('1.8.2rc4', '1.8.2')

Followed by the usual pip FAIL redtext.

The offending code line is a tag version check.

Installing from HEAD works fine.

Is this an error on my part, or an error in the setup.py configuration of the library?

It is a bug in airflow.version — they've forgotten to change it to 1.8.2rc4 .

Please report the bug to the team.

Sorry this is not a bug, but happens due to the Apache release process which required us not to change the source during/after voting. This means we need to keep "1.8.2" in version.py while the tag says something else.

If you want rc4 of airflow why don't you install from https://dist.apache.org/repos/dist/dev/incubator/airflow/1.8.2rc4/apache-airflow-1.8.2+incubating-bin.tar.gz

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM