Skip to content

Use a range for jinja2 dependency#18

Merged
ewhauser merged 1 commit into
graphql-python:masterfrom
kinow:patch-1
Apr 29, 2019
Merged

Use a range for jinja2 dependency#18
ewhauser merged 1 commit into
graphql-python:masterfrom
kinow:patch-1

Conversation

@kinow

@kinow kinow commented Apr 14, 2019

Copy link
Copy Markdown
Contributor

Hi,

Thanks for fixing the issue with Jinja2 so quickly.

What about using a range for this dependency, instead of using a single version? That may avoid other incompatibility issues with other libraries in the future too.

The range I used in this pull request is the same we (I work with @dwsutherland who submitted the other pull request) adopted in cylc, following what was used by Apache Airflow too.

Cheers

Hi,

Thanks for fixing the issue with Jinja2 so quickly.

What about using a range for this dependency, instead of using a single version? That may avoid other incompatibility issues with other libraries in the future too.

The range I used in this pull request is the same we (I work with @dwsutherland who submitted the other pull request) adopted in [cylc](https://github.com/cylc/cylc/pull/2990/files#diff-2eeaed663bd0d25b7e608891384b7298R106), following what was used by [Apache Airflow](https://github.com/apache/airflow/blob/6cc7712442cf23c7f846b73030c79ba12fdf4a0e/setup.py#L329) too.

Cheers
@kinow

kinow commented Apr 14, 2019

Copy link
Copy Markdown
Contributor Author

If merged, I don't think we need a new version right away. It doesn't even need to be merged super fast, as the 2.10.1 is just out 🙂

Tested locally too with a test requirements.txt file.

Collecting jinja2<2.11.0,>=2.10.1 (from -r requirements.txt (line 1))
  Using cached https://files.pythonhosted.org/packages/1d/e7/fd8b501e7a6dfe492a433deb7b9d833d39ca74916fa8bc63dd1a4947a671/Jinja2-2.10.1-py2.py3-none-any.whl
Requirement already satisfied: MarkupSafe>=0.23 in /home/kinow/anaconda3/lib/python3.7/site-packages (from jinja2<2.11.0,>=2.10.1->-r requirements.txt (line 1)) (1.1.1)
Installing collected packages: jinja2
  Found existing installation: Jinja2 2.10
    Uninstalling Jinja2-2.10:
      Successfully uninstalled Jinja2-2.10
Successfully installed jinja2-2.10.1

@ewhauser ewhauser merged commit 562df99 into graphql-python:master Apr 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants