Taskotron checks regarding Python versions
Project description
This represents the automatic checks happening in the Fedora
infrastructure
after any package is built.
Currently the following checks are available:
Whether a package does not require Python 2 and Python 3 at the same time.
Running
You can run the checks locally with
Taskotron. First,
install it (you can
follow the
Quickstart).
You’ll also need the rpm Python 2 module (python2-rpm).
Note that Taskotron unfortunately runs on Python 2, but the code in
this
repository is Python 3 compatible as well.
Once everything is installed you can run the task on a Koji build
using the
name-(epoch:)version-release (nevr) identifier.
$ runtask -i <nevr> -t koji_build runtask.yml
For example:
$ runtask -i eric-6.1.6-2.fc25 -t koji_build runtask.yml
Tests
There are also automatic tests available. You can run them using
tox.
You’ll need the above mentioned dependencies and python3-rpm
installed as well.
$ tox
License
This code has been dedicated to the Public Domain, it is licensed with
full text of the license is available in the LICENSE file in this
repository.
Please note that the RPM packages in this repository used for testing
have
their own license terms and are not dedicated to the Public Domain.
The sources of those packages can be found in
Koji by searching the
package
name and selecting the appropriate version.
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
File details
Details for the file taskotron-python-versions-0.1.dev1.tar.gz
.
File metadata
- Download URL: taskotron-python-versions-0.1.dev1.tar.gz
- Upload date:
- Size: 1.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 11dbdb8d87ad35c204e52a549eed78b7cca257b5fa724610c796319c6c09509c |
|
MD5 | 72ad51c378056e25f19af3201c025e36 |
|
BLAKE2b-256 | bfd9c434fecb63d2e53ab13403f87cd7e503c31924b1ff9c370c94da79a54dc7 |
File details
Details for the file taskotron_python_versions-0.1.dev1-py3-none-any.whl
.
File metadata
- Download URL: taskotron_python_versions-0.1.dev1-py3-none-any.whl
- Upload date:
- Size: 8.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ff8211166e26a9743db9a07336b0491331a1988df2554aca6936ea0a6f001f2 |
|
MD5 | 67bab050730392ede36675e0d6867f67 |
|
BLAKE2b-256 | 7096d6ab65cc22b2cfa2b3f94936f28192b82372f951c572a1c0a3962f1b2253 |