Commit Graph

42 Commits

Author SHA1 Message Date
Matt Davis 0379507abb Update release script to enforce semver going forward in 2024 (#6052)
* Update release script to enforce semver going forward in 2024

* Update pipfile/lock for semver

* fix readme

* Update CI vendoring step for semver

* Dependeapot warning about version of pytest we are on

* remove options from help
2024-01-21 21:16:56 -05:00
Matt Davis 30e0fa7309 reference markdown format 2023-09-07 10:48:40 -04:00
kalebmckale 5f220a0a36 Replace "python setup.py" builds with "python -m build"
Found left-over remnants of `setup.py` install and updated with current
build method using `build` package.
2023-09-01 08:57:17 -04:00
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
Kian-Meng Ang 810fb745ae Fix typos
Found via `codespell -S ./peeps,./pipenv/patched,./pipenv/vendor,./pipenv/pipenv.1,./get-pipenv.py,./tests/test_artifacts`
2023-07-23 21:55:03 +08:00
Matt Davis b0c091a556 allow specifying version in release script. 2023-06-11 21:14:30 -04:00
Matt Davis 99800ec7a2 Requirementslib==2.3.0 (#5672)
* Bump requirementslib that drops vistir.

* Add news fragment

* Add missing file

* Remove vistir entirely

* fix circular import

* revert issue that may be causing circular import issue

* Hackaround current pythonfinder version importlib usage.

* PR Feedback

* fix lint
2023-04-29 19:22:28 +02: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
Frost Ming 2da61b03e8 Release v2021.11.5 2021-11-05 18:32:08 +08:00
Frost Ming ca5d931f1f Update to py36 plus syntax 2021-07-28 10:59:00 +08:00
Frost Ming 35a80285d7 Fix the release script 2020-11-13 16:37:59 +08:00
Frost Ming a0344bdf7a Update pinned versions 2020-11-12 17:28:30 +08:00
Dan Ryan ed30845837 Update gitignore and release task
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-05-28 00:03:57 -04:00
Dan Ryan 8cc00622cc Update makefile to build docs
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-05-20 15:58:49 -04:00
Dan Ryan 12e46a0bfb Fix release file
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-05-20 15:24:13 -04:00
Dan Ryan 3549d28702 Update release script
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-05-20 15:12:12 -04:00
Dan Ryan 881d0e9923 Update release task
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-04-29 00:02:06 -04:00
Dan Ryan 483161fea1 Only build with one python version
Signed-off-by: Dan Ryan <dan@danryan.co>
2020-04-24 18:13:02 -04:00
Dan Ryan 60818d7b31 Automate release workflow
- Automatically release when tags are pushed to master
- Release automation will build wheel and sdist + upload to pypi
- Added test pypi as initial target
- Updated version update scripts to help with automatic version
  management

Signed-off-by: Dan Ryan <dan@danryan.co>
2020-04-24 18:01:13 -04:00
Dan Ryan cf8fa39b88 Update build script in tasks
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-04-23 22:13:47 -04:00
frostming 7d36f3fbda Reformat codes 2019-09-06 18:06:05 +08:00
frostming 089bb57d7e Update vendor packages 2019-07-17 12:21:11 +08:00
Frost Ming 5e69bca451 Use autogenerated contributing.md 2019-07-14 16:45:19 +08:00
Frost Ming 2f619df5f9 Merge branch master 2019-07-14 15:36:41 +08: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 90c2c66dc8 Update pythonfinder, requirementslib and vistir
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-05-11 01:30:25 -04:00
Dan Ryan ed3f206e64 Update vendored dependency pins
- Update gitignore entries for mypy config
- Update release task to add version after bumping but before release
- Fixes #3326 (going forward at least)
- Split out patching from vendoring so it can be done as a separate step
  if needed
- Update patches to account for updated packages
- Fixes #3432
- Fixes #2757
- Fixes #3305
- Fixes #2914
- Fixes #3439
- Fixes #3422
- Fixes #3378
- Fixes #3376
- Fixes #3315

Signed-off-by: Dan Ryan <dan@danryan.co>
2019-01-21 12:20:20 -05:00
jxltom 084bf41f77 Resort imports for tasks 2018-12-01 18:49:37 +08:00
Dan Ryan 9e0d6bc1e3 Update release scripts, fix packaging scripts
- Fix `PIPENV_PYTHON` envvar which auto-recreated environments due to
  `auto_envvar_prefix`, now it is not pulled from the environment
  automatically
- Fix formatting of some news entries
- Automate release via `inv release.release` (will be aliased)

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-11-24 20:53:37 -05:00
Dan Ryan a08a2da524 Don't give child deps of vcs deps auto-precedence
- Stop preferring resolution of VCS dependencies in all cases
- Resolve vcs dependencies together with non-vcs dependencies
- Clarify blocking and no-deps logic
- Add artifacts and tests
- Add vendoring task for artifacts
- Clean up release tasks
- Fixes #3296

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-11-24 17:10:45 -05:00
Frost Ming 912bba45b7 news entry
Signed-off-by: Frost Ming <mianghong@gmail.com>
2018-11-18 10:12:20 +08:00
Frost Ming 12b66e1e4a update manual
Signed-off-by: Frost Ming <mianghong@gmail.com>
2018-11-18 09:23:37 +08:00
Dan Ryan 6b1ec91607 Added working draft of changelog and release task for markdown conversion
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-07-15 16:22:06 -04:00
Dan Ryan 2355bdca00 Update release task
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-07-15 16:14:32 -04:00
frostming d4b61b9a72 Update related part in tasks 2018-07-03 08:50:42 +08:00
Dan Ryan 46ba42b6fb Add changelog, update documentation home screen
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-07-01 17:00:44 -04:00
Dan Ryan 9ef36a8df1 Fix release task
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-07-01 16:21:07 -04:00
Dan Ryan 48e5917e23 Update release task
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-07-01 16:11:38 -04:00
Dan Ryan 03bf7eecb3 Update release tasks
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-25 03:28:17 -04:00
Dan Ryan 2a9bb815ff Updated changelog
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-18 20:14:45 -04:00
Dan Ryan 03a85b14b2 Update release task
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-18 11:26:07 -04:00
Dan Ryan e1a29337cd Update release logs, add release tasks
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-17 21:51:24 -04:00