-
Notifications
You must be signed in to change notification settings - Fork 4
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
all tests pass on py3.5 #11
Conversation
@lmaurits I don't know how good the test coverage is for phyltr; but what I'd do next, is switch to using |
Ah, ok, |
Codecov Report
@@ Coverage Diff @@
## develop #11 +/- ##
===========================================
+ Coverage 98.31% 98.79% +0.47%
===========================================
Files 28 28
Lines 1248 1243 -5
===========================================
+ Hits 1227 1228 +1
+ Misses 21 15 -6
Continue to review full report at Codecov.
|
- switch to pytest - add support for multi-platform tests with tox The package can now be installed in development mode by running pip install -r requirements.txt
Thanks a lot for doing this porting work! I'm really glad to see that "phyltr3" is finally possible. I don't question for a second that you know a lot more than me about modern Python project infrastructure, so I'm sure it's actually normal nowadays - but I was initially surprised by the introduction of a |
Okay, apparently big happy green "everything works" content around the "merge" button doesn't actually mean that everything is happy. Travis is now, surprisingly, passing all tests for 3.4 and 3.5 but failing on 2.7 and 3.6. Seems like a pytest version requirement conflict in both cases? |
Hm. Will have to investigate - the tests did pass on the PR, after all. |
I guess adding a block extras_require={
'dev': ['flake8', 'wheel', 'twine'],
'test': [
'mock',
'pytest>=3.6',
'pytest-mock',
'pytest-cov',
'coverage>=4.2',
],
}, in |
When it comes to python packaging, I came to rely on the judgement of Hynek Schlawack (https://hynek.me/articles/testing-packaging/) - and I experienced packaging errors which were not caught by local testing without the intermediate |
Tests are happy now, thanks again! |
Pretty minimal work so far.