Commit Graph

193 Commits

Author SHA1 Message Date
Matt Davis 6ac1451ec8 stop using requirementslib models (#5793)
* Move away from requirementslib models

* Revise test since PEP-440 does not support wildcard versions but does support equivalent compatible release specifiers.

* simplify and remove dead code

* Ensure the os_name marker is AND with the other markers.

* Move what we still need from requirementslib into the pipenv utils and stop vendoring it.

* Remove requirementslib.

* force upgrade of virtualenv for python 3.12

* remove virtualenv-clone

* Update vcs specifiers documentation; infer name from specific pip line formats where possible.

* Provide helpful text and error for recently removed commands

* Set the right log levels and verbosity to show users the errors generated by pip resolver when supplying -v flag

* Fix the collection of all matching package hashes for non-pypi indexes.  Plus lesson from testing torch which contains local identifiers.
2023-08-19 16:36:52 -04:00
Bill Nottingham 424f7ead67 Require the actual 'beautifulsoup4' package, not the 'bs4' redirect. (#5620)
* Require the actual 'beautifulsoup4' package, not the 'bs4' redirect.

* Add changelog.
2023-02-28 07:43:25 +01:00
Oz Tiram 8939c86346 Bump required setuptools and virtualenv (#5593)
Following the discussion in #5582, it seems it's about time
to update these versions.
2023-02-06 13:11:36 +01:00
Matt Davis 14b18cfbef Fix ruammel inclusion in wheel. (#5495) 2022-11-23 12:01:48 -05:00
Yeison Vargas a8a890e467 Include missing package data for Safety. (#5492) 2022-11-23 11:57:00 -05:00
Matt Davis 5db5472fd1 Support python 3.11 2022-11-22 18:23:07 -05:00
Matt Davis 56b94971a8 Add back these setuptools steps. 2022-08-07 22:53:26 +02:00
Matt Davis 662e5f8c1c This is possibly no longer required and could be breaking the build. 2022-08-07 22:53:26 +02:00
Matt Davis cd5a9683be Rename notpip to pip. Vendor in pip-22.2.1 and latest requirementslib and vistir. 2022-07-28 11:58:10 +02:00
Oz N Tiram 3b41a2250b Merge pull request #5150 from pypa/drop-importlib_metadata_resources
Remove importlib_metadata and importlib_resources
2022-06-30 19:16:10 +02:00
Oz N Tiram 605fdf857a setup.py: remove debcommand
We aren't actively maintaining a debian package, this is downstream
responsibility.
2022-06-28 23:07:35 +02:00
Oz N Tiram 7836baf821 Clean setup.py - remove commands to upload files to pypi
We don't upload packages manually. Instead we use GH actions for that.
2022-06-28 23:07:04 +02:00
Matt Davis 0ee8234890 Issue 5000 remove requests certifi (#5146)
* Depend on requests and certifi from vendored pip and remove it as explicit vendor dependency.

* Documentation tweak.

* Add a news fragment.

* Update remaining vendor dependencies to point at the pip requests.

* vendoring task needs requests.
2022-06-27 21:13:30 +02:00
Matt Davis ba259a674b revert setuptools required upgrade. (#5087)
* revert setuptools required upgrade.
2022-04-29 11:13:46 +02:00
Matt Davis 23851d8170 Issue 5056 setupy 36 (#5066)
* Fix that the setup.py still claimed to support 3.6
* Add news fragment.
2022-04-21 10:46:04 -04:00
Matt Davis 9a3b3ce706 Issue 4993 Add standard pre commit hooks and apply linting. (#4994)
* Add .pre-commit-config.yaml to the project and exclude tests (for now).  This does not include the MyPy linting that pip does but does include everything else.
2022-03-29 23:01:50 -04:00
Matt Davis ec69972f4d Revert "Attempt to pin setuptools to fix failing test."
This reverts commit 894f4118cb.
2022-03-26 10:07:40 -04:00
Matt Davis 3d23755135 Revert "Safely pin setuptools to fix failing test."
This reverts commit 626ce2519e.
2022-03-26 10:07:26 -04:00
Matt Davis 626ce2519e Safely pin setuptools to fix failing test. 2022-03-26 01:09:47 -04:00
Matt Davis 894f4118cb Attempt to pin setuptools to fix failing test. 2022-03-26 01:02:16 -04:00
Frost Ming ea388f6e5b Update readme with python requires 2021-11-09 14:27:03 +08:00
Frost Ming 57d6ce2646 Replace click-completion with click's own completion code 2021-11-09 11:14:42 +08:00
Frost Ming 73791fddcf update metadata 2021-11-05 23:36:16 +08:00
Frost Ming 2da61b03e8 Release v2021.11.5 2021-11-05 18:32:08 +08:00
Frost Ming c228dc4f13 Update dependencies 2021-11-05 12:41:35 +08:00
Frost Ming ca5d931f1f Update to py36 plus syntax 2021-07-28 10:59:00 +08:00
Frost Ming 49ddf78523 add dataclasses 2021-07-26 16:08:12 +08:00
Frost Ming 72b571bd06 Change multiple styles in CLI output 2020-11-02 11:11:54 +08:00
Frost Ming 7fc8fc8398 Create news entry 2020-09-01 14:09:39 +08:00
Dan Ryan d93a16de30 Fix zip_safe designation
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-04-24 03:40:35 -04:00
Dan Ryan e03878d7c7 Add news entry and fix lockfile
- Drop pytest-tap
- Update azure pipelines config
- Borrow ramdisk configuration from pip
- Fix pyinstaller ref for python 2
- Add 0-minute timeout and add github workflow
- Add skip for pywin32
- Scale down to `-n auto` to reduce race conditions on windows
- Skip pywin32 on python 3.8 as the relevant dependencies aren't
  compatible
- Use default pip exists action = ignore to work around VCS race
  condition
- Create local temp directory to avoid crossing drive letter boundary on
  azure during CI runs
- Monkeypatch click windows console detection to return False in CI

Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-04-10 12:14:06 -04:00
Sumana Harihareswara 603a20bf45 Update links in documentation
The canonical Pipenv documentation is now at pipenv.pypa.io.
Also, the canonical GitHub repositories for Pipenv and
Requests have changed, and some other communications links
(Twitter, mailing list, "thank you") were no longer
operational. This commit updates those and clarifies that
Pipenv is a project maintained by the PyPA.

Fixes #4137.

Signed-off-by: Sumana Harihareswara <sh@changeset.nyc>
2020-03-05 20:55:28 -05:00
frostming 7d36f3fbda Reformat codes 2019-09-06 18:06:05 +08:00
Dan Ryan 1630da82c0 Pin pytest<5
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-07-06 01:36:43 -04:00
Dan Ryan 3cf15898c7 Remove devpi dependency
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-07-06 00:58:46 -04:00
Dan Ryan 83868c8f1a Cut over to devpi for tests and improve logging
- Verbose logs will now write gracefully to the terminal even while the
  spinner is running (i.e. during locking)
- This PR also cuts over to Devpi for a backing cache rather than a
  hacked httpbin instance
- Inclues a refactor of `pip_install` to deduplicate logic
- Attempts to switch back to relying on native editable installs in pip
  as the current implementation is broken on master (i.e. nothing is
  installed in the virtualenv)
- Fixes #3809

Signed-off-by: Dan Ryan <dan@danryan.co>
2019-06-25 01:26:49 -04:00
Dan Ryan 7faf4d320c Fix gitignore and remove unused setup_requires deps
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-06-11 16:33:04 -04:00
Dan Ryan 71478d1b55 Fix keyerror in keep_outdated when using VCS dependencies
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-05-27 00:00:23 -04:00
Dan Ryan 65751d37c0 Update dependencies and fix azure pipeline definitions
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-05-15 23:57:00 -04:00
Dan Ryan 37a19819c8 Update echo calls, exception formats, dependencies
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-05-15 20:42:21 -04:00
Dan Ryan aa2b1d2618 Update piptools patch and re-lock
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-05-15 20:39:38 -04:00
Dan Ryan 2d1b4bd981 Update setup dependencies
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-03-04 13:37:06 -05:00
Dan Ryan 08a8bbcff4 Add test extras to setup.py to pin pytest
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-02-18 13:01:00 -05:00
Frost Ming 661992d6d0 Merge branch 'master' into remove-typing-dep 2019-01-04 21:59:31 +08:00
Frost Ming 37c79915df Remove typing dep 2019-01-04 21:44:11 +08:00
Jon Dufresne 976c04cb2a Remove Python 2.6 dependencies from setup.py
Support for Python 2.6 was removed in (or before)
47604c644b. Therefore, no need to include
these dependencies.
2018-12-29 21:06:21 -05:00
GreatBahram 2fdc4fa6cb simple bug fix in setup.py 2018-12-11 09:03:08 +03:30
Jon Dufresne 4851fe513c Correct capitalization of PyPI
As spelled on https://pypi.org/.
2018-09-16 11:37:23 -07:00
Dan Ryan ddb6065ee2 Final fixes to vendoring
- Add news
- upate test runner
- Unvendor typing
- Fix environment error
- Fix click completion patch
- update vendoring script
- Install flit with vendoring script for wheels
- disable build isolation also

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-08-27 16:01:11 -04:00
Dan Ryan bd7b6004fe Update requirementslib and re-patch piptools
- Fix attempted hashing of `ssh://` urls
- Fix URL parsing and conversions of `git` and `git+ssh` style vcs urls
- Fixes #2653
- Fixes #2446
- Update lockfile
- Vendor typing
- Add typing to setup.py
- Add click completion patch and update vendoring task
- Fix vendoring script
- Vendor enum34
- Update requirementslib and cleanup vcs check functionality
- Move enum and adjust patched click completion
- Update click completion
- Bump requirementslib again
- Move typing to backports, update tests
- Update tomlkit imports and backport typing module

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-08-27 15:59:36 -04:00