1
1
Fork 0
mirror of https://github.com/pypa/pip synced 2023-12-13 21:30:23 +01:00
Commit graph

4056 commits

Author SHA1 Message Date
Donald Stufft 695e6925d7 Merge pull request #2766 from dstufft/better-version-check
Only warn on final releases with different base versions
2015-05-09 13:57:20 -04:00
Donald Stufft 08160408fb Only warn on final releases with different base versions
We only want to prompt people to upgrade their pip version if the
newer version is not a post release of the version they have and
it's not a pre-release version.
2015-05-09 13:37:12 -04:00
Donald Stufft 43ac83fb1b Merge pull request #2738 from dstufft/upgrade-dependencies
Upgrade dependencies
2015-05-08 19:05:23 -04:00
Donald Stufft 2f2adf2308 Upgrade requests to 2.7.0 2015-05-08 17:26:18 -04:00
Donald Stufft 3c7325647f Upgrade html5lib to 1.0b5 2015-05-08 17:24:58 -04:00
Donald Stufft 12a58ac050 Merge pull request #2761 from dstufft/warn-no-tls
Add a warning that'll tell people when their Python doesn't support TLS
2015-05-08 17:20:00 -04:00
Donald Stufft 22e059556d Add a warning that'll tell people when their Python doesn't support TLS 2015-05-06 18:48:04 -04:00
Donald Stufft 0f0a4f0f5e Merge pull request #2749 from dstufft/move-not-rename
Use shutil.move instead of os.rename
2015-05-04 08:55:11 -04:00
Donald Stufft 31ab024a7d Use shutil.move instead of os.rename
os.rename causes errors to happen whenever the temporary location
is on a different device than the wheel cache directory. Using
shutil.move instead will cause it to use os.rename when it can and
fallback to copying otherwise.
2015-05-04 07:47:21 -04:00
Matthias Bussonnier cdb1dc7685 imp deprecated on 3.4
importing it prevent to debug other packages with `-W error` as the
deprecation warning will raise.

Though there is still imp imported from a few vendorized packages,
and for other purposes than cache_from_source.
2015-05-02 10:48:25 -07:00
Marcus Smith ada5a6d550 Merge pull request #2742 from qwcode/rel_links_req_file
fix for nested requirements files
2015-05-01 20:46:19 -07:00
Marcus Smith 744b3bde3a doc strings for nested requirement file tests 2015-05-01 16:30:14 -07:00
Marcus Smith 5b6ba9cbcd pep8 fix 2015-05-01 16:15:52 -07:00
Marcus Smith 924215fab9 tests for nested requirements files 2015-05-01 16:04:20 -07:00
Marcus Smith b3ec00b45d fix case where original requirements file is a local path and the nested file is over http. 2015-05-01 16:03:59 -07:00
Marcus Smith e1e428bb74 Merge pull request #2735 from qwcode/issue_2734
fix for Issue 2734
2015-04-28 17:42:22 -07:00
Marcus Smith 94a6829515 Merge pull request #2725 from qwcode/req_file_parse_defaults
requirements file parsing with normal option defaults
2015-04-28 16:44:31 -07:00
Marcus Smith 02e2516986 changelog for #2735 2015-04-28 16:36:02 -07:00
Marcus Smith afdb664f55 pep8 fixes 2015-04-28 16:17:50 -07:00
Marcus Smith 50c3b6c371 pep8 fix 2015-04-28 16:15:50 -07:00
Marcus Smith 7725cdbe2c - remove overlapping variables from populate_requirement_set
- warn about not specifying requirements, when they're not specified,
  not when the RequirementSet happens to turn up empty
2015-04-28 16:00:38 -07:00
Marcus Smith dc295237c0 warn when requirements are ignored due to non-matching markers 2015-04-28 15:59:37 -07:00
Marcus Smith d47b1a5b26 more explanation in the process_line doc string 2015-04-28 15:23:02 -07:00
Donald Stufft 8de0217e6e Merge pull request #2724 from rbtcollins/brokenout-1
Issue #2723: Restore the use of git clones
2015-04-26 16:15:26 -04:00
Marcus Smith 09ea42e7f3 convert elif's to if's since we're allowing multiple options per line 2015-04-24 23:10:07 -07:00
Marcus Smith 769782c477 pep8 fix 2015-04-24 22:37:29 -07:00
Marcus Smith 7c83f8d3cd 1) parse with defaults set as they are naturally (vs forcing to None)
and adjust the logic to match; the result is simpler.
2) Due to #1, we can remove some hairy "format_control" hacks
3) Due to #1, we have to relax the parsing and allow:
   - multiple options per line
   - any supported option on a line with a requirement (not just
     --install-option/--global-option, although they are the only
     options that are passed into a requirement)
2015-04-24 22:32:26 -07:00
Robert Collins eda3f0451d Issue #2723: Restore the use of git clones
6.1.1 and before use git clones when installing a git+ url. 7.0.0.dev
didn't temporarily because the internal flag for controlling whether
to do a clone or an export was tied into the behaviour for whether
something will be deleted or not - which is arguably different. Remove
the confounded behaviour and just unpack always, using the same marker
flag to delete directories as used for file and non-vcs urls.
2015-04-25 15:33:33 +12:00
Marcus Smith d2ec9164d9 Merge pull request #2722 from rbtcollins/brokenout-1
Update CHANGES.txt for --no-binary.
2015-04-24 16:46:02 -07:00
Robert Collins 1d3d27514a Update CHANGES.txt for --no-binary. 2015-04-25 11:37:20 +12:00
Donald Stufft 0d2cc68da9 Merge pull request #2711 from rbtcollins/issue-2677
Issue #2677: Disable wheels for setup.py options.
2015-04-24 01:13:52 -04:00
Robert Collins 582af6e684 Issue #2677: Disable wheels for setup.py options.
Using --install-options, --build-options, --global-options changes
the way that setup.py behaves, and isn't honoured by the wheel code.
The new wheel autobuilding code made this very obvious - disable
the use of wheels when these options are supplied.
2015-04-24 16:14:48 +12:00
Donald Stufft ff1206fa83 Merge pull request #2699 from rbtcollins/issue-2675
Issue 2675
2015-04-23 22:48:08 -04:00
Robert Collins 6aec23cafe Issue #2675: Granular control over wheels/sdists
With wheel autobuilding in place a release blocker is some granular
way to opt-out of wheels for known-bad packages. This patch introduces
two new options: --no-binary and --only-binary to control what
archives we are willing to use on both a global and per-package basis.

This also closes #2084
2015-04-24 08:52:48 +12:00
Marcus Smith 31eb67d0dc Merge pull request #2697 from qwcode/refactor_req_file
Refactor requirements file parsing
2015-04-23 02:44:03 -07:00
Marcus Smith b911339625 Merge remote-tracking branch 'pypa/develop' into refactor_req_file
Conflicts:
	pip/req/req_file.py
2015-04-23 02:21:01 -07:00
Marcus Smith fdd10ade9c only calculate the dest strings once 2015-04-23 01:39:02 -07:00
Marcus Smith 55e7bd3daa handle requirement specifiers with spaces, e.g. "pkg >= 1" 2015-04-23 01:31:48 -07:00
Donald Stufft 33764609eb Merge pull request #2715 from citruspi/Error-Log-Level-Flag
Differentiate Between Quiet Flag Counts
2015-04-22 20:46:55 -04:00
Donald Stufft bd39f99f4f Merge pull request #2714 from mkohler/repeatability_caveat
Add setup_requires caveat to repeatability section.
2015-04-22 20:43:05 -04:00
Donald Stufft bc5bb70e60 Merge pull request #2710 from rbtcollins/brokenout-5
Replace wheel cache cache_dir with an object.
2015-04-22 20:40:54 -04:00
Mihir Singh 3a340bc2ed Added a unit test for three quiet flags 2015-04-22 18:40:41 -05:00
Mihir Singh 04ac5270c3 Mapped three or more quiet flags to the critical log level 2015-04-22 18:38:45 -05:00
Mihir Singh 4d042621e8 Added a unit test for two --quiet flags 2015-04-22 18:21:20 -05:00
Mark Kohler ee0f460f02 Add setup_requires caveat to repeatability section. 2015-04-22 16:00:14 -07:00
Mihir Singh 4b6bdf0210 Set the log level to ERROR when two or more quiet flags are passed
Fixes pypa/pip#2670
2015-04-22 17:56:34 -05:00
Donald Stufft 0ed87f61a5 Merge pull request #2713 from rbtcollins/docs
PyPI is less broken now. Update docs.
2015-04-22 18:14:57 -04:00
Robert Collins ec46a3bac4 Replace wheel cache cache_dir with an object.
Wheel cache lookups become more complex when we wish to allow binary
blacklisting. Rather than passing more parameters around, replace
cache_root with wheel_cache, and create a wheel cache in all the
relevant command entry points.
2015-04-23 10:03:50 +12:00
Robert Collins f76dab1a52 PyPI is less broken now. Update docs. 2015-04-23 09:58:49 +12:00
Donald Stufft 83815df61e Merge pull request #2709 from rbtcollins/brokenout-4
Consolidate listification of _package_versions.
2015-04-22 15:23:28 -04:00