Commit Graph

177 Commits

Author SHA1 Message Date
Christian Clauss 54e65d2551 pipenv lock 2022-11-05 22:22:38 +01:00
Matt Davis 2640dd8881 Relock to generate fresh hash. 2022-10-10 07:03:32 -04:00
Matt Davis 8886cb536f Run pipenv lock. 2022-09-20 14:53:31 -04:00
Matt Davis 9848862927 Convert test runner to use pypiserver package as standalone process (#5284)
* Check point progress on moving tests to pypiserver.

* Allow other indexes to mimic the pypi json API for package hashes.

* Fix these tests that run on lower python versions only.

* Try adding the pypiserver to the github actions to only run once.

* Expand the scope of fixtures for pypiserver.

* try to accomedate microsoft runner.

* Windows networking troubles.

* Remove running as a background job.

* Try to condtionally invoke different start pypi-server commands

* Try to condtionally invoke different start pypi-server commands

* Try to condtionally invoke different start pypi-server commands

* Try to condtionally invoke different start pypi-server commands

* Try to condtionally invoke different start pypi-server commands

* Try to condtionally invoke different start pypi-server commands

* Try to condtionally invoke different start pypi-server commands

* Try to introduce pypi as the root index because setuptools-scm is not in our pypi artifacts.

* see if the windows tests run faster (and the other tests) by supplying waitress.

* Only use waitress on windows because the others are fast on the default.  Fix requests pollution.

* Supply a suitable Pipfile instead for these two failing tests.

* More requests resolver cross test contamination cleanup.

* remove problematic tests because even on my version of python 3.8.12 this does not work due to AttributeError: 'HTMLParser' object has no attribute 'unescape'

* fix mirror install test.

* Fix Pipfile.

* Fix Pipfile for real

* Fix tests

* Cleanup test naming and more test enhancements.

* Save this optimization for a subsequent PR.

* Cleanup the TemporaryDirectory between tests.

* resolve merge conflict.

* Cleanup path initalization -- it hsould always be a TemporaryDirectory for tests that gets cleanedup.

* Cleanup path initalization -- it hsould always be a TemporaryDirectory for tests that gets cleanedup.

* tableflip on those requests tests that read the setup metadata in reqlib from other tests.

* Update developer documentation for running tests.

* add news fragment.

* Try gunicorn perfoormance for linux/mac

* Only use gunicorn on linux based on the results of last run.
2022-09-05 10:19:12 -04:00
Matt Davis 04bee00cac relock pipenv 2022-09-04 00:26:59 +02:00
Matt Davis 1695bee789 remove this environmnet variable usage which has limitations on some systems. 2022-08-31 23:37:24 +02:00
Matt Davis a1a0fc0ea2 Update lock file. 2022-08-19 07:52:08 +02:00
Matt Davis 7284c76fa2 not sure why setuptools is getting added to the lockfile, but its problematic. 2022-08-07 22:53:26 +02:00
Matt Davis e2e75c2bee Updated Pipfile.lock. 2022-08-07 22:53:26 +02:00
otherjake badc1f4fa9 Support PIPENV_CUSTOM_VENV_NAME from environments
in the same way as other environment variables.
Update documentation to include the new variable.
2022-08-04 10:56:48 +02:00
Matt Davis c9d7ece781 Fix the breakage of atomicwrites version 1.4.0 no longer exists in pypi. 2022-07-08 19:13:32 -04:00
Matt Davis 57f38c582a Perform pipenv lock on windows for the platform markers there. 2022-06-29 22:31:41 -04:00
Oz N Tiram a589ec11a3 Bring importlib-metadata back ... to the correct place
So importlib-metadata is still required as a developer dependency.
Not as dependecy of Pipenv itself.
2022-06-28 23:44:18 +02:00
Oz N Tiram 2da0ec45ca Update Pipfile.lock after remove twine from setup.py 2022-06-28 23:14:50 +02:00
Oz N Tiram 550fbc71e7 Attempt to fix Pipfile.lock 2022-06-28 22:44:53 +02:00
Oz N Tiram 2c0620319e Add missing Pipefile.lock 2022-06-28 21:16:11 +02:00
Matt Davis f3166e673f check point progress on only bringing in pip==22.0.4 (#4966)
* vendor in pip==22.0.4

* updating vendor packaging version

* update pipdeptree to fix pipenv graph with new version of pip.

* Vendoring of pip-shims 0.7.0

* Vendoring of requirementslib 1.6.3

* Update pip index safety restrictions patch for pip==22.0.4

* Update patches

* exclude pyptoject.toml from black to see if that helps.

* Move this part of the hash collection back to the top (like prior implementation) because it affects the outcome of this test now in pip 22.0.4
2022-04-18 23:48:38 -04:00
Matt Davis 6034244498 cleanup stale links (#5048)
* cleanup stale links

* only support one sidebar html file. Address PR feedback.  HTML5 attributes.

* Update sphinx dependenencies

* Corrected CLI patch for new version of sphinx-click.

* fix placement of search bar back to original spot.

* cleanup a sphinx build warning.
2022-04-18 06:59:16 +02:00
Matt Davis 5d845dc6b9 Added pytest-cov and addressed outdated references to pip-tools (#5038)
* Add pytest-cov; Remove code references to pip-tools and refactor method _build_package_list

* Regenerate lock file.

* Add back required typing-extensions, not sure how it got dropped from locking previously.

* Adopt the setup.cfg for coverage config.

* Actually pin to the version of click we have vendored in.

* Do not adopt coverage for CI since it slows everything down.  Fix py36 dependency pinning.

* Drop support for 3.6 in this PR.

* No need to exclude the vendor and patched directory from the coverage reprot.
2022-04-14 08:59:27 +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 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