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
7fc322419a
Bump patch version
2021-06-16 22:22:52 -04:00
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
6b84764d5d
Add option to disable installation of project dependencies
...
Fixes #53
2021-05-05 22:17:30 -04:00
d5def209f2
Bump feature version
2021-05-05 22:17:30 -04:00
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
1a5ba01c2f
Standardize package description
2021-04-19 23:39:32 -04:00
6d51d166a7
Bump feature version
2021-04-19 23:38:36 -04:00
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
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
f55f12b447
Update plugin modules to use internal logging wrapper
2021-04-16 20:12:27 -04:00
31e08c9475
Add internal logging wrapper to reduce copy/paste
2021-04-16 20:08:58 -04:00
5e33af6eb2
Add config support for the parallelization functionality
2021-04-16 18:09:12 -04:00
06fcd56172
Add support to the installer for parallizing dependency installs
2021-04-16 18:01:00 -04:00
34454e1856
Fix function docstrings missing new parameters
2021-02-15 22:32:16 -05:00
65187eeac2
Bump patch version
2021-02-15 22:22:51 -05:00
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
a91364efd6
Bump patch version
2021-02-10 00:07:34 -05:00
e894a25d18
Update logging messages to improve UX and output consistency
2021-02-10 00:07:34 -05:00
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
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
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
52c08e9dc5
Update import pattern to use tox module namespacing where possible
2021-02-10 00:07:33 -05:00
9ec64cf98f
Bump patch version
2021-01-22 19:13:42 -05:00
59bf9ad26e
Add precondition check for skipping tox self-provisioned env
...
Fixes #35
2021-01-22 19:13:42 -05:00
366c50ac87
Update transient dep resolution to always exclude root package name
...
Fixes #37
2021-01-22 19:13:42 -05:00
f116ffefa2
Fix special handling of unsafe dependencies as primary dependencies
2020-12-16 20:31:41 -05:00
2ce97a5349
Bump patch version
2020-12-16 19:16:38 -05:00
e77c859355
Add additional logging to dependency processing functionality
...
Hopefully this will help with dependency resolution errors in the future
2020-12-16 19:14:03 -05:00
c1d1ac2de1
Update handling of poetrys unsafe dependencies to avoid keyerror
...
Fixes #33
2020-12-16 19:01:20 -05:00
c5c5261a80
Update transient processing to more narrowly scope error catching
2020-12-16 18:47:27 -05:00
99edc1c24e
Add runtime option for forcing error if poetry is not found
2020-12-05 15:01:39 -05:00
db761d49c1
Add poetry extra install to tox config to support CI
2020-12-05 12:36:09 -05:00
5a23c05f17
Add internally proxied poetry module to support runtime in non-Poetry envs
...
Add the _poetry submodule to support importing Poetry internals at runtime rather
than import time. This allows the plugin to be run, and either skipped or errored,
without crashing tox
2020-12-04 22:16:36 -05:00
604e60d567
Bump feature version
2020-12-04 17:57:44 -05:00
01635c50c7
Update logging integration to improve standardization
...
Standardize language in logging messages
Move system version to constants
Fixes #3
2020-12-04 17:22:41 -05:00
bd8124dcbf
Move non-hook function out of hooks submodule
2020-12-04 16:09:40 -05:00
498cb4a3d2
Bump patch version
2020-11-26 14:54:34 -05:00
0a363d1848
Fix platform and py version compatibility errors
...
Add check for compatible python versions during dependency determination
Add check for compatible python platforms during dependency determination
Add verbosity2 logging messages for dependency determination
2020-11-26 14:54:34 -05:00
429992cff9
Bump patch version
2020-11-26 13:44:33 -05:00
216ee8b095
Fix exception when not installing project dependencies
...
Fix bug in precommit args
2020-11-26 13:43:33 -05:00
d910b6ee8d
Refactor dep processing to improve efficiency of installation
...
Assemble single list of dependencies to reduce duplication and reduce installation overhead
2020-11-12 22:14:49 -05:00
df8312f5ee
Bump feature version
2020-11-12 19:42:43 -05:00
1f102b16cb
Add blocking functionality when using require_locked_deps
...
When require_locked_deps is true further processing will be blocked because
a non-null value is returned by this function
2020-11-12 19:42:43 -05:00
a7cde7a9ab
Fix missing exception docs
2020-11-12 19:42:43 -05:00
b32a212e82
Restructure config options to support tox's native change detection
...
Remove custom handling of deps option
Add locked_deps option
Stop modifying the envconfig.deps option at runtime
2020-11-12 00:54:27 -05:00
2961b55c9a
Fix recursive dependencies causing recursion error
...
Rewrite the find_dep_of_deps function to handle recursive dependencies
2020-11-11 23:07:14 -05:00
b57b78d4e2
Add typing stub file
2020-11-11 22:37:08 -05:00