[pytest-dev] Thinking bout a pathlib dependency and a tmppath/tmppath_factory fixture

holger krekel holger at merlinux.eu
Mon Sep 7 10:22:50 CEST 2015

Hi Ronny,

On Fri, Sep 04, 2015 at 22:52 +0200, Ronny Pfannschmidt wrote:
> Hi everyone,
> as part of detaching from pylib, its necessary to provide some kind of
> alternative for py.path.local
> in order to get started with that, i propose to start with proviing
> plugisn a pathlib based core for obtaining temporary folders
> later on we an extend on that and slowly migrate more apis, as well as
> warn about py.path usage in user code to ease the transition
> what do the rest of you think about that?

What about an experiment: identify which methods from py.path.local 
are used from pytest and write a little class on top of pathlib which
provides them (maybe as part of pytest for now) and see what issues
come up in the pytest regression suite?

Based on the experience with that we could see about strategies 
how to move on, considering packaging, compatibility and other issues.



> -- Ronny
> _______________________________________________
> pytest-dev mailing list
> pytest-dev at python.org
> https://mail.python.org/mailman/listinfo/pytest-dev

about me:    http://holgerkrekel.net/about-me/
contracting: http://merlinux.eu

More information about the pytest-dev mailing list