Skip to main content

Bleeding edge dependency testing

Project description

Bleeding edge dependency testing

python-3.7 Code style: black

Full Documentation

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

  1. Create a virtual environment in the .edgetest folder,
  2. Install the local mypackage: .edgetest/pandas/bin/python -m pip install .,
  3. Upgrade pandas: .edgetest/pandas/bin/python -m pip install pandas --upgrade,
  4. Run .edgetest/pandas/bin/python -m pytest, and
  5. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

edgetest-2021.12.0.tar.gz (20.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

edgetest-2021.12.0-py3-none-any.whl (23.6 kB view details)

Uploaded Python 3

File details

Details for the file edgetest-2021.12.0.tar.gz.

File metadata

  • Download URL: edgetest-2021.12.0.tar.gz
  • Upload date:
  • Size: 20.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for edgetest-2021.12.0.tar.gz
Algorithm Hash digest
SHA256 147a6f2e127f1b8800e732eb0dd5f951d7fd952438aaa34d13903ce3d949dc91
MD5 3216ea6a7f8e762305e94d56c11d2511
BLAKE2b-256 3c567519f8ddae241ec268ff46c1864a84e6d4fa9ea5bcfd72c882a6f88453dd

See more details on using hashes here.

File details

Details for the file edgetest-2021.12.0-py3-none-any.whl.

File metadata

  • Download URL: edgetest-2021.12.0-py3-none-any.whl
  • Upload date:
  • Size: 23.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for edgetest-2021.12.0-py3-none-any.whl
Algorithm Hash digest
SHA256 89721eab2797b350a64a1bc0eeeed782a5cd777ad2cd951bc65b5c2444ed7490
MD5 5957f549f40e486dd59ccb0d74ba4b53
BLAKE2b-256 49f396c19682a3b6d1a98f63795deb6b666b70451f878e3478f62bc415026e1d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page