Bleeding edge dependency testing
Project description
Bleeding edge dependency testing
edgetest
is a tox
-inspired python library that tests your package against the latest available
dependency versions. It will
- create a virtual environment,
- install your local package into the environment,
- upgrade specified dependency package(s), and
- run your test command.
Table Of Contents
Install
Create a conda
environment with Python 3.7+ and install from PyPI:
$ python -m pip install edgetest
Getting Started
edgetest
allows multi-package, bleeding edge dependency testing. Suppose you have a package, mypackage
, with the following requirements.txt
:
pandas>=0.25.1,<=1.0.0
...
edgetest
allows you to test your package against the latest version of pandas
. If you run
$ edgetest
the package will
- Create a virtual environment in the
.edgetest
folder, - Install the local
mypackage
:.edgetest/pandas/bin/python -m pip install .
, - Upgrade
pandas
:.edgetest/pandas/bin/python -m pip install pandas --upgrade
, - Run
.edgetest/pandas/bin/python -m pytest
, and - Repeat steps 1-4 for all packages in
requirements.txt
.
After you run the command, you should get console output similar to the following:
============= =============== =================== =================
Environment Passing tests Upgraded packages Package version
------------- --------------- ------------------- -----------------
pandas True pandas 1.2.4
============= =============== =================== =================
Options
See the advanced usage page.
Contributing
See our developer documentation.
Roadmap
Roadmap details can be found here.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for edgetest-2021.12.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 89721eab2797b350a64a1bc0eeeed782a5cd777ad2cd951bc65b5c2444ed7490 |
|
MD5 | 5957f549f40e486dd59ccb0d74ba4b53 |
|
BLAKE2b-256 | 49f396c19682a3b6d1a98f63795deb6b666b70451f878e3478f62bc415026e1d |