Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Python 3.6 test environment #2094

Merged
merged 6 commits into from
Feb 28, 2017

Conversation

ingwinlu
Copy link
Contributor

See commits.

* Add py36 environment to tox
* Unify dependencies across manual installation and tox
* Mention tox in the docs
There was no test case checking the behaviour of what happens when
trying to {filename} an unknown file.

Also changed the braces to `'` chars that we use elseware.
@ingwinlu
Copy link
Contributor Author

@getpelican/reviewers go for review :)

Copy link
Member

@justinmayer justinmayer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Other than the doc text style tweaks I suggested, this looks good to me. Anyone else care to review?

@@ -47,13 +47,16 @@ Or using ``pip``::

$ pip install -e .

To conveniently test vs multiple python versions we also provide a tox file.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To conveniently test on multiple Python versions, we also provide a .tox file.

Copy link
Member

@iKevinY iKevinY left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes look good to me overall; I like how the requirement files are now split up. 👍

.travis.yml Outdated
include:
- python: 3.6
env:
- TOX_ENV=py36
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would probably be better to keep indentation here consistent with the rest of the file (2 spaces).

@@ -37,8 +37,7 @@ import-order-style = cryptography
[testenv:flake8]
basepython = python2.7
deps =
flake8 <= 2.4.1
git+https://github.com/public/flake8-import-order@2ac7052a4e02b4a8a0125a106d87465a3b9fd688
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just confirming: we don't need to pin flake8-import-order to this commit anymore?

Copy link
Contributor Author

@ingwinlu ingwinlu Feb 27, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes

Back when i added the environment with the flake8 check there was a bug with one of the rules which was fixed in the repo, but not in the release.

@ingwinlu
Copy link
Contributor Author

Updated with review-feedback

.travis.yml Outdated
include:
- python: 3.6
env:
- TOX_ENV=py36
Copy link
Member

@iKevinY iKevinY Feb 27, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's still some indentation that has snuck in here 😛 (basically just remove the spaces that show up in the diff on lines 12-15)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah the good old 'let me just commit this real quick before bed' strikes again...

* improve wording on testing with fox (contribute.rst)
* fix whitespace (.travis.xml)
Copy link
Member

@iKevinY iKevinY left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

@justinmayer justinmayer added this to the 3.8.0 milestone Feb 28, 2017
@justinmayer
Copy link
Member

Many thanks to @ingwinlu for the enhancements and to @iKevinY for the review. 😃

@justinmayer justinmayer changed the title Add python 3.6 environment Add Python 3.6 test environment Feb 28, 2017
@justinmayer justinmayer merged commit 5569338 into getpelican:master Feb 28, 2017
@ingwinlu ingwinlu deleted the add_test_unknown_file branch February 28, 2017 19:07
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.

None yet

3 participants