Граф коммитов

20 Коммитов

Автор SHA1 Сообщение Дата
Jarek Potiuk c82f89f52c
Update installation notes to warn against common problems. (#13727)
We have recently seen a number of issues created by users who
tried to install airflow with poetry or pip-tools or who had
successes with using the latest pip 20.3.3. This change aims
to update the 'note' content and make sure installation
instructions are consistent everywhere, so that new users
are warned against using anything else than PIP and that they
are aware about potential problems with 'pip 20.3' and ways
to mitigate the problems.

This responds to the needs of confused users such as
one in https://github.com/apache/airflow/issues/13711#issuecomment-761694781
2021-01-19 11:46:06 +01:00
Jarek Potiuk f969e691f7
Forces unistalling providers in editable mode. (#13439)
We cannot skip installing providers, but this causes
problems when installing airflow in editable mode, because providers
are in two places - in airflow sources and in provider packages.

This change removes installed provider packages when airflow
is installed in editable mode to mitigate the problem.

This way, there is no need to use INSTALL_PROVIDERS_FROM_SOURCES
variable when installing in editable mode.

We still need to keep INSTALL_PROVIDERS_FROM_SOURCES for cases when
non-editable mode is used. In this way one can easily install curent
version of provider packages locally with pip install and have
the latest sources of both airflow and providers installed.

Also INSTALL_PROVIDERS_FROM_SOURCES is particularly useful if you
develop a new provider and reinstall airflow - because otherwise
it will try to install the provider from a non-existing package.

This is why all regular CI jobs and Breeze have
INSTALL_PROVIDERS_FROM_SOURCES set by default.
2021-01-08 13:48:03 +01:00
Kaxil Naik e071834804
Update supported Python version in LOCAL_VIRTUALENV.rst (#13468)
We no longer support 3.5. We do support 3.7 and 3.8 in addition to 3.6
2021-01-05 09:57:13 +00:00
Kaxil Naik 295d66f914
Fix Grammar in PIP warning (#13380)
`might leads to errors` -> `might lead to errors`
2020-12-30 09:05:19 +01:00
Jarek Potiuk 6cf76d7ac0
Fix typo in pip upgrade command :( (#13148) 2020-12-18 11:36:26 +01:00
Jarek Potiuk ed1825c026
Production images on CI are now built from packages (#12685)
So far, the production images of Airflow were using sources
when they were built on CI. This PR changes that, to build
airflow + providers packages first and install them
rather than use sources as installation mechanism.

Part of #12261
2020-12-06 23:36:33 +01:00
Jarek Potiuk e9b2ff57b8
Add notes about PIP 20.3 breaking Airflow installation (#12840)
Part of #12838
2020-12-05 19:53:09 +01:00
Jarek Potiuk de9eaeb434
Constraint files are now maintained automatically (#9889)
* Constraint files are now maintained automatically

* No need to generate requirements when setup.py changes
* requirements are kept in separate orphan branches not in main repo
* merges to master verify if latest requirements are working and
  push tested requirements to orphaned branches
* we keep history of requirement changes and can label them
  individually for each version (by constraint-1.10.n tag name)
* consistently changed all references to be 'constraints' not
  'requirements'
2020-07-20 14:36:03 +02:00
ashwinshankar77 1e240516c6
Update more occurrences of gcp to google (#9842) 2020-07-16 00:01:29 +02:00
dstandish 05ea88869b
add guidance re yarn build for local virtualenv development (#9411) 2020-06-19 19:20:56 +02:00
dstandish d6e5e7ce52
clarify breeze initialize virtualenv instructions (#9319)
* you need to activate virtualenv, not enter breeze, before running the command
2020-06-16 20:38:42 +02:00
Jarek Potiuk 1fb9f0722a
Synchronize extras between airflow and providers (#8819) 2020-05-11 19:25:15 +02:00
Jarek Potiuk 210de87d6d
Move Dockerfile to Dockerfile.ci (#7829) 2020-03-23 08:56:26 +01:00
Jarek Potiuk 20b6b34392
[AIRFLOW-6838] Introduce real subcommands for Breeze (#7515)
This change introduces sub-commands in breeze tool.
It is much needed as we have many commands now
and it was difficult to separate commands from flags.

Also --help output was very long and unreadable.

With this change help it is much easier to discover
what breeze can do for you as well as navigate with it.

Co-authored-by: Jarek Potiuk <jarek@potiuk.com>

Co-authored-by: Kamil Breguła <mik-laj@users.noreply.github.com>
2020-02-24 22:31:50 +01:00
Xinbin Huang da2a617cb7 [AIRFLOW-XXX] Fix development packages installtion instructions (#6942) 2019-12-31 08:19:03 +01:00
Darren Weber 0f21e9b5a7 [AIRFLOW-6211] Use conda for local virtualenv (#6766) 2019-12-10 22:35:19 +01:00
Jarek Potiuk 6733e58c73
more GSOD improvements (#6585)
Co-authored-by: Elena Fedotova <lavel@mail.ru>
2019-12-04 13:15:02 +01:00
Kamil Breguła ae96f27fd8
[AIRFLOW-6054] Add a command that starts the database consoles (#6653) 2019-11-25 15:13:37 +01:00
Jarek Potiuk 238e1548d8
[AIRFLOW-XXX] Local development environments - polish documentation (#6450)
* [AIRFLOW-XXX] Updates to LOCAL_VIRTUALENV.rst

Co-authored-by: Elena Fedotova <lavel@mail.ru>
Co-Authored-By: Kaxil Naik <kaxilnaik@gmail.com>
2019-11-12 21:32:29 +01:00
Jarek Potiuk 9278f794c3
[AIRFLOW-XXX] Make Breeze The default integration test environment (#6001)
* [AIRFLOW-XXX] Make Breeze The default integration test environment
Co-Authored-By: Chao-Han Tsai <milton0825@gmail.com>
2019-09-05 10:28:48 +02:00