Commit Graph

75 Commits

Author SHA1 Message Date
Ethan Paul 230d3cffd9
Bump version to 1.0.0b1 2023-08-02 11:29:28 -04:00
Obeida Shamoun 9efcea762e
hooks: only check for require_poetry in env config 2023-07-06 14:33:29 +02:00
Obeida Shamoun fe95ff5ca1
hooks: remove obsolete install_project_deps ternary 2023-07-06 14:32:26 +02:00
Obeida Shamoun 6991f29b4d
hooks: remove commented code 2023-07-06 14:31:03 +02:00
Obeida Shamoun 2b8936267e
remove unneeded tox_add_core_config hook 2023-06-24 01:56:54 +02:00
Obeida Shamoun 46a7619c4f
hooks: add log message before calling install() 2023-06-24 01:44:48 +02:00
Obeida Shamoun c81215bc3b
implement tox_add_option hook 2023-06-24 01:44:47 +02:00
Obeida Shamoun a489fe2c53
Move away from soon-to-be-removed PipInstaller 2023-06-24 01:44:47 +02:00
Obeida Shamoun a94933e7ef
[WIP] Make plugin compatible with tox v4 2023-06-24 01:44:47 +02:00
Ethan Paul afaf025485
Bump version to 0.10.3 2023-05-19 13:56:45 -04:00
Ethan Paul 11a478bd4e
Bump version to 0.10.2 2023-03-29 19:25:29 -04:00
Chris Kuehl 593f260278
Ensure exceptions which occur during install are propagated 2023-03-29 17:52:51 -05:00
Ethan Paul 3399bbecc2
Bump version to 0.10.1 2023-03-01 16:56:12 -05:00
Ethan Paul b631a962b2
Deprecate install_dev_deps config option 2022-10-06 13:09:28 -04:00
Ethan Paul 453b575159
Bump version to 0.10.0 2022-10-06 13:09:19 -04:00
Obeida Shamoun d0efbd06b3
Add option to allow installing deps from custom Poetry groups 2022-10-01 20:25:41 +02:00
Justin Wood 73ddd43284
Change version to 0.9, address some review nits and use poetry 1.2 rather than pre-release. 2022-09-07 15:11:19 -04:00
Justin Wood 22012d4452
Dedupe packages (with set()) earlier to improve logging and very slightly improve speed. 2022-09-07 12:05:48 -04:00
Justin Wood 17d0272089
Support [tool.poetry.group.dev.dependencies] as the newer alternative to [tool.poetry.dev-dependencies] 2022-09-07 12:05:47 -04:00
Justin Wood b54bf44dc5
Basic changes to support poetry 1.2.0b2, no longer support Poetry 1.1.x 2022-09-07 12:05:44 -04:00
Ethan Paul 5f30656683
Fix poetry dependency spec to <1.2 for last 0.8 release
Update pylint to >2.13 to fix security warning
2022-09-06 15:20:57 -04:00
Ethan Paul ff3e1603d2
Bump patch version 2022-04-25 19:28:03 -04:00
Ethan Paul fb65fa812e
Update dependency identification to account for multiple platforms
Fix an issue where packages that had two or more exclusive ranges for different python
versions would only be represented by the sequentially last version to appear in the
lockfile, causing compatibility issues with the older versions of that package.

Fixes #68
2022-04-25 19:28:03 -04:00
Ethan Paul 015915adf7
Bump patch version for 3.10 classifier 2022-01-05 02:18:53 -05:00
Ethan Paul 1f6550e77c
Fix error when package under test depends directly on unsafe dependencies
Fixes #65
2021-10-28 20:09:56 -04:00
Rebecca Turner 603cca6fd9
Update version to 0.8.2 2021-10-18 16:26:56 -04:00
Rebecca Turner 1478e35c0b
Add logging for package installation completion
Currently, tox-poetry-installer logs when it submits a dependency to the
(possibly-parallel) executor for installation, but not when the
installation is finished; this commit adds a log message when the
installation actually starts (in contrast with when the job is queued)
and a log message when the installation completes, along with the wall
time it took.

Rationale: I've noticed in some cases when running under Python 3.10
packages take much longer to install -- this logging should help
pinpoint culprits.
2021-07-07 15:27:46 -04:00
Ethan Paul 7fc322419a
Bump patch version 2021-06-16 22:22:52 -04:00
Ethan Paul 5b91918bea
Update install_project_deps behavior to match docs
Update the functionality of the install_project_deps option to use three
state logic for config value.

Fixes #61
2021-06-16 22:22:08 -04:00
Ethan Paul 6b84764d5d
Add option to disable installation of project dependencies
Fixes #53
2021-05-05 22:17:30 -04:00
Ethan Paul d5def209f2
Bump feature version 2021-05-05 22:17:30 -04:00
Ethan Paul dbbbf8186f
Update default setup to use parallelized dep installation
Move deprecation warnings to the precondition function
Deprecate --parallelize-locked-install option
Add --parallel-install-threads option
2021-05-05 22:17:29 -04:00
Ethan Paul 1a5ba01c2f
Standardize package description 2021-04-19 23:39:32 -04:00
Ethan Paul 6d51d166a7
Bump feature version 2021-04-19 23:38:36 -04:00
Ethan Paul c8d7009200
Update require_poetry option to be config option rather than runtime
Add deprecation warning for future removal of runtime require_poetry option
2021-04-19 23:32:25 -04:00
Ethan Paul 4d2c2e6297
Update unsafe packages set to use internal constant
One less thing that ties us to poetry proper
2021-04-16 22:35:31 -04:00
Ethan Paul f55f12b447
Update plugin modules to use internal logging wrapper 2021-04-16 20:12:27 -04:00
Ethan Paul 31e08c9475
Add internal logging wrapper to reduce copy/paste 2021-04-16 20:08:58 -04:00
Ethan Paul 5e33af6eb2
Add config support for the parallelization functionality 2021-04-16 18:09:12 -04:00
Ethan Paul 06fcd56172
Add support to the installer for parallizing dependency installs 2021-04-16 18:01:00 -04:00
Ethan Paul 34454e1856
Fix function docstrings missing new parameters 2021-02-15 22:32:16 -05:00
Ethan Paul 65187eeac2
Bump patch version 2021-02-15 22:22:51 -05:00
Ethan Paul 7f0aeaf539
Update core dep resolution functionality to use poetry compat checks
Remove custom package compatibility checks
Add checks using poetry's built in package compatibility checking using markers
Update venv integration to use poetry's venv processing tools
Remove unused constants
2021-02-15 22:22:51 -05:00
Ethan Paul a91364efd6
Bump patch version 2021-02-10 00:07:34 -05:00
Ethan Paul e894a25d18
Update logging messages to improve UX and output consistency 2021-02-10 00:07:34 -05:00
Ethan Paul 08a6962d3f
General refactoring
Fix some pseudo-hungarian type notation
Fix out of date docstrings
Fix arbitrary argument ordering in function signatures
Remove interchangable usage of dep/dependency variable naming
Remove interchangable usage of packages/package_map for same data
2021-02-10 00:07:34 -05:00
Ethan Paul b8ea98b3ad
Move install function to dedicated submodule
Fix duplicate package installs caused by using list for ordering
2021-02-10 00:07:34 -05:00
Ethan Paul ea8bc3887e
Fix non-deterministic dependency order resolution
Unordered sets strike again. By casting a list of packages to a set
to ensure uniqueness the installation of the packages becomes non-deterministic.
This is not great, but it trivially breaks installing packages that require
their dependencies for installation.

Fixes #41
2021-02-10 00:07:33 -05:00
Ethan Paul 52c08e9dc5
Update import pattern to use tox module namespacing where possible 2021-02-10 00:07:33 -05:00
Ethan Paul 9ec64cf98f
Bump patch version 2021-01-22 19:13:42 -05:00