Skip to content

provide pathlib based paths in compat and plain flavours to enable removal of py.path usage in pytest 3.0 #1260

Closed

Description

@RonnyPfannschmidt

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

Activity

  1. added
    type: enhancement
    type: proposal
    type: backward compatibility
    type: refactoring
    on Dec 14, 2015
  2. added this to the 2.9 milestone on Dec 14, 2015
  3. modified the milestones: 2.10, 2.9 on Feb 26, 2016
  4. modified the milestones: 2.10, 3.0 on Jun 26, 2016
  5. removed this from the 3.0 milestone on Jul 19, 2016
  6. RonnyPfannschmidt commented on Jul 19, 2016

    @RonnyPfannschmidt
    MemberAuthor

    clearing the milestone, perhaps aiming for 4.0 is more realistic

  7. Zac-HD commented on Oct 21, 2018

    @Zac-HD
    Member

    Closed by #3988, I think - py.path is only a shim now and emits deprecation warnings 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: backward compatibilitytype: enhancementtype: proposaltype: refactoring

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions