Commit Graph

333 Commits

Author SHA1 Message Date
03f46d34f3
Rewrite usage reference documentation to improve clarity
Add more details to error documentation
Update error and option documentation to be referenceable via slugs
Add docs for missing --require-poetry option
Add more crosslinks to assit with navigation
2020-12-05 18:30:09 -05:00
88ca772111
Merge pull request #31 from enpaul/enp/force-fail
Add option to support forcing tox failure when Poetry is not available
2020-12-05 15:11:31 -05:00
66c1925679
Add poetry requirement to local CI to ensure proper installation 2020-12-05 15:01:39 -05:00
99edc1c24e
Add runtime option for forcing error if poetry is not found 2020-12-05 15:01:39 -05:00
39439f132a
Merge pull request #30 from enpaul/enp/cleanup
Misc fixes ahead of push to beta classification
2020-12-05 14:19:18 -05:00
52aaeba93c
Overhaul CI to improve resilance and efficiency
Add caching for pip and poetry downloads to reduce runtime
Add pinned pip version
Add poetry installation of local project
Remove bare pip install for local project installation
2020-12-05 14:12:50 -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
872f6b0892
Update poetry dependency to be installed as optional extra
When running 'poetry remove tox-poetry-installer' in the same env as
poetry is installed to, poetry will uninstall itself. This is, obviously,
not ideal.

This change makes poetry an optional dependency so that the plugin can be
installed (and uninstalled) alongside poetry in the same env without
breaking the poetry installation. The intention is that the plugin can be
installed with the 'poetry' extra when being installed to an isolated environment
where poetry is not otherwise available.

This is a mitigation of Issue #2 as an alternative to vendorization of the enitre
poetry project 😬
2020-12-04 17:57:38 -05:00
afad7663f0
Fix clean target not deleting pycache 2020-12-04 17:22:52 -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
4de5fea0e3
Merge pull request #29 from enpaul/enp/fix-platform
Fix dependency installation on incompatible platforms and with invalid python versions
2020-11-26 15:08:12 -05:00
33119df752
Add missing tests __init__ file
I'm tired of fighting this. Every tool under the sun wants the tests to
be an importable module, which doesn't make much sense to me, but it's
whatever. I'm just adding this because pylint, mypy, and others get
angry when I try to use them on just a directory without globbing
2020-11-26 15:01:59 -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
e96f4fb5e5
Add python3.9 tests to CI 2020-11-26 12:59:19 -05:00
eebd16383d
Add python3.9 to test and classifier lists 2020-11-26 12:54:14 -05:00
add4ec62eb
Update python requirement to ^3.6.1
Remove python specifiers from all deps that required >=3.6.1
2020-11-26 12:48:40 -05:00
0c25ca965e
Update pre-commit config to use poetry environment
Add precommit hook for checking for merge conflicts
Add dev dep for blacken-docs
Add dev dep for pre-commit-hooks
Update all precommit hooks to use system language
Update toxfile to use new dev deps
Fix tox vs. precommit conflicts with reorder-python-imports
2020-11-26 12:41:06 -05:00
6a5e955fce
Merge pull request #27 from enpaul/enp/unsafe
Refactor dep processing to improve efficiency of installation
2020-11-14 10:43:03 -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
e37c166a8b
Misc meta fixups
Fix dumping pypi API key to stdout when using "make publish" target
Fix outdated version in example output of docs
2020-11-12 21:13:55 -05:00
3d6d39eca8
Add note about installation via tox requires config option
Fixes #13
2020-11-12 21:12:38 -05:00
b9b0eba90f
Merge pull request #26 from enpaul/enp/fixups
Minor fixups ahead of 0.5 release
2020-11-12 19:47:09 -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
b0bee11272
Merge pull request #25 from enpaul/enp/docs
Update documentation ahead of 0.5 release
2020-11-12 19:42:27 -05:00
accb4c3278
Update drawbacks section with new info 2020-11-12 19:31:31 -05:00
ea183553c4
Rewrite usage examples section into reference section
Fixes #20
2020-11-12 19:31:30 -05:00
5c5536581b
Update quickstart docs with new config option usage with locked_deps 2020-11-12 18:45:02 -05:00
b6ef671e67
Merge pull request #23 from enpaul/enp/faster
Update config handling to support tox's native env change detection
2020-11-12 18:19:21 -05:00
99c10482fc
Update tox config to use new plugin config option 2020-11-12 00:54:27 -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
b6415888d9
Merge pull request #24 from enpaul/enp/fix-ci
Fix automated CI
2020-11-12 00:52:18 -05:00
eba268a127
Update CI to include installation of this plugin
Not sure how I overlooked this
2020-11-12 00:44:12 -05:00
d8d483e849
Update to use poetry-core for PEP517 builds 2020-11-12 00:41:54 -05:00
c14313b7b0
Fix overlooked roadmap step that didn't get checked off 2020-11-12 00:32:22 -05:00
d1f161e0fa
Merge pull request #22 from enpaul/enp/recursive
Fix recursive dependencies causing recursion error
2020-11-12 00:26:22 -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
d4fb7046d8
Merge pull request #21 from enpaul/enp/modsplit
Split single-file module out into directory module
2020-11-11 22:49:30 -05:00
8c4e596316
Update tox automation to work with new module structure 2020-11-11 22:37:09 -05:00
50f6e3d151
Update dependencies to get cryptography security fix 2020-11-11 22:37:09 -05:00
106d1bf6cf
Update metadata tests to load metadata from new location 2020-11-11 22:37:09 -05:00
b57b78d4e2
Add typing stub file 2020-11-11 22:37:08 -05:00
33e81f742a
Split single module file out into directory module 2020-11-11 22:37:08 -05:00