You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
provide pathlib based paths in compat and plain flavours to enable removal of py.path usage in pytest 3.0 #1260
type: backward compatibilitymight present some backward compatibility issues which should be carefully noted in the changelogtype: enhancementnew feature or API change, should be merged into features branchtype: proposalproposal for a new feature, often to gather opinions or design the API around the new featuretype: refactoringinternal improvements to the code
in order to get rid of the py.path legacy it is neccessary to provide a upgrade path
i propose adding a config option to handle legacy, compat and path based path objects for tmpdir, cache & co
leacy should be the default in the 2.9 release
if there is a 2.10 it should make compat the default
3.0 should drop the legacy and only offer pathlib
the canonical implementation should be pathlib2, since its on a recent state and works on 2.7, and 3.x
the compat flavour should warn with deprecationwarning subclasses to note the method removal in pytest 3.0
Reacted by Michael Aye, philip loguinov, ANDREI SHOKHIN, Tom Forbes, Jan Vlčinský, Alexey Strokach, Braham Snyder, Jérôme Lafréchoux, Roman Yurchak and Janis Lesinskis
type: backward compatibilitymight present some backward compatibility issues which should be carefully noted in the changelogtype: enhancementnew feature or API change, should be merged into features branchtype: proposalproposal for a new feature, often to gather opinions or design the API around the new featuretype: refactoringinternal improvements to the code
Activity
RonnyPfannschmidt commentedon Jul 19, 2016
clearing the milestone, perhaps aiming for 4.0 is more realistic
Zac-HD commentedon Oct 21, 2018
Closed by #3988, I think -
py.pathis only a shim now and emits deprecation warnings 🎉