Commit Graph

4628 Commits

Author SHA1 Message Date
Dan Ryan b74c6586fa Minor control flow and test logic updates
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-22 15:36:39 -04:00
Dan Ryan f91c9e0d06 Update news
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-22 15:36:39 -04:00
Dan Ryan 6343acb4cc Use the real marker parser -- confirmed working
Signed-off-by: Dan Ryan <dan@danryan.co>

Typo fix

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

Move away from structlog for testing

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

Remove em-dash and ellipsis characters

- Replace with dashes and dots

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-22 15:36:39 -04:00
Dan Ryan efe39654bb Update integration test
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-22 15:36:39 -04:00
Dan Ryan 6c62d94c3b Fix pip cahce dir argument
Signed-off-by: Dan Ryan <dan@danryan.co>

Add snaptime sdist

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

Update core.py encoding and add gitattributes

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

Fix deploy test

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

Add pytest things

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

Add py sdist

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-22 15:36:39 -04:00
Dan Ryan 32a89d9342 explicitly turn possible InlineTableElement to dict
Signed-off-by: Dan Ryan <dan@danryan.co>

Add updated regex dependency

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-22 15:36:39 -04:00
Dan Ryan 15bcf36467 Catch AttributeErrors when resolving sdists
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-22 15:36:39 -04:00
Dan Ryan c31a311dc7 Minor code cleanup
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>
2018-06-22 15:36:39 -04:00
Dan Ryan 93aceb1cc5 Add pytz-2018 wheel
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-22 15:36:39 -04:00
Dan Ryan 9f58768ead Exclude dependencies with failing markers from lock
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-22 15:36:39 -04:00
Dan Ryan fde4a89a95 Merge pull request #2385 from pypa/avoid-shell-in-run-if-possible
Use shell=False when "run" if possible on Windows
2018-06-22 14:44:50 -04:00
Dan Ryan 1091ccb73f Added news item for feature
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-22 14:38:19 -04:00
Dan Ryan ef38b6e685 Merge branch 'master' into avoid-shell-in-run-if-possible 2018-06-22 03:18:09 -04:00
Dan Ryan 82bf57a729 Merge pull request #2386 from pypa/python2-dotenv-subprocess-conflict
Ensure environs are strings on Python 2 + Windows
2018-06-22 03:17:54 -04:00
Dan Ryan 154f13a26a Added news entry for patch
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-22 03:07:54 -04:00
Tzu-ping Chung 1ce00f922a Ensure environs are strings on Python2 + Windows
Patch based on theskumar/python-dotenv#101 by @greyli.
2018-06-22 03:07:54 -04:00
Dan Ryan beb6aef7dd Merge branch 'maxk-fix-empty-requires' 2018-06-22 02:06:09 -04:00
Dan Ryan c76b95db34 Add test for install -e
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-22 02:05:44 -04:00
Max Krivich 0ef4929098 Fix CI errors 2018-06-22 02:00:50 -04:00
Max Krivich 0353b81b98 Update too complex if statement
Quick refactor for improve readability of code
2018-06-22 02:00:50 -04:00
Max Krivich 64c5ad9907 Change exception message 2018-06-22 02:00:50 -04:00
Max Krivich ebb07002d2 Fix empty indexes in cli param
Add extra check for -i option for fix `AttributeError: 'NoneType'`

To reproduce this bug `pipenv install <module> -i`
2018-06-22 02:00:50 -04:00
Max Krivich 252be32578 Fix cli option usage error
Fix IndexError exception when `more_packages` is empty and add the more
informal message for argument usage.

To reproduce this issue `pipenv install -e`
2018-06-22 02:00:50 -04:00
Tzu-ping Chung f8775b32e7 Use shell=False when "run" if possible on Windows
Do a "where" on the command; if it is found, prevent the intermediate
COMSPEC and use CreateProcess directly. Only use shell=True if the command
is not an executable.

This prevents some unexpected behaviour caused by the intermediate shell
process.
2018-06-19 23:09:12 +08:00
Dan Ryan 2a9bb815ff Updated changelog
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-18 20:14:45 -04:00
Dan Ryan 9195d3aa83 Merge pull request #2377 from pypa/2343-requires-python
Add conversion methods for requires-python formats
2018-06-18 16:09:21 -04:00
Dan Ryan 423b02efba Merge branch 'master' into 2343-requires-python 2018-06-18 14:42:23 -04:00
Dan Ryan d213e7c3d8 Merge pull request #2379 from pypa/2179-pipenv-update
Switch all update workflows to `pipenv lock/sync`
2018-06-18 14:42:10 -04:00
Dan Ryan 71ff85770e Fix isdigit check and bump version to dev0
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-18 11:45:07 -04:00
Dan Ryan 25e93251d8 Merge pull request #2376 from pypa/update-changelog
Update changelog
2018-06-18 11:42:52 -04:00
Dan Ryan 97bb50d344 Add conversion methods for requires-python formats
- Handle single-digit un-specified requires-python format
- `Requires-Python: 3` should be functionally equivalent to `>=3,<4`
- Fixes #2343

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-18 11:41:45 -04:00
Dan Ryan 0ce5b3cb22 Remove some unused arguments during passthrough
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-18 11:40:00 -04:00
Dan Ryan 1c04960653 Add test to verify pipenv update
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-18 11:28:17 -04:00
Dan Ryan ac853d0552 Switch all update workflows to pipenv lock/sync
- `pipenv update` currently doesn't actually run `pipenv lock`
- Semantics around this changed but it doesn't look like the code did
- `pipenv update` should operate similarly for all operations by running
`lock` followed by `sync`
- Fixes #2179

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-18 11:28:17 -04:00
Dan Ryan 03a85b14b2 Update release task
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-18 11:26:07 -04:00
Dan Ryan c418577c67 Add pipenv update pr to news fragments
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-18 04:14:04 -04:00
Dan Ryan cefe0656dd Added new PR to news fragments
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-18 02:45:24 -04:00
Dan Ryan b03113906f Don't use user mode to run tests
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-18 00:35:13 -04:00
Dan Ryan 7a34ea9818 Update news fragments
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-17 22:56:19 -04:00
Dan Ryan e1a29337cd Update release logs, add release tasks
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-17 21:51:24 -04:00
Dan Ryan 6b3cc1e7ea Configure towncrier
- Update history, add changelog, add news entries

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-17 21:38:26 -04:00
Dan Ryan 13ecf31291 Merge pull request #2368 from pypa/update-vendored-deps
Update vendored deps
2018-06-17 18:06:13 -04:00
Dan Ryan 040ae11a41 Update scandir to avoid importing from system lib
- Update lockfile with py2 deps

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-17 14:16:12 -04:00
Dan Ryan 9f7ccc7fb3 Fix lockfile
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-17 14:16:12 -04:00
Dan Ryan 6fafc2485a fix patch
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-17 14:16:12 -04:00
Dan Ryan 9d9824c30d Update all vendored and patched libraries
- Update pipfile and lockfile
- Update licenses
- Bump pathlib2 to latest version
- Include scandir without compiled library dependency
- Update vendoring script to remote scandir binaries going forward
- Update pinned dependencies in vendor.txt

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-17 14:16:12 -04:00
Dan Ryan 69f75e980c Fix pep425 vendoring patch
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-17 14:16:12 -04:00
Tzu-ping Chung 7ccbc2c477 Merge pull request #2369 from pypa/bugfix-2273
Make `PIPENV_VIRTUALENV` global
2018-06-17 20:26:39 +08:00
Dan Ryan c12bb6e9a6 Definitely fixed this time. Tested for real.
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-17 03:52:22 -04:00
Dan Ryan e92368e223 Fix syntax error
Signed-off-by: Dan Ryan <dan.ryan@xyleminc.com>
2018-06-16 13:05:58 -04:00