Commit Graph

2682 Commits

Author SHA1 Message Date
kennethreitz 76e5faa1f1 Update install.rst 2017-12-19 10:17:51 -05:00
kennethreitz 546b39900d Merge pull request #1097 from techalchemy/bugfix/1002-allow-global-resolving
Pass 'allow_global' to resolve_deps
2017-12-18 11:48:31 -05:00
kennethreitz ac89256438 Merge pull request #1204 from bradsbrown/Fix.src_quoting
Fix: quote src for safer handling
2017-12-18 11:30:07 -05:00
kennethreitz 3496a7a1ae Merge pull request #1178 from idoru/improve-requirements-gen-test-and-factoring
Improve test & code clarity around requirements generation
2017-12-18 11:24:21 -05:00
kennethreitz 616389858d Merge branch 'master' into bugfix/1002-allow-global-resolving 2017-12-18 11:19:21 -05:00
kennethreitz 376896f502 Merge pull request #1186 from therefromhere/path_spec
missing support for ~= in check? - see comment in #1183
2017-12-18 11:15:59 -05:00
kennethreitz 58e5fee88d Merge pull request #1193 from uda/master
Pass clear flag to lock when updating
2017-12-18 11:15:03 -05:00
kennethreitz 8e24b65bca Merge pull request #1200 from pypa/hotfix/piptools_resolver_fallback
Fix backup resolver
2017-12-18 11:14:09 -05:00
Nate Prewitt cbcc89bee7 v9.0.1 v9.0.1 2017-12-15 07:57:34 -08:00
Nate Prewitt 91dba8255b Merge pull request #1185 from pypa/load_dotenv_w_no_proj
use current directory if project directory doesn't exist
2017-12-13 23:15:47 -08:00
Brad Brown fa61220d4c Fix: quote src for safer handling 2017-12-13 09:30:42 -06:00
Dan Ryan e7dd10c73f Fix backup resolver
- Backup resolver was broken when hash resolution was split out into two
functions
- This PR returns the resolver to the caller function
- This is for edge cases where the PyPI json API and the pip resolver
don't return the same authoritative result for a package lookup (a name
can be resolved in one source but not the other)
- Added test to prevent future regression
- Fixes #1195
2017-12-13 01:24:57 -05:00
Nate Prewitt 29f0c4283d Merge pull request #1190 from pypa/warn_missing_requirements_file
warn user if requirements.txt is missing
2017-12-12 09:29:33 -08:00
Yehuda Deutsch 26246b5454 Pass clear flag to lock when updating 2017-12-11 14:52:59 +02:00
Nate Prewitt 4189df0ab6 warn user if requirements.txt is missing 2017-12-10 15:09:26 -08:00
John Carter a5f6e9d836 missing support for ~= in check?
also fixed comment typo
2017-12-10 13:09:09 +13:00
Nate Prewitt 758f553687 use current directory if project directory doesn't exist 2017-12-09 13:13:58 -08:00
Nate Prewitt df0bc6623a Merge pull request #1183 from techalchemy/bugfix/windows-specifier-check
WIP: Stop Treating Specifiers as Paths on Windows
2017-12-09 12:42:27 -08:00
Dan Ryan aac675235e Fix test typo 2017-12-08 20:30:24 -05:00
Dan Ryan ef144482ba Add a check to see if entries are valid specifiers
- Should fix windows parsing of pipfiles
- I had this fix implemented somewhere before but I think I 'cleaned' it
out for some reason
2017-12-08 20:14:52 -05:00
Dan Ryan 6c66f96cac Add failing windows test 2017-12-08 18:54:08 -05:00
kennethreitz 643c7f3bca bump default concurrency 2017-12-08 22:10:02 +00:00
kennethreitz 6806c827dd hope this does not break build 2017-12-08 18:26:10 +00:00
kennethreitz ecbb38640e shell: this appears to be wrong 2017-12-08 13:01:06 -05:00
Sam Coward b704908082 Improve test & code clarity around requirements generation
- Test now checks for dev dependency "pytest==3.1.1" rather than the
characters of the string
- Test verifies that dev dependencies are excluded by default
- Corrected intent of returned variables from merge_deps call in cli.py
2017-12-07 14:07:08 -05:00
kennethreitz 8b378a70e7 note about python 3
Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
2017-12-07 08:55:06 -05:00
Nate Prewitt f324e1594b Merge pull request #1173 from techalchemy/bugfix/1172-dont-install-dev-packages
Bugfix/1172 dont install dev packages
2017-12-06 20:20:07 -08:00
Dan Ryan 52d21c05f4 Exclude dev packages from installs by default
- Fixes #1172
- Regression introduced in 6e7dd14
- Add test to prevent future regressions
- Update history
2017-12-06 22:42:24 -05:00
Nate Prewitt bd4cc649c9 Merge pull request #1170 from BackwardSpy/patch-2
fix "isntalled" typo in HISTORY.txt
2017-12-06 08:58:41 -08:00
Chris Latham d6646ec4dd "installed" typo in HISTORY.txt 2017-12-06 16:56:34 +00:00
Nate Prewitt 50b8e8ac58 v9.0.0 v9.0.0 2017-12-06 08:02:29 -08:00
Nate Prewitt 3b0de9447d moving on up 2017-12-06 08:02:29 -08:00
Jonathan Hanson 69ef144d78 Update README.rst for a dead URL (#1165)
* Update README.rst

Replace dead link to "python packaging" documentation in the first line of the documentation.

* Update README.rst

Revised to use the more specific link to python packaging documentation.
2017-12-04 20:30:02 -08:00
Nate Prewitt 3248698903 Merge pull request #1114 from techalchemy/bugfix/1111-sequential-editable-installs
Do sequential installs on editable dependencies
2017-12-04 08:16:18 -08:00
Nate Prewitt d122401869 Merge pull request #1098 from techalchemy/bugfix/1079-shallow-editable-installs
Stop excluding files from package list...
2017-12-04 07:53:20 -08:00
Dan Ryan c3e203caea Undo control flow changes and move comment 2017-12-03 19:22:18 -05:00
Nate Prewitt 3c80c3c81f Merge pull request #1038 from vphilippon/do-not-pin-candidate
Dependency resolution - Do not pin candidates on first selection
2017-12-03 13:27:53 -08:00
Nate Prewitt 4a1ecf83a4 Merge pull request #1147 from MatMoore/correct-dead-link
Correct broken link to official python documentation
2017-12-02 07:58:47 -08:00
Mat Moore 7d6b5a5f18 Correct broken link to official python documentation
Fixes https://github.com/kennethreitz/pipenv/issues/1140
2017-12-02 13:58:45 +00:00
Dan Ryan b5ecb02154 Move some control flow logic 2017-12-01 23:03:28 -05:00
Dan Ryan 9b4f1c8d2e Skip installable directories during locking
- Re-add non-editable setuptools-installable directory paths to the
exclusion list for Project package generation
- This is used to generate package lists for pip-tools
2017-12-01 20:48:12 -05:00
Dan Ryan c92e331cc8 Stop excluding files from package list...
- Fixes #1079 and #909
- Need to exclude non-editable file/path/URI deps from the list we give
to pip-tools
- We should really separate this logic from the logic that supplies what
is supposed to be a list of packages
Add tests and comments to prevent regression
- Ensure we resolve install_requires from local setup.py files
- Squash commits
2017-12-01 18:58:59 -05:00
Dan Ryan 6e7dd14cd3 Refactor do_install lockfile splitting
- Break out functions to split file and sections
- Break out function to merge dependencies
2017-11-30 11:45:43 -05:00
Dan Ryan 3ac8b89a83 Do sequential installs on editable dependencies
- Fixes #1111
- Uses existing infrastructure to add editable dependencies to the list
of sequentially installed packages
- Only alters functions used for this purpose
- Essentially there is a race condition because multiple editors are
trying to write to lib/site-packages/easy-install.pth for local editable
packages, so they overwrite one another
2017-11-30 11:45:40 -05:00
Nate Prewitt 704c622369 Merge pull request #1128 from techalchemy/bugfix/1126-malformed-vcs-url-lockfile
Only strip VCS prefix for URIs with vcs+ patterns
2017-11-27 10:49:04 -08:00
Nate Prewitt 636305db1d Merge pull request #1129 from anowlcalledjosh/fix-mixed-content-warning
Fix active mixed content warning in docs
2017-11-27 10:45:01 -08:00
Josh Holland 6f52e03cdc Fix active mixed content warning in docs 2017-11-27 18:08:55 +00:00
Dan Ryan de02f531ff Cleanup artifacts of earlier fixes
- Only remove 'vcs+' pattern from URI in convert_deps_from_pip if the
requirement uri explicitly begins with requirement.vcs+
2017-11-27 12:55:47 -05:00
Nate Prewitt 8c1d17f80a Merge pull request #1127 from delirious-lettuce/bug_fix
Fix #1124
2017-11-27 09:21:03 -08:00
Dan Ryan c9ae3708ff Only strip VCS prefix for URIs with vcs+ patterns
- Fixes #1126
- Does a simple check before stripping the VCS prefix on
a requirement.uri in pipenv.utils.convert_deps_from_pip
2017-11-27 12:09:19 -05:00