Preparing release version 4.1.2#4686
Conversation
|
Weird, @asottile we are getting an error during doc generation: Here's the relevant code: This is not new and just now started to fail... any ideas? |
|
interesting, let me take a look |
|
there's a difference in output between pytest 4.1.1 and master -- I suspect we should fix that and not release: import pytest
@pytest.mark.xfail
def test_xfail():
raise AssertionError()
@pytest.mark.xfail
def test_xpass():
passpytest t.py -vv > 4_1_1
pip install git+https://github.com/pytest-dev/pytest --upgrade
pytest t.py -vv > 4_1_2$ diff -u 4_1_1 4_1_2
--- 4_1_1 2019-01-28 13:38:03.004458708 -0800
+++ 4_1_2 2019-01-28 13:38:18.108019589 -0800
@@ -1,10 +1,10 @@
============================= test session starts ==============================
-platform linux -- Python 3.6.7, pytest-4.1.1, py-1.7.0, pluggy-0.8.1 -- /tmp/pygments-pytest/venv/bin/python3
+platform linux -- Python 3.6.7, pytest-4.1.2.dev39+g5119abe4, py-1.7.0, pluggy-0.8.1 -- /tmp/pygments-pytest/venv/bin/python3
cachedir: .pytest_cache
rootdir: /tmp/pygments-pytest, inifile:
collecting ... collected 2 items
-t.py::test_xfail xfail [ 50%]
+t.py::test_xfail XFAIL [ 50%]
t.py::test_xpass XPASS [100%]
===================== 1 xfailed, 1 xpassed in 0.02 seconds =====================The original behaviour seems more correct to me, for xfail we used |
|
Hmm right, this was changed in #4668. I disagree, I think |
|
🤷♂️ 1a8b283 changed It's entirely cosmetic though I guess -- I can update pygments-pytest to recognize |
Yes please. |
|
the other question is should this change land in 4.1.2 or in 4.2.0 |
|
here's the patch for |
Hmmm I guess this small change is OK to go into |
|
|
It seems this folder is generated by latest pip version
Codecov Report
@@ Coverage Diff @@
## master #4686 +/- ##
==========================================
+ Coverage 95.71% 95.71% +<.01%
==========================================
Files 113 113
Lines 24907 24907
Branches 2459 2459
==========================================
+ Hits 23839 23840 +1
Misses 755 755
+ Partials 313 312 -1
Continue to review full report at Codecov.
|
|
Awesome, thanks @asottile! 🙇 |
I think the problem with pygments-pytest shows that it might cause problems with other tools that are parsing the output, so I'd vote for holding it back for 4.2.0 - or release this as 4.2.0?! |
|
Yeah, I agree, so I'm closing this. |
|
We have only 3 issues left on the 4.2 milestone, seems reasonable that we can get 4.2 out by the end of the week? |
|
I do not have much time myself, but #4280 should be fine - no real review though still. |
|
@blueyed I will take it for a spin later and merge it, unless I encounter some problem. 👍 |
|
The 1a8b283 might be the historical reason I was searching for in #4668 (comment) |
No description provided.