Commit Graph

5251 Commits

Author SHA1 Message Date
jxltom 4cbd59631d Load patched pip instead of system one 2018-10-04 10:10:10 +08:00
kennethreitz d65038ecc9 Update NOTICES 2018-10-03 23:23:39 +08:00
Andrew Zhou d0e537b565 Add references to PEEP 2018-10-03 23:23:09 +08:00
Andrew Zhou f8e3f2550f Replace reference to Uservoice with PEEP-000.
Fixes #2809.
2018-10-03 23:23:09 +08:00
David Staheli 02be875774 Use new Azure Pipelines domain in build badges
Azure Pipelines now uses https://dev.azure.com/pypa instead of https://pypa.visualstudio.com.
2018-10-02 15:57:03 +08:00
ocavue 39276c32df Remove a 404 link in issue templates 2018-09-30 15:04:50 +08:00
Michael Hoang 19c1f4a2d9 Add news entry for PR #2877 2018-09-29 09:18:15 +08:00
Michael Hoang 65ccd765b6 Create virtualenvs directory if it does not exist 2018-09-29 09:18:15 +08:00
kennethreitz 9084792db0 Update Dockerfile 2018-09-25 04:33:45 -04:00
kennethreitz 53dc0882c3 Update Dockerfile 2018-09-25 04:29:04 -04:00
kennethreitz 264fb6209e have docker use python3.7 2018-09-25 04:08:41 -04:00
kennethreitz 81b7cf7dfe precursor to something greater (team: make this work :) 2018-09-25 03:38:00 -04:00
kennethreitz 7a696ceb5c hope i don't regret this :) 2018-09-21 03:10:10 -04:00
Dan Ryan 19cc73125f Merge pull request #2858 from jdufresne/pypi
Correct capitalization of PyPI
2018-09-16 16:29:49 -04:00
Jon Dufresne 4851fe513c Correct capitalization of PyPI
As spelled on https://pypi.org/.
2018-09-16 11:37:23 -07:00
Gabi Nagy 9105ac415b Fix pipenv install --dev help text
The previous help text made it seem that
`pipenv install --dev` would install ONLY
dev-packages, which is not the case.

The current description is identical to the
one used in the documentation, which is
a lot clearer.
2018-09-14 11:23:03 +08:00
Gabi Nagy 51c3c8b600 Fix pipenv install --dev description
By default, `pipenv install` will install packages
based on the list in `Pipfile`, not `Pipfile.lock`.
`pipenv install --dev` is no exception.

I've tested this using pipenv 2018.7.1
with different package versions in `Pipfile`
and `Pipfile.lock`. After `pipenv install`,
the versions in `Pipfile` were the ones
actually installed.
2018-09-14 11:23:03 +08:00
Gabi Nagy 408ed9be46 Add fragment to the news directory 2018-09-14 11:23:03 +08:00
Gabi Nagy 62c2bd78ca Clarify pipenv install documentation
`if no packages are given` sounds a bit better than
`if none is given` when referring to `provided packages`.

Also mention that `pipenv install` with no provided packages
installs all packages from Pipfile. It is not obvious for
people new to pipenv whether pipenv is using Pipfile or
Pipfile.lock by default.
2018-09-14 11:23:03 +08:00
kennethreitz a509899cbe peep update 2018-09-06 03:14:22 -04:00
Dan Ryan b771621274 Fix option in cli and get released requirementslib
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-09-05 12:47:10 +08:00
Dan Ryan 7358399f6c Windows edge case and news
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-09-05 12:47:10 +08:00
Dan Ryan 3d33e5a257 Update requirementslib and fix VCS installation
Signed-off-by: Dan Ryan <dan@danryan.co>

Don't re-clone repos now that this works

Signed-off-by: Dan Ryan <dan@danryan.co>

Prune peeps directory from manifest

Signed-off-by: Dan Ryan <dan@danryan.co>

Fix nonetype uris

Signed-off-by: Dan Ryan <dan@danryan.co>

Manually lock requirements?

Signed-off-by: Dan Ryan <dan@danryan.co>

Update requirementslib - leave context before updating sha

Signed-off-by: Dan Ryan <dan@danryan.co>

Fix requirementslib vcs checkouts

Signed-off-by: Dan Ryan <dan@danryan.co>

fix tmpdir implementation

Signed-off-by: Dan Ryan <dan@danryan.co>

final fix for vcs uris

Signed-off-by: Dan Ryan <dan@danryan.co>

Allow for adding requirements objects directly to pipfile

Signed-off-by: Dan Ryan <dan@danryan.co>

Update piptools patch

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-09-05 12:47:10 +08:00
Dan Ryan f6f98f4683 No idea why this doesn't work 2018-09-05 12:47:10 +08:00
Dan Ryan ab8a608ece Fix editor auto-deletions of piptools patch lines
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-09-05 12:47:10 +08:00
Dan Ryan 88df20084c Add missing skip_lock option
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-09-05 12:47:10 +08:00
Dan Ryan 950288d188 Minor project fixes
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-09-05 12:47:10 +08:00
Dan Ryan 128eb4e647 Fix installation of multiple packages
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-09-05 12:47:10 +08:00
Dan Ryan db5a8628ec Reorganize pip installation to ditch custom parser
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-09-05 12:47:10 +08:00
Dan Ryan c48d24c8cc Syntax error...
Signed-off-by: Dan Ryan <dan@danryan.co>

Update requirementslib

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-09-05 12:47:10 +08:00
Dan Ryan 683df2f8ad Turn off no-deps for tarballs/zips
- Fixes #2173

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-09-05 12:47:10 +08:00
Dan Ryan c611b1e7ad Fix lock -r output to include all markers
- Fixes #2748

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-09-05 12:47:10 +08:00
Dan Ryan a506a8c5f3 Update requirementslib
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-09-05 12:47:10 +08:00
Dan Ryan 7a671a7a14 Clean up vcs ref checkouts
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-09-05 12:47:10 +08:00
Dan Ryan d3cf11d302 Fix some typos
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-09-05 12:47:10 +08:00
Dan Ryan f7db50e8fb Cleanup unicode literals warnings
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-09-05 12:47:10 +08:00
Dan Ryan cd5cad30be Refactor CLI for organization and simplicity
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-09-05 12:47:10 +08:00
Dan Ryan fedda7f2c4 Clean up test 2018-09-05 12:47:10 +08:00
Dan Ryan 3b2f8e14d2 Update piptools patch
- Handle editable installs more effectively
- Actually store the distribution after we create it
- Actually get the dependencies from it
2018-09-05 12:47:10 +08:00
Dan Ryan 1df5fe86e9 Clean up core arguments
- Handle packages and editable packages separately
- Allow `pip_install` to take `Requirement` objects as arguments rather than re-parsing
- Remove bad parsing logic
2018-09-05 12:47:10 +08:00
Dan Ryan da1fa557a1 Refactor CLI options
- Allow parsing of multiple packages, editable and non-editable, interspersed
- Handle `--index` and `--extra-index-url` with click's native parsing
- Split commonly used options out into separate groups
2018-09-05 12:47:10 +08:00
kennethreitz 5ef361b501 Merge pull request #2819 from fridex/peep-002
PEEP-002: Specify options via environment variables
2018-09-04 06:33:47 -04:00
Fridolin Pokorny a39439c929 Capitalize pipenv where appropriate 2018-09-04 12:17:52 +02:00
Fridolin Pokorny d074ffab7f PEEP-002: Specify options via environment variables 2018-09-03 21:11:29 +02:00
Dan Ryan 417f0dfdcd Merge pull request #2813 from brettcannon/patch-2
Fix a spelling mistake
2018-09-02 19:02:11 -04:00
Brett Cannon 1ae08d53e6 Fix a spelling mistake 2018-09-02 09:00:59 -07:00
kennethreitz 558d1930c8 Update PEEP-000.md 2018-09-02 11:05:39 -04:00
kennethreitz b427644f7c Update PEEP-TEMPLATE.md 2018-09-02 11:04:23 -04:00
kennethreitz 6da9dc53f1 Update PEEP-001.md 2018-09-02 07:18:51 -04:00
kennethreitz 3270f2ad8e Update PEEP-000.md 2018-09-02 07:18:31 -04:00