Skip to content

Conversation

@RonnyPfannschmidt
Copy link
Member

warning logging got broken by detanglement from config

  • Create a new changelog file in the changelog folder, with a name like <ISSUE NUMBER>.<TYPE>.rst. See changelog/README.rst for details.
  • Include new tests or update existing tests when applicable.

from os.path import sep as _sep, altsep as _altsep
import shutil

from . import paths
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you forgot to include paths.py into the commit.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

cachedir.mkdir()
return cls(cachedir)

_cachedir = attr.ib(repr=False)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For consistency we maybe should keep all attr.ib declarations at the start of the class declaration, before any methods?

else:
from funcsigs import signature, Parameter as Parameter
from pathlib2 import Path
Path
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Extra symbol here, accident?

@nicoddemus
Copy link
Member

@RonnyPfannschmidt it seems there's one failing test still.

@RonnyPfannschmidt
Copy link
Member Author

@nicoddemus test_cache_failure_warns needs the warnings fixed/reintegrated, i'd like to talk about that (hence the RFC bracket)

the python2 failures are due to my neglect and will be fixed later

@coveralls
Copy link

coveralls commented Jun 19, 2018

Coverage Status

Coverage decreased (-0.002%) to 92.663% when pulling 5a156b3 on interal-pathlib into de98939 on features.

@RonnyPfannschmidt
Copy link
Member Author

man. py34 is broken due to its broken pathlib ^^ part of me wants to drop support, will fix later

@nicoddemus
Copy link
Member

Do we have an idea of when we plan to drop py34 btw?

@RonnyPfannschmidt
Copy link
Member Author

@nicoddemus https://devguide.python.org/#status-of-python-branches - eol is in about 9 months, i#d wait at least another 6 months

@nicoddemus
Copy link
Member

Fair enough, thanks for the link!

@RonnyPfannschmidt
Copy link
Member Author

seems i was wrong about 3.4, needs 3.5 as well i suppose

class Cache(object):

def __init__(self, config):
self.config = config
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i realized that removing config and trace is not a good change as its "public" api

@RonnyPfannschmidt RonnyPfannschmidt changed the title [RFC] port cache plugin internals to pathlib [WIP] port cache plugin internals to pathlib Jun 20, 2018
@RonnyPfannschmidt
Copy link
Member Author

benhoyt/scandir#53 for pypy on windows :/

@RonnyPfannschmidt
Copy link
Member Author

@nicoddemus is it permissible to kill off the windows pypy testing until we can get it to build scandir and/or provide a wheel?

@nicoddemus nicoddemus merged commit 5b186cd into features Jun 25, 2018
@nicoddemus nicoddemus deleted the interal-pathlib branch June 25, 2018 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

4 participants