- Verbose logs will now write gracefully to the terminal even while the
spinner is running (i.e. during locking)
- This PR also cuts over to Devpi for a backing cache rather than a
hacked httpbin instance
- Inclues a refactor of `pip_install` to deduplicate logic
- Attempts to switch back to relying on native editable installs in pip
as the current implementation is broken on master (i.e. nothing is
installed in the virtualenv)
- Fixes#3809
Signed-off-by: Dan Ryan <dan@danryan.co>
Signed-off-by: Dan Ryan <dan@danryan.co>
probably need to sync submodules for this to work
Signed-off-by: Dan Ryan <dan@danryan.co>
Update to new version of artifacts
Signed-off-by: Dan Ryan <dan@danryan.co>
Fix windows failure
Signed-off-by: Dan Ryan <dan@danryan.co>
Update azure-pipelines.yml for Azure Pipelines
Update lockfile test for windows
Signed-off-by: Dan Ryan <dan@danryan.co>
Fix scandir test
Signed-off-by: Dan Ryan <dan@danryan.co>
Update azure test steps
Signed-off-by: Dan Ryan <dan@danryan.co>
Fix virtualenv test
Signed-off-by: Dan Ryan <dan@danryan.co>
Fix python discovery when nothing is supplied
Signed-off-by: Dan Ryan <dan@danryan.co>
Fix cli ensure_project call
Signed-off-by: Dan Ryan <dan@danryan.co>
Fix run in virtualenv test
Signed-off-by: Dan Ryan <dan@danryan.co>
Show why virtualenv test failed if it did
Signed-off-by: Dan Ryan <dan@danryan.co>
Fix python interpreter discovery
Signed-off-by: Dan Ryan <dan@danryan.co>
scale down lock test modifications and increase error logging
Signed-off-by: Dan Ryan <dan@danryan.co>
Fix spinner bugs on windows and python discovery
Signed-off-by: Dan Ryan <dan@danryan.co>
Fix pythonfinder search algorithm to dodge false paths on win
Signed-off-by: Dan Ryan <dan@danryan.co>
use pipenv directly
Signed-off-by: Dan Ryan <dan@danryan.co>
author Dan Ryan <dan@danryan.co> 1554074378 -0400
committer Dan Ryan <dan@danryan.co> 1558982736 -0400
gpgsig -----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEEb6jpcpb+5zzDideCsyDQTvvOpJUFAlzsMFAACgkQsyDQTvvO
pJWZmRAAtge5wdprlLnKdWUYK5USZb7Uk3zJHi9UIvnO7nKP6UA/L2D/5nxZitvx
pZI7cGG+8sLp2yZNtQZdW6LNM1jmRXgzdMLYQh/5zo5gbj6KLOw7erh0FU3L3uM6
wNBNM135Eqt7b+4a4C5TEK2UjwRxBHAsF+3ZzUy+UJQqgQEKxFVxW4gC4yxpfMtL
jipE8ludwuOIM88ZJapmLpv2R6adQTxWZedTlmczdsy2/WKGHTCCpWs96PBbntdI
pVBmoXfMhgZi+IuGR3iBYU0qS97vjJ8Te9tQZAaB9JGSqv3hHDWo1ht/rrG2RXzp
3i0Cf2vG4035EUh56VYE9FCC9m6Vu3U9iIR34BZG9K5+lDP7pmJmjT+GymEgMP0N
GoP3LYUO+dJjMjaUEMsC6QIi6DAots3uk4lxIw3wcA4Im/N/i5xafsRj1Eu3UdBL
wBDKMz/FQjH+tD+mnvTlzaxD5vdhhCdBu1gK59rjNMlzg8hz6EF61QbHCaQHd4UI
VOGIa8ThLlLI3addxzq/McceAc+OsLJ9hm06jkjvvoIuKrHyE3DybdbYQC7uEwyw
2AvVuMDCPcciYQnkJhNTKmGvPcUDYD7cF91GKcUJKdPdyzDCeFEo5SUTKnLV4Cj2
VD2sdVUk4jnmYfE4pCFvHKYooxQDMKQk/VCKl1c9QHL9/ijCx+o=
=b+H1
-----END PGP SIGNATURE-----
Ensure resolver doesn't compare editable specifiers
- Don't compare versions of editable dependencies when updating using
`--keep-outdated` -- editable dependencies will now be updated to
the latest version
- Ensure we don't drop markers from the lockfile when versions are not
updated
- Fixes#3656
- Fixes#3659
Signed-off-by: Dan Ryan <dan@danryan.co>
Add future import for print function
Signed-off-by: Dan Ryan <dan@danryan.co>
Handle all possible markers in lockfiles
Signed-off-by: Dan Ryan <dan@danryan.co>
Fix json import
Signed-off-by: Dan Ryan <dan@danryan.co>
point to correct reference for lockfile
Signed-off-by: Dan Ryan <dan@danryan.co>
Fix marker merging errors
Signed-off-by: Dan Ryan <dan@danryan.co>
Prevent automatically setting `editable=True`
- Fixes#3647
Signed-off-by: Dan Ryan <dan@danryan.co>
Add new feature toggle for VCS dependency resolution
- Fixes#3577
Signed-off-by: Dan Ryan <dan@danryan.co>
Fix syntax error
Signed-off-by: Dan Ryan <dan@danryan.co>
Use string for environment
Signed-off-by: Dan Ryan <dan@danryan.co>
Fix class name resolution for py27
Signed-off-by: Dan Ryan <dan@danryan.co>
Write json files as unicode
Signed-off-by: Dan Ryan <dan@danryan.co>
Fix resolution with env var
Signed-off-by: Dan Ryan <dan@danryan.co>
- Test that the lockfile doesn't get updated if satisfying constraints
are pinned already in the lockfile
- Test that pipfile pins are respected
- Test that dependencies in the lockfile with markers that don't apply
to the current system stay in the lockfile
Signed-off-by: Dan Ryan <dan@danryan.co>
- Stop preferring resolution of VCS dependencies in all cases
- Resolve vcs dependencies together with non-vcs dependencies
- Clarify blocking and no-deps logic
- Add artifacts and tests
- Add vendoring task for artifacts
- Clean up release tasks
- Fixes#3296
Signed-off-by: Dan Ryan <dan@danryan.co>
Signed-off-by: Dan Ryan <dan@danryan.co>
Update vendored dependencies
Signed-off-by: Dan Ryan <dan@danryan.co>
Fix file handle leaks
- Fix#3020
- Fix#3088
- Patch delegator
- Add weakref finalizer for tempfiles
Signed-off-by: Dan Ryan <dan@danryan.co>
Fix spinner handlers on windows
Signed-off-by: Dan Ryan <dan@danryan.co>
Fix spinner output and encoding issue
Signed-off-by: Dan Ryan <dan@danryan.co>
fix encoding
Signed-off-by: Dan Ryan <dan@danryan.co>
Fix unicode output on windows, fix tomlkit imports
Signed-off-by: Dan Ryan <dan@danryan.co>
Unvendor boltons, fix compatibility, update merge functionalities
Signed-off-by: Dan Ryan <dan@danryan.co>
Update pythonfinder, vistir version, requirementslib version
Signed-off-by: Dan Ryan <dan@danryan.co>
Fix vendoring script
Signed-off-by: Dan Ryan <dan@danryan.co>
Silence pip version checks
Signed-off-by: Dan Ryan <dan@danryan.co>
Add debugging to locking
Signed-off-by: Dan Ryan <dan@danryan.co>
- the rest of the to-do items are at https://github.com/pypa/pipenv/projects/2
- We just need to review the items in the 'needs tests' column to ensure
that they either have tests, or don't need to have tests
- If they need tests, and they don't yet have tests, we need to write
them and make sure they pass
- Then we can release. No more features/bugfixes, this is now how it's
going out.
Signed-off-by: Dan Ryan <dan@danryan.co>
Signed-off-by: Dan Ryan <dan@danryan.co>
Add pytz and certifi updates
Signed-off-by: Dan Ryan <dan@danryan.co>
Fix nondeterministic resolution bug
- Update dependencies
- Fix some issues with test logic
- Update piptools patch
Signed-off-by: Dan Ryan <dan@danryan.co>
Update more packages
Signed-off-by: Dan Ryan <dan@danryan.co>
Update tests and utils
Signed-off-by: Dan Ryan <dan@danryan.co>
Still need to tackle last few failures
- this will seriously help with resolution issues
Add alembic new version
Signed-off-by: Dan Ryan <dan@danryan.co>
Adds support for the --pypi-mirror command line parameter and the
PIPENV_PYPI_MIRROR environment variable for most pipenv operations.
This permits pipenv to function without pypi.org, which is necessary for
users:
1. behind restrictive networks
2. facing strict artifact sourcing policies
3. experiencing poor performance connecting to pypi.org
4. who've configured a local cache for performance reasons
When specified, the value of this parameter replaces all instances of
pypi.org and pypi.python.org within pipenv operations without modifying
or requring the modification of Pipfiles.
- Resolves#2075