Skip to content

Commit 54a73d1

Browse files
authored
Merge pull request #3298 from pypa/bugfix/3148
Fix direct url dependency resolution
2 parents 44db5dd + b395aca commit 54a73d1

File tree

205 files changed

+14804
-4775
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

205 files changed

+14804
-4775
lines changed

.azure-pipelines/jobs/run-tests.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@ steps:
1616
export PIP_PROCESS_DEPENDENCY_LINKS="1"
1717
echo "Path $PATH"
1818
echo "Installing Pipenv…"
19-
pip install -e "$(pwd)" --upgrade
19+
pip install -e "$(pwd)[test]" --upgrade
2020
pipenv install --deploy --dev
21+
pipenv run pip install -e "$(pwd)[test]" --upgrade
2122
echo pipenv --venv && echo pipenv --py && echo pipenv run python --version
2223
displayName: Make Virtualenv
2324

.azure-pipelines/jobs/run-vendor-scripts.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,8 @@ jobs:
1010
maxParallel: 4
1111
matrix:
1212
${{ if eq(parameters.vmImage, 'vs2017-win2016') }}:
13-
# TODO remove once vs2017-win2016 has Python 3.7
1413
Python37:
15-
python.version: '>= 3.7.0-b2'
14+
python.version: '>= 3.7.2'
1615
python.architecture: x64
1716
${{ if ne(parameters.vmImage, 'vs2017-win2016' )}}:
1817
Python37:
@@ -33,7 +32,7 @@ jobs:
3332
pip install certifi
3433
export GIT_SSL_CAINFO=$(python -m certifi)
3534
export LANG=C.UTF-8
36-
python -m pip install --upgrade invoke requests parver bs4 vistir towncrier
35+
python -m pip install --upgrade invoke requests parver bs4 vistir towncrier pip setuptools wheel --upgrade-strategy=eager
3736
python -m invoke vendoring.update
3837
3938
- template: ./run-manifest-check.yml
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
steps:
22
- script: |
33
virtualenv D:\.venv
4-
D:\.venv\Scripts\pip.exe install -e . && D:\.venv\Scripts\pipenv install --dev
4+
D:\.venv\Scripts\pip.exe install -e .[test] && D:\.venv\Scripts\pipenv install --dev && D:\.venv\Scripts\pipenv run pip install -e .[test]
55
echo D:\.venv\Scripts\pipenv --venv && echo D:\.venv\Scripts\pipenv --py && echo D:\.venv\Scripts\pipenv run python --version
66
displayName: Make Virtualenv
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
steps:
2-
- script: 'python -m pip install --upgrade pip && python -m pip install -e .'
2+
- script: 'python -m pip install --upgrade pip && python -m pip install -e .[test]'
33
displayName: Upgrade Pip & Install Pipenv

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,3 +153,8 @@ venv.bak/
153153

154154
# Custom rules (everything added below won't be overriden by 'Generate .gitignore File' if you use 'Update' option)
155155
.vs/slnx.sqlite
156+
157+
# mypy/typing section
158+
typeshed/
159+
.dmypy.json
160+
mypyhtml/

Pipfile

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,11 @@
11
[dev-packages]
2-
pipenv = {path = ".", editable = true}
2+
pipenv = {path = ".", editable = true, extras = ["test"]}
33
"flake8" = ">=3.3.0,<4"
4-
pytest = "*"
5-
mock = "*"
64
sphinx = "<=1.5.5"
75
twine = "*"
86
sphinx-click = "*"
9-
pytest-xdist = "*"
107
click = "*"
11-
pytest-pypy = {path = "./tests/pytest-pypi", editable = true}
12-
pytest-tap = "*"
13-
flaky = "*"
8+
pytest-pypi = {path = "./tests/pytest-pypi", editable = true}
149
stdeb = {version="*", markers="sys_platform == 'linux'"}
1510
black = {version="*", markers="python_version >= '3.6'"}
1611
pytz = "*"

Pipfile.lock

Lines changed: 208 additions & 229 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

news/2722.bugfix.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fixed a bug which caused editable package resolution to sometimes fail with an unhelpful setuptools-related error message.

news/3053.bugfix.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Dependency resolution now writes hashes for local and remote files to the lockfile.

news/3071.bugfix.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fixed a bug which prevented ``pipenv graph`` from correctly showing all dependencies when running from within ``pipenv shell``.

0 commit comments

Comments
 (0)