Skip to content

Commit

Permalink
Update pythonfinder to 1.2.8
Browse files Browse the repository at this point in the history
  • Loading branch information
frostming committed Jul 27, 2021
1 parent e218469 commit dcd0633
Show file tree
Hide file tree
Showing 12 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .azure-pipelines/steps/run-tests-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ steps:
# Fix Git SSL errors
echo "Using pipenv python version: $(PIPENV_DEFAULT_PYTHON_VERSION)"
git submodule sync && git submodule update --init --recursive
pipenv run pytest -n 4 --junitxml=junit/test-results.xml tests
pipenv run pytest -n 4 -v --junitxml=junit/test-results.xml tests
displayName: Run integration tests
env:
PYTHONWARNINGS: ignore:DEPRECATION
Expand Down
2 changes: 1 addition & 1 deletion .azure-pipelines/steps/run-tests-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ steps:
- script: |
git submodule sync
git submodule update --init --recursive
pipenv run pytest -ra -n 4 --junit-xml=junit/test-results.xml tests/
pipenv run pytest -ra -n 4 -v --junit-xml=junit/test-results.xml tests/
failOnStderr: false
displayName: Run integration tests
env:
Expand Down
2 changes: 1 addition & 1 deletion news/4747.vendor.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Update vendored dependencies
- ``ptyprocess`` from ``0.6.0`` to ``0.7.0``
- ``python-dateutil`` from ``2.8.1`` to ``2.8.2``
- ``python-dotenv`` from ``0.15.0 to ``0.19.0``
- ``pythonfinder`` from ``1.2.5`` to ``1.2.7``
- ``pythonfinder`` from ``1.2.5`` to ``1.2.8``
- ``requests`` from ``2.25.0`` to ``2.26.0``
- ``shellingham`` from ``1.3.2`` to ``1.4.0``
- ``six`` from ``1.15.0`` to ``1.16.0``
Expand Down
2 changes: 1 addition & 1 deletion pipenv/vendor/pythonfinder/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from .models import SystemPath, WindowsFinder
from .pythonfinder import Finder

__version__ = "1.2.7"
__version__ = "1.2.8"


logger = logging.getLogger(__name__)
Expand Down
2 changes: 1 addition & 1 deletion pipenv/vendor/pythonfinder/compat.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import six

if sys.version_info[:2] <= (3, 4):
from pipenv.vendor.pathlib2 import Path # type: ignore # noqa
from pathlib2 import Path # type: ignore # noqa
else:
from pathlib import Path

Expand Down
2 changes: 1 addition & 1 deletion pipenv/vendor/pythonfinder/models/mixins.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import operator
from collections import defaultdict

from pipenv.vendor import attr
import attr
import six

from ..compat import fs_str
Expand Down
4 changes: 2 additions & 2 deletions pipenv/vendor/pythonfinder/models/path.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from collections import defaultdict
from itertools import chain

from pipenv.vendor import attr
import attr
import six
from cached_property import cached_property
from ..compat import Path, fs_str
Expand Down Expand Up @@ -227,7 +227,7 @@ def _run_setup(self):
)
new_instance = attr.evolve(
new_instance,
path_order=[p.as_posix() for p in path_instances],
path_order=[p.as_posix() for p in path_instances if p.exists()],
paths=path_entries,
)
if os.name == "nt" and "windows" not in self.finders:
Expand Down
2 changes: 1 addition & 1 deletion pipenv/vendor/pythonfinder/models/python.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import sys
from collections import defaultdict

from pipenv.vendor import attr
import attr
import six
from packaging.version import Version

Expand Down
2 changes: 1 addition & 1 deletion pipenv/vendor/pythonfinder/models/windows.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import operator
from collections import defaultdict

from pipenv.vendor import attr
import attr

from ..environment import MYPY_RUNNING
from ..exceptions import InvalidPythonVersion
Expand Down
2 changes: 1 addition & 1 deletion pipenv/vendor/pythonfinder/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from fnmatch import fnmatch
from threading import Timer

from pipenv.vendor import attr
import attr
import six
from packaging.version import LegacyVersion, Version

Expand Down
2 changes: 1 addition & 1 deletion pipenv/vendor/vendor.txt
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ ptyprocess==0.7.0
pyparsing==2.4.7
python-dateutil==2.8.2
python-dotenv==0.19.0
pythonfinder==1.2.7
pythonfinder==1.2.8
requests==2.26.0
requirementslib==1.5.16
scandir==1.10.0
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/test_install_basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ def test_editable_no_args(PipenvInstance):
with PipenvInstance() as p:
c = p.pipenv("install -e")
assert c.return_code != 0
assert "Error: -e option requires an argument" in c.err
assert "Error: Option '-e' requires an argument" in c.err


@pytest.mark.basic
Expand Down

0 comments on commit dcd0633

Please sign in to comment.