pip install airflow не работает для версии 1.7.1.3 - PullRequest
0 голосов
/ 06 декабря 2018

Мы используем airflow в наших средах разработки с последних 2 лет и на версии 1.7.1.3.

В последнее время, когда я пытался выполнить pip install airflow == 1.7.3.1 , не удалось установить, и подробный журнал помог отследить местоположение артефакта - https://pypi.org/simple/apache-airflow/

Я вижу, что версия воздушного потока 1.7.1.3 удалена оттуда.

Есть ли какой-либо другой репозиторийгде находится артефакт?Если нет, какой другой вариант мне нужно установить с помощью pip?

1 Ответ

0 голосов
/ 06 декабря 2018

Обратите внимание, что имя pip для Airflow теперь apache-airflow, что касается версии, тег 1.7.1.3 - , все еще доступный в репозитории Github .Чтобы установить его, вам нужно клонировать репозиторий, извлечь определенный тег, а затем выполнить pip install для папки репозитория:

$ git clone https://github.com/apache/incubator-airflow.git
Cloning into 'incubator-airflow'...
remote: Enumerating objects: 9, done.
remote: Counting objects: 100% (9/9), done.
remote: Compressing objects: 100% (9/9), done.
remote: Total 40506 (delta 3), reused 1 (delta 0), pack-reused 40497
Receiving objects: 100% (40506/40506), 27.82 MiB | 1.75 MiB/s, done.
Resolving deltas: 100% (29080/29080), done.
$ cd incubator-airflow
$ git checkout tags/1.7.1.3
Note: checking out 'tags/1.7.1.3'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 209bf9c7... Adding .readthedocs.yml to build docs for 1.7.1.3
$ pip install .
...