Skip to content

Status of testing of Apache Airflow 2.2.1rc2 #19246

Closed

Description

@potiuk

Airflow 2.2.1rc2 testing

We have a kind request for all the contributors to the latest Apache Airflow RC 2.2.1rc2.

Could you please help us to test the RC versions of Airflow?

Please let us know in the comment if the issue is addressed in the latest RC.

Thanks to all who contributed to the release (probably not a complete list!):
@ephraimbuddy @JavierLopezT @jedcunningham @sbialkowski-pixel @Jorricks @khalidmammadov @john-jac @brain-buster @andrewgodwin @joshzana @SamWheating @mik-laj @leonsmith @ReadytoRocc @ashb @robinedwards @potiuk @bbovenzi @jordanjeremy @steveyz-astro @BasPH @hpatel-higi @uranusjr @andreychernih

Committer

  • I acknowledge that I am a maintainer/committer of the Apache Airflow project.

Activity

  1. added
    kind:metaHigh-level information important to the community
    on Oct 27, 2021
  2. raphaelauv commented on Oct 27, 2021

    @raphaelauv
    Contributor
    python3 -m pip install apache-airflow[postgres]==2.2.1rc2 --constraint "https://raw.githubusercontent.com/apache/airflow/constraints-2.2.1rc2/constraints-3.9.txt"
    

    log

    ERROR: Cannot install apache-airflow because these package versions have conflicting dependencies.
    
    The conflict is caused by:
        flask-appbuilder 3.3.2 depends on Flask-OpenID<2 and >=1.2.5
        The user requested (constraint) flask-openid==1.2.5
    
  3. changed the title [-]Status of testing of Apache Airflow 2.2.1 rc2[/-] [+]Status of testing of Apache Airflow 2.2.1rc2[/+] on Oct 27, 2021
  4. potiuk commented on Oct 27, 2021

    @potiuk
    MemberAuthor
    python3 -m pip install apache-airflow[postgres]==2.2.1rc2 --constraint "https://raw.githubusercontent.com/apache/airflow/constraints-2.2.1rc2/constraints-3.9.txt"
    

    log

    ERROR: Cannot install apache-airflow because these package versions have conflicting dependencies.
    
    The conflict is caused by:
        flask-appbuilder 3.3.2 depends on Flask-OpenID<2 and >=1.2.5
        The user requested (constraint) flask-openid==1.2.5
    

    This error makes no sense >=1.2.5 is ok for 1.2.5.

    1. Are you sjure you used the right Python version?
    2. Can you upgrade PIP to latest version

    @uranusjr - I have no time to take a look at it soon, can you please take a look? I think we had similar case before that wrong conflict was reported

  5. kaxil commented on Oct 27, 2021

    @kaxil
    Member

    Yeah the error is weird !!

  6. raphaelauv commented on Oct 27, 2021

    @raphaelauv
    Contributor

    using python 3.9 ( pip version is 21.3.1 )

    but for 2.2.1rc1 I do not have the problem

    python3 -m pip install apache-airflow[postgres]==2.2.1rc1 --constraint "https://raw.githubusercontent.com/apache/airflow/constraints-2.2.1rc1/constraints-3.9.txt"
    
  7. uranusjr commented on Oct 27, 2021

    @uranusjr
    Member

    The final error message is bad, but an error is emitted that indicates the real issue:

    Collecting Flask-OpenID==1.2.5
      Downloading Flask-OpenID-1.2.5.tar.gz (43 kB)
         |████████████████████████████████| 43 kB 699 kB/s
      Preparing metadata (setup.py) ... error
      ERROR: Command errored out with exit status 1:
       command: /home/uranusjr/Documents/play/airflow-221rc2-flask-openid/bin/python -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-iqrcgtl5/flask-openid_b6dd0035aaa24038a0cbc5a5b9b113c7/setup.py'"'"'; __file__='"'"'/tmp/pip-install-iqrcgtl5/flask-openid_b6dd0035aaa24038a0cbc5a5b9b113c7/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-ydevayvc
           cwd: /tmp/pip-install-iqrcgtl5/flask-openid_b6dd0035aaa24038a0cbc5a5b9b113c7/
      Complete output (1 lines):
      error in Flask-OpenID setup command: use_2to3 is invalid.
      ----------------------------------------
    WARNING: Discarding https://files.pythonhosted.org/packages/d1/a2/9d1fba3287a65f81b9d1c09c4f7cb16f8ea4988b1bc97ffea0d60983338f/Flask-OpenID-1.2.5.tar.gz#sha256=5a8ffe1c8c0ad1cc1f5030e1223ea27f8861ee0215a2a58a528cc61379e5ccab (from https://pypi.org/simple/flask-openid/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
    

    So this is the same use_2to3 issue we had previously. The constraints file should pin Flask-OpenID to 1.3.0 (which has a pre-built wheel available) instead of 1.2.5.

  8. potiuk commented on Oct 27, 2021

    @potiuk
    MemberAuthor

    So this is the same use_2to3 issue we had previously. The constraints file should pin Flask-OpenID to 1.3.0 (which has a pre-built wheel available) instead of 1.2.5.

    Fixing it!

  9. potiuk commented on Oct 27, 2021

    @potiuk
    MemberAuthor

    Thanks @uranusjr I knew I saw it before!

  10. potiuk commented on Oct 27, 2021

    @potiuk
    MemberAuthor

    Resolved - the constraint tag was wrongly set (it was set to be the same as 2.1.0b1. It should work now @raphaelauv !

  11. raphaelauv commented on Oct 27, 2021

    @raphaelauv
    Contributor

    @potiuk yes now it work , sorry for not pointing to the reel error , thanks @uranusjr

  12. potiuk commented on Oct 27, 2021

    @potiuk
    MemberAuthor

    Cool! Also Docker Images are rebuilt and pushed now with the updated constraints. All should be good for testing 🚀

  13. potiuk commented on Oct 27, 2021

    @potiuk
    MemberAuthor

    Just tested - the #19010 - works fine - LD_PRELOAD is propely set in the image 👍

  14. robinedwards commented on Oct 27, 2021

    @robinedwards
    Contributor

    #18943 is fixed

  15. robinedwards commented on Oct 27, 2021

    @robinedwards
    Contributor

    I just discovered #19252 not sure if its a blocker though

  16. kaxil commented on Oct 27, 2021

    @kaxil
    Member

    Yeah that sounds like a regression unfortunately :( -- was it working in 2.2.0 @robinedwards ?

  17. robinedwards commented on Oct 27, 2021

    @robinedwards
    Contributor

    No it doesn't work in 2.2.0 either

  18. kaxil commented on Oct 27, 2021

    @kaxil
    Member

    Aah ok -- in that case it is not a regression so not a blocker. Let's fix it for 2.2.2

  19. leonsmith commented on Oct 27, 2021

    @leonsmith
    Contributor

    #18980 looks good 👍

  20. jordanjeremy commented on Oct 28, 2021

    @jordanjeremy
    Contributor

    confirmed that #18956 is fixed

  21. jedcunningham commented on Oct 29, 2021

    @jedcunningham
    Member

    Tested #18926, #19034, #19166, #19183, #19179, #19185.

    I also partially tested #19088, though I didn't tick this one off. I only verified manual runs logged into their own files which only uses ts.

  22. potiuk commented on Oct 29, 2021

    @potiuk
    MemberAuthor

    I also ticked off all the "docs/test only" changes (should have been removed from the issue in the first place which we can do in the future).

    I guess we have few more hours to test the remaining ones (if possible) :)

  23. jedcunningham commented on Oct 29, 2021

    @jedcunningham
    Member

    Thanks everyone for testing! Apache Airflow 2.2.1 (based on RC2) has been accepted.

    I'll continue with the release process, and the release announcement will follow shortly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind:metaHigh-level information important to the communitytesting statusStatus of testing releases

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions