Commit Graph

4558 Commits

Author SHA1 Message Date
Dan Ryan 9bcd668dac Slight tweak to api, add test, add news
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-25 02:43:03 -04:00
Dan Ryan 4127f8da1d Remove print 2018-06-25 02:24:11 -04:00
Erin O'Connell b736708ee7 add click option for --safety-ignore instead of parsing it out of args 2018-06-24 22:46:03 -06:00
Erin O'Connell 734398e336 allow for more than one package to be passed to safety 2018-06-24 21:41:58 -06:00
Erin O'Connell 1154d2f1d7 rename the parameter --ignore to --safety_ignore 2018-06-24 20:42:12 -06:00
Erin O'Connell 2561e80dc8 simpler approach 2018-06-24 20:35:02 -06:00
Erin O'Connell cc332313a6 check now see's if --ignore is in the args list and append argument call to safety 2018-06-24 20:22:16 -06:00
Dan Ryan e535b05ed0 Merge pull request #2403 from pypa/cleanup-16
Cleanup 16.0
2018-06-24 13:59:18 -04:00
Tzu-ping Chung eafc97590d Fix docstrings that occurs in wrong places. 2018-06-25 00:55:42 +08:00
Tzu-ping Chung d382842dd8 Remove unused utility function
All get_converted_relative_path usages are now pushed into
requirementslib.
2018-06-24 15:55:06 +08:00
Tzu-ping Chung f91d83983c Fake upgrade to requirementslib 1.0.5 2018-06-24 15:54:07 +08:00
Tzu-ping Chung 1afee9a118 Merge pull request #2401 from pypa/tests-16.0
Tests 16.0
2018-06-24 14:45:12 +08:00
Dan Ryan 9624dce80a Windows relpath fix with requirementslib update
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-24 01:01:30 -04:00
Dan Ryan 3bfab233f5 Unicode file data
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-24 00:10:36 -04:00
Dan Ryan 5402a9bc0f Bump requirementslib version
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-24 00:06:31 -04:00
Dan Ryan 4b63fe5086 Update requirementslib again
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-24 00:03:10 -04:00
Dan Ryan 30b6425d57 Updated requirementslib and tests
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-23 23:35:35 -04:00
Dan Ryan aa82db02f7 Update test with comments + minor tweak
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-23 20:32:20 -04:00
Dan Ryan cf8fcfd8c6 Merge branch 'tests-16.0' of github.com:pypa/pipenv into tests-16.0 2018-06-23 20:28:36 -04:00
Dan Ryan ef913b2148 Tests for #2273 and #2301
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-23 20:27:08 -04:00
Erin O'Connell d6adc1efa5 test skipping requirements if there is a lockfile or package name is specified 2018-06-23 18:15:03 -06:00
Dan Ryan b2f6932a13 Add tests for #2309
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-23 19:57:06 -04:00
Dan Ryan 6b8649f575 Add test for #1861
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-23 19:46:51 -04:00
Dan Ryan dca353ffdb add test for #2192
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-23 19:18:18 -04:00
Dan Ryan 6a4831bccd Fix broken test
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-23 12:19:32 -04:00
Dan Ryan 5d76b404f4 Add some tests
- 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>
2018-06-23 03:01:20 -04:00
Dan Ryan 74430df2f3 Add tests to cover #2260
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-23 01:43:12 -04:00
Dan Ryan cc8984b447 Update requirementslib
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-22 22:18:26 -04:00
Dan Ryan 37ba557110 Get rid of em-dashes from cli and man help
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-22 20:33:12 -04:00
Dan Ryan f307507371 Merge pull request #2384 from pypa/exclude-failing-markers
Exclude failing markers
2018-06-22 16:45:20 -04:00
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