Commit Graph

12 Commits

Author SHA1 Message Date
Clark Boylan cdf19298e3 Fix CI setup
We need to assign nodesets that can run the requested python versions
when running tox-pyXY jobs. Also remove the Sphinx version cap as old
sphinx cannot install with modern setuptools. We don't run CI that
includes sphinx so this should be fine.

If this breaks docs builds we can sort that out later.

Change-Id: I577d67912fe6feb68ae50ff34c2622f9461dd122
2021-10-11 09:20:19 -07:00
Sorin Sbarnea 8ceeaa5a20 Decouple linters from unit testing
Avoids conflicts between unit testing and linter and avoids
installing unneeded dependencies on both of them.

Change-Id: Id384a998bea298612ec65eaa329f85a38afee3f6
2020-09-28 16:45:59 +01:00
Arun S A G 40858f3678 Add support for TCP keep alive in gerritlib
Clients using gerritlib behind NAT/firewall
can be stuck when the NAT/firewall discard
packets belong to the TCP connection after extended
silent periods thinking the connection is dead.

This change allows clients using gerritlib to set
keep alive interval to a non zero value. This will
enable TCP keep alive packets to be sent in
configured intervals keeping the TCP connections alive.

Change-Id: I588706bb51ce41810cd2243f4969763d193d1d55
2020-09-09 17:45:39 -07:00
Sorin Sbarnea 2f666c7b35 Replace testrepository with stestr
Replace outdated testrepository with its newer sibling, which
is maintained.

Change-Id: I9755b82d8a2a82f146e71fdc0f32e3f6002e804d
2020-05-20 20:07:15 +01: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
Jeremy Stanley fba7102ae4 Specify testenv command for tox>=2.5
As of the tox 2.5.0 release, failure to specify a default commands
key in the fallback testenv section of tox.ini instantly fails with
"ERROR: Commands not specified. Please update relevant section of
.../tox.ini".

Copy the testenv.commands entry from the openstack/cookiecutter
repo's template. While at it, copy the boilerplate placeholder test
from the cookiecutter templates so that jobs don't freak out when
they discover (and then run) no tests.

Change-Id: Ifb8fcfbb6d76edd8c7dcf814a705ee7eff3a9819
2016-12-01 20:20:59 +00:00
Monty Taylor 24de1df8df Bump pbr and hacking version
Bumping pbr required a bump to hacking otherwise build will fail
with VersionConflict error.

Change-Id: I3d2a031c175dcd25b309bd3cbf15f5ebad0c4744
2015-08-02 14:00:44 -07: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
Monty Taylor bc11bb419f Remove use of d2to1
Update with the global OpenStack requirements in the process.

Change-Id: I18ae9cc78e1af8842b74cedac3ba262d733e4289
2013-10-19 10:51:20 -04:00
Monty Taylor aca4ab605d Remove dependency on distribute
Change-Id: Iccd5834a675c4beea147a6765b686ce6f21e4ed1
2013-07-05 21:15:26 -04: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