Commit Graph

5240 Commits

Author SHA1 Message Date
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
kennethreitz fd292f3f69 accepted 2018-09-02 07:16:32 -04:00
kennethreitz 4a2498625f Update PEEP-001.md 2018-09-02 07:14:25 -04:00
kennethreitz ece84a844b Merge pull request #2777 from sirosen/docs/deployment-guide
Update deployment section of advanced docs to explain `pipenv sync` usage
2018-09-02 07:08:29 -04:00
kennethreitz 7d6fb64f6d Update PEEP-001.md 2018-09-02 07:01:16 -04:00
kennethreitz 360b9df78a governance 2018-09-02 07:00:55 -04:00
kennethreitz 0d403473d4 PEEP! 2018-09-02 06:51:35 -04:00
Tzu-ping Chung 0e47b1c8a5 Merge pull request #2808 from BoboTiG/fix-resource-warnings-tests
Fix 2 ResourceWarning: unclosed file, in tests
2018-09-02 00:29:01 +08:00
Mickaël Schoentgen db104f0e4b Merge branch 'master' into fix-resource-warnings-tests 2018-09-01 16:03:01 +02:00
Mickaël Schoentgen f2b50190e5 Add NEWs entry 2018-09-01 16:02:29 +02:00
Mickaël Schoentgen 25a4b558cd Fix 2 ResourceWarning: unclosed file, in tests 2018-09-01 15:58:33 +02:00
Tzu-ping Chung 6687967fbf Merge pull request #2807 from lzutao/fix-missing-space
Add blank space after link
2018-09-01 21:43:25 +08:00