Conversation
|
Note I've also put up pytest-dev/pytest#3487 as requested to get this moving! |
|
Could you add a hint to the deprecation warning on what to replace the functionality with? |
|
Would it also be possible to throw a deprecation warning if a plugin provides a hook without using the marker? That is much more important, because people have to update their plugins first before the functionality is removed. |
|
I would even say that there should be a pluggy release which only deprecates hooks without the marker before deprecating implprefix itself. |
@fschulze yes definitely to both of these.
@fschulze deprecating |
|
The difference is, that I would see DeprecationWarnings for implprefix as long as devpi supports plugins without the marker. What I would like is to let plugins see the warning that they should use the marker, but ignore the implprefix for that time. I guess I can use the warnings module to add a filter for it though. |
|
@fschulze see the related pytest pr for a solution |
89fa9bc to
39f2136
Compare
|
@fschulze pushed up the changes you requested. Let me know if that's good enough! |
|
@tgoodlet Thanks! Now one knows what to look for in the documentation when this deprecation pops up. Question about Travis: |
@fschulze Not sure what you mean. The tests are run with different versions of
I actually think the error on warnings is good because it shows where I haven't fixed up the tests yet. We should only be getting warnings where the tests are written to expect them. |
|
Just waiting on CI after fixing up warning expectations in the tests then I'll merge as long as there's no more concerns 👍 |
Pertains to starting work on #116.
I'll have a corresponding PR to
pytestto ensure the warning is avoided - turned out it's a trivial change.