Daniel Watkins
416eb667fd
Remove commented line
2017-12-22 16:19:18 -05:00
Daniel Watkins
81ed62f997
Don't create the test tmpdir within the test project
...
This causes issues with recursion when installing the test project.
2017-12-22 16:19:18 -05:00
Daniel Watkins
0022981fe4
Add PipenvInstance.tmpdir to capture temporary artifacts during testing
...
This allows tests to assert that files aren't being left in the
temporary directory.
2017-12-22 16:19:18 -05:00
Dan Ryan
b5b85cd33b
Add docker pin to test to fix resolver error
2017-12-21 20:35:27 -05:00
kennethreitz
f2d285ac6b
Merge pull request #1221 from uranusjr/windows-drive-casing
...
Force Windows local drive names to uppercase
2017-12-19 10:56:33 -05:00
kennethreitz
c00cf9da12
Update README.rst
2017-12-19 10:54:42 -05:00
kennethreitz
76e5faa1f1
Update install.rst
2017-12-19 10:17:51 -05:00
Tzu-ping Chung
4d24c5db7d
Force Windows local drive names to uppercase
...
Windows generally use upper cased drive names, but allow (without
normalizing) lower cased names in cmd.exe, which results in
inconsistencies when hashing the full path (to get the name of the
project's virtualenv). Python does not provide a good solution[*], so we
need to roll our own.
[*]: Python does have os.path.normcase(), but it always converts the
whole paths to lowercase. This would break virtually *all* existing
virtualenvs for Windows users.
UNC host names (which Python also treats as drives), on the other hand,
can actually be either cased. I am not sure if they are case-sensitive,
or should be coerced to what case, so this patch keeps with the existing
behaviour, and does not try to coerce them.
2017-12-19 21:58:11 +08: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