Commit Graph

11 Commits

Author SHA1 Message Date
Clark Boylan 0b7c438455 Switch from tox to nox
Recent tox releases have put us on a config treadmill. Avoid these
issues entirely by using nox. Nox is a tox alternative that uses
standard tools like pip and should be simpler to use for us.

Change-Id: I24277512cf542bac7a8852d50009c6f08db7fa37
2023-05-19 17:14:09 +00:00
Ian Wienand 0c5c5871fe
Drop Python < 3.8, add Python 3.10 testing
Also update the integration job to Jammy, and update to the latest
ansible in Zuul.

Change-Id: Idec1941f6879a0fabee8fac637bc1a43e0acd793
2022-12-01 12:22:10 +11:00
Clark Boylan aed4e49286 Add python39 testing
We deploy gerritlib via jeepyb on our gerrit images which have python39
now. Add testing for that version of python to help cover that setup.

We also drop the python3.5 default in tox.ini as we don't test that
version of python anymore.

Change-Id: I4be713a6fe67b6524eb3a463c9835851bc7f90e5
2021-10-12 15:24:38 -07:00
Sorin Sbarnea b317b5737c Fix package metadata
Updates outdated urls, mailing lists and team names in metadata.

Change-Id: I69a88c3bdeb5b5b363d606648b1ae034912fc4c3
2020-09-28 16:33:54 +00:00
Sorin Sbarnea a0a5f260ea Enable py36-py38 testing
- updates tox.ini, also fixing a typo
- enables new jobs, which would at least test ability to install
  package under these versions.
- updates Trove metadata
- replace fake sole-survivor unittest with a bit more practical one

Change-Id: Iae224a19850489ba3563ad5a40d358002dacdb97
2020-05-20 19:38:05 +01:00
Khai Do 58ca447785 Update project docs
This change does the following:
  Update docs with more info
  Add an example usage of this library
  Add pbr versioning to docs
  Updates the requirements
  Rarrange the docs to look better on pypi

Lots of the elements to do above were borrowed from
python-jenkins and jenkins-job-builder projects.

Change-Id: Idc7dfc88cc26e1147b027fd55d41229c4bf3910f
2015-04-20 13:10:34 -07:00
Antoine Musso 207357ea9e Doc generation support
Based on cookiecutter and slightly tweaked afterward.

* conf.py has autoclass_content = 'both' to generate the __init__
  documentation.
* bumped doc copyright to 2015.
* adds in tox environement 'docs' as a convenience

Change-Id: I69bb4179be343ab7c8a44f6fb80d5a428fe30e17
2015-02-11 10:09:59 +01:00
Christian Berendt 15de277da9 Changed home-page used in setup.cfg
I think the home-page should reference the repository instead
of http://ci.openstack.org. I cannot find a reference on gerritlib
on http://ci.openstack.org/ or http://ci.openstack.org/gerrit.html.

Change-Id: I9563e9d97965c3217fd9960255ec1a98ca2ed5c0
2014-07-01 12:38:38 +02:00
Antoine Musso ee4d151ade Apply cookiecutter defaults
Launchpad points to https://launchpad.net/openstack-ci which I assume is
a catch all.

[setup.cfg]
* skipped files.packages section which is unneeded
* removed obsolete pbr global.setup-hooks

Change-Id: I26bddf6a1bb1ce7a10ea0f8d9f40a916dcba0c90
2014-06-02 18:22:04 +02:00
Monty Taylor 81a0066752 Modernize build requirements.
Switch to pbr and flake8. Make hacking clean. Remove unneeded/unused
libraries. Rename requirements files. Add a README file.

Change-Id: I70408d785331dc97737ab0ab1b0caa255b683efe
2013-06-02 10:46:12 -04:00
Clark Boylan eeeaadf66c Add setup.py to project.
Add a setup.py for the gerritlib project. This incorporates
openstack.common.setup/version as well for versioning. This change
also adds a tox.ini file and its lists of dependencies to gerritlib.
This was not done in a separate commit as tox depends on setup.py and
setup depends on tox for gate tests.

Change-Id: I101471e836802b1c38796d8d3c570ce5f00c793e
2012-07-11 13:00:12 -07:00