You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2019/07/23 21:48:00 UTC

[jira] [Commented] (AIRFLOW-5032) build is broken due to version conflict between tzlocal and pendulum

    [ https://issues.apache.org/jira/browse/AIRFLOW-5032?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16891405#comment-16891405 ] 

ASF GitHub Bot commented on AIRFLOW-5032:
-----------------------------------------

houqp commented on pull request #5651: [AIRFLOW-5032] fix version conflict between tzlocal and pendulum
URL: https://github.com/apache/airflow/pull/5651
 
 
   Make sure you have checked _all_ steps below.
   
   ### Jira
   
   - [ ] My PR addresses the following [Airflow Jira](https://issues.apache.org/jira/browse/AIRFLOW-5032) issues and references them in the PR title. For example, "\[AIRFLOW-XXX\] My Airflow PR"
     - https://issues.apache.org/jira/browse/AIRFLOW-5032
   
   ### Description
   
   - [ ] Here are some details about my PR, including screenshots of any UI changes:
   
   Version conflicts between tzlocal and pendulum is causing the following error:
   
   ```
   Traceback (most recent call last):
   File "/usr/local/bin/airflow", line 4, in <module>
   __import__('pkg_resources').require('apache-airflow==2.0.0.dev0')
   File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3241, in <module>
   @_call_aside
   File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3225, in _call_aside
   f(*args, **kwargs)
   File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3254, in _initialize_master_working_set
   working_set = WorkingSet._build_master()
   File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 585, in _build_master
   return cls._build_from_requirements(__requires__)
   File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 598, in _build_from_requirements
   dists = ws.resolve(reqs, Environment())
   File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 791, in resolve
   raise VersionConflict(dist, req).with_context(dependent_req)
   pkg_resources.ContextualVersionConflict: (tzlocal 2.0.0 (/usr/local/lib/python3.7/site-packages), Requirement.parse('tzlocal<2.0.0.0,>=1.5.0.0'), {'pendulum'})
   ```
   
   ### Tests
   
   - [ ] My PR adds the following unit tests __OR__ does not need testing for this extremely good reason:
   
   The dependency change only touches `setup.py`.
   
   ### Commits
   
   - [ ] My commits all reference Jira issues in their subject lines, and I have squashed multiple commits if they address the same issue. In addition, my commits follow the guidelines from "[How to write a good git commit message](http://chris.beams.io/posts/git-commit/)":
     1. Subject is separated from body by a blank line
     1. Subject is limited to 50 characters (not including Jira issue reference)
     1. Subject does not end with a period
     1. Subject uses the imperative mood ("add", not "adding")
     1. Body wraps at 72 characters
     1. Body explains "what" and "why", not "how"
   
   ### Documentation
   
   - [ ] In case of new functionality, my PR adds documentation that describes how to use it.
     - All the public functions and the classes in the PR contain docstrings that explain what it does
     - If you implement backwards incompatible changes, please leave a note in the [Updating.md](https://github.com/apache/airflow/blob/master/UPDATING.md) so we can assign it to a appropriate release
   
   ### Code Quality
   
   - [ ] Passes `flake8`
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> build is broken due to version conflict between tzlocal and pendulum
> --------------------------------------------------------------------
>
>                 Key: AIRFLOW-5032
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-5032
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 2.0.0
>            Reporter: QP Hou
>            Assignee: QP Hou
>            Priority: Major
>
> Lastest master build is broken due to dependency version conflict, here is the error: 
> {code:java}
> Traceback (most recent call last):
> File "/usr/local/bin/airflow", line 4, in <module>
> __import__('pkg_resources').require('apache-airflow==2.0.0.dev0')
> File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3241, in <module>
> @_call_aside
> File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3225, in _call_aside
> f(*args, **kwargs)
> File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3254, in _initialize_master_working_set
> working_set = WorkingSet._build_master()
> File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 585, in _build_master
> return cls._build_from_requirements(__requires__)
> File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 598, in _build_from_requirements
> dists = ws.resolve(reqs, Environment())
> File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 791, in resolve
> raise VersionConflict(dist, req).with_context(dependent_req)
> pkg_resources.ContextualVersionConflict: (tzlocal 2.0.0 (/usr/local/lib/python3.7/site-packages), Requirement.parse('tzlocal<2.0.0.0,>=1.5.0.0'), {'pendulum'})
> {code}
>  



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)