Commit Graph

313 Commits

Author SHA1 Message Date
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 ee5df2f17a
Update pre-commit config to follow best practices
https://github.com/pre-commit/pre-commit/issues/1790
2021-02-09 20:20:47 -05:00
Ethan Paul 46b8fcc2a4
Update tox dependency spec from ^3.0 to ^3.8 for compatibility 2021-01-27 21:29:14 -05:00
Ethan Paul 469ce4c905
Update feature roadmap with latest changes 2021-01-27 18:05:58 -05:00
Ethan Paul 5b5896191f
Clarify local dev requirements 2021-01-27 18:04:02 -05:00
Ethan Paul cc54e6243a
Add dev makefile target for setting up the local dev env 2021-01-27 18:00:24 -05:00
Ethan Paul e3b3b19b31
Merge pull request #39 from enpaul/enp/bugfixes
Misc Bugfixes
2021-01-22 19:27:43 -05:00
Ethan Paul 99d6eedff1
Fix CI running all tox envs instead of targeted envs
Yaml formatting quirks strike again
2021-01-22 19:23:35 -05:00
Ethan Paul ff09706648
Update changelog with v0.6.2 2021-01-22 19:18:54 -05:00
Ethan Paul 9ec64cf98f
Bump patch version 2021-01-22 19:13:42 -05:00
Ethan Paul 59bf9ad26e
Add precondition check for skipping tox self-provisioned env
Fixes #35
2021-01-22 19:13:42 -05:00
Ethan Paul 366c50ac87
Update transient dep resolution to always exclude root package name
Fixes #37
2021-01-22 19:13:42 -05:00
Ethan Paul 6e535f0f42
Merge pull request #38 from enpaul/enp/fix-ci
Fix CI Error
2021-01-22 18:39:07 -05:00
Ethan Paul af66cd6d06
Fix changelog URL formatting 2021-01-22 18:28:12 -05:00
Ethan Paul f6c8001546
Update py to 1.10+ to address CVE-2020-29651 2021-01-22 17:55:31 -05:00
Ethan Paul b62e13afc7
Add link to changelog 2021-01-16 21:39:34 -05:00
Ethan Paul c119e3b9d4
Add changelog
Fixes #36
2021-01-16 21:33:28 -05:00
Ethan Paul 0614913cc5
Merge pull request #34 from enpaul/enp/fix-unsafe
Fix unsafe dependency handling
2020-12-16 20:37:35 -05:00
Ethan Paul f116ffefa2
Fix special handling of unsafe dependencies as primary dependencies 2020-12-16 20:31:41 -05:00
Ethan Paul 2ce97a5349
Bump patch version 2020-12-16 19:16:38 -05:00
Ethan Paul 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
Ethan Paul c1d1ac2de1
Update handling of poetrys unsafe dependencies to avoid keyerror
Fixes #33
2020-12-16 19:01:20 -05:00
Ethan Paul c5c5261a80
Update transient processing to more narrowly scope error catching 2020-12-16 18:47:27 -05:00
Ethan Paul ff344c2b4b
Merge pull request #32 from enpaul/enp/docs
Beta > Alpha
2020-12-05 18:37:24 -05:00
Ethan Paul a7d9b25b62
Fix broken links in readme 2020-12-05 18:31:44 -05:00
Ethan Paul 8356d52c4f
Update project project status from alpha to beta 🎉 2020-12-05 18:31:44 -05:00
Ethan Paul 1941a103d3
Update contributor, devel, and roadmap documentation 2020-12-05 18:31:44 -05:00
Ethan Paul 0ad5fb7219
Overhaul basic usage documentation to improve clarity
Add intra document links
Update to document new/updated features
Add badge for downloads per month
Update badge order
2020-12-05 18:30:09 -05:00
Ethan Paul ea518d1201
Reorder TOC
Add garbage to email to (hopefully) avoid scraping
2020-12-05 18:30:09 -05:00
Ethan Paul 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
Ethan Paul 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
Ethan Paul 66c1925679
Add poetry requirement to local CI to ensure proper installation 2020-12-05 15:01:39 -05:00
Ethan Paul 99edc1c24e
Add runtime option for forcing error if poetry is not found 2020-12-05 15:01:39 -05:00
Ethan Paul 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
Ethan Paul 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
Ethan Paul db761d49c1
Add poetry extra install to tox config to support CI 2020-12-05 12:36:09 -05:00
Ethan Paul 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
Ethan Paul 604e60d567
Bump feature version 2020-12-04 17:57:44 -05:00
Ethan Paul 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
Ethan Paul afad7663f0
Fix clean target not deleting pycache 2020-12-04 17:22:52 -05:00
Ethan Paul 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
Ethan Paul bd8124dcbf
Move non-hook function out of hooks submodule 2020-12-04 16:09:40 -05:00
Ethan Paul 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
Ethan Paul 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
Ethan Paul 498cb4a3d2
Bump patch version 2020-11-26 14:54:34 -05:00
Ethan Paul 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
Ethan Paul 429992cff9
Bump patch version 2020-11-26 13:44:33 -05:00
Ethan Paul 216ee8b095
Fix exception when not installing project dependencies
Fix bug in precommit args
2020-11-26 13:43:33 -05:00
Ethan Paul e96f4fb5e5
Add python3.9 tests to CI 2020-11-26 12:59:19 -05:00