Skip to content

Latest commit

 

History

History
51 lines (31 loc) · 1.89 KB

README.md

File metadata and controls

51 lines (31 loc) · 1.89 KB

tox-asdf

Tests pre-commit.ci status codecov Last version License Supported Python versions

A Tox plugin using asdf to find python executables.

Prerequisites

This plugin is made exclusively to support asdf so obviously you will need a functional asdf installation as well as the asdf-python plugin.

Installation

Simply install tox-asdf in addition to tox to get ready:

pip install tox tox-asdf

That's it, you can now run tox as usual but using asdf Python installations.

Options

No fallback on system pythons

By default this plugin won't fail if a required Python version is missing from æsdf, tox will fallback on its classic way of finding Python binaries from $PATH. You can override this behavior and force tox to only use asdf by using the --asdf-no-fallback option:

tox --asdf-no-fallback

Automatically install pythons

By default, tox-asdf won't try to install missing Python version, but you can force this by using the --asdf-install option.

tox --asdf-install

Obviously this will only useful on the first run.