Commit Graph

158 Commits

Author SHA1 Message Date
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 4a244d2671 lock on windows python36 2021-11-17 14:41:00 +08:00
Frost Ming b90c469590 Update dependencies 2021-11-17 12:07:20 +08:00
Frost Ming 2da61b03e8 Release v2021.11.5 2021-11-05 18:32:08 +08:00
Frost Ming 88df069d68 fix tests for 3.9 and 3.10 2021-11-05 14:45:37 +08:00
Frost Ming c228dc4f13 Update dependencies 2021-11-05 12:41:35 +08:00
Frost Ming 49ddf78523 add dataclasses 2021-07-26 16:08:12 +08:00
Frost Ming f8baf147a7 add back compatiblility packages 2021-07-26 15:54:38 +08:00
Frost Ming b990f7fe59 Update dependencies 2021-07-26 15:41:19 +08:00
Frost Ming 83bb15ed18 Upgrade virtualenv version 2020-11-02 11:11:57 +08:00
Frost Ming 7fc8fc8398 Create news entry 2020-09-01 14:09:39 +08:00
Dan Ryan 2f460a9128 Add sphinx spellcheck addon (#4209)
Co-Authored-By: Frost Ming <mianghong@gmail.com>
Co-Authored-By: Sumana Harihareswara <sh@changeset.nyc>
2020-04-29 02:39:06 -04:00
Dan Ryan 291c3da4fa Update lockfile
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-04-28 18:20:49 -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 5ac6c16835 Update lockfile
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-04-20 20:22:17 -04:00
Dan Ryan 13c91f7a61 stop using verbose mode in windows tests
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-04-10 12:14:08 -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
Dan Ryan e7fc6e9425 Re-vendor dependencies
- Update tomlkit => 0.5.11

Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-04-10 12:14:02 -04:00
Frost Ming dd32808bc5 Update virtualenv 2019-07-27 11:14:51 +08:00
Dan Ryan 9c3ee2a72b Get rid of devpi
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-07-05 02:55:47 -04:00
Dan Ryan e1e8364eeb Update lockfile to support 2.7
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-06-25 04:01:06 -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 bd3720d3b1 Don't override PIP_NO_DEPS by default
- We used to override `PIP_NO_DEPS` by default when handling VCS or file
  dependencies
- This PR exempts VCS and file dependencies from that rule since we are
  able to resolve them in a pre-lock resolution step
- Fixes #3763

Signed-off-by: Dan Ryan <dan@danryan.co>
2019-06-17 22:49:25 -04:00
Dan Ryan a035132f49 Fix marker generation and update lockfile
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-05-27 17:44:41 -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 8e1e825041 Update vendored pip licenses
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-05-15 22:02:58 -04:00
Dan Ryan 06feddeee9 Update lockfile
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-05-15 20:43:29 -04:00
Dan Ryan 01b0496c4b Update path
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-05-15 20:43:02 -04:00
Dan Ryan 4664925a64 Update lockfile
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-05-15 20:42:48 -04:00
Dan Ryan e93ce98cb7 Update vendored deps
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-05-15 20:41:05 -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 7413f2fdec Update lockfile and switch to the correct python version for tests
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-03-07 19:22:46 -05:00
Dan Ryan b9f7852302 Update lockfile
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-02-26 01:35:01 -05:00
Dan Ryan 5383db1cea Update lockfile
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-02-25 20:34:20 -05:00
Dan Ryan fae1dbab64 Update setup.py to keep pytest pinned below 4.0
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-02-18 12:58:44 -05:00
Dan Ryan 7798cbee89 Update lockfile
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-02-18 01:06:48 -05:00
Dan Ryan 9c0bac19fd add updated requirementslib
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-02-17 23:27:28 -05:00
Dan Ryan 1fcafb8363 Re-integrate changes from keep_outdated
- Lost numerous changes in the rebase, this brings them back
- Should work for both sets of fixes now

Signed-off-by: Dan Ryan <dan@danryan.co>
2019-02-17 23:01:57 -05:00
Dan Ryan e433b0e9af Update lockfile
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-11-26 00:40:36 -05:00
Dan Ryan 1ed7ae9e68 Fix vcs locking, prefer pipfile entries once locked
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-11-24 19:28:50 -05:00
Dan Ryan 6f07e72e5a Release 2018.11.14
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-11-14 18:35:38 -05:00
Frost Ming 6df7d8861d update tomlkit 2018-11-10 12:34:54 +08:00
Dan Ryan ad2d6c9363 Update all vendored dependencies
- Verified all license changes
- Brings us current with the latest releases
- Didn't identify any breaking changes in click

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-10-07 05:25:58 -04:00
Dan Ryan 125c2cbab6 Update lockfile
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-08-28 12:12:49 -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
Dan Ryan e5309f9ebc Lockfile update
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-07-03 23:41:48 -04:00
kennethreitz 7588ca31cf passing tests! 2018-07-03 23:23:20 -04:00
kennethreitz 6968976b53 jedi 2018-07-03 22:32:47 -04:00
kennethreitz ed246afd9e updates 2018-07-03 09:41:46 -04:00
Dan Ryan b333560128 Update lockfile
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-28 16:38:08 -04:00