Commit Graph

22 Commits

Author SHA1 Message Date
James E. Blair 98994f791d Only support Python 3.11
To match Zuul, update the pypi classifiers and testing to indicate
that only Python 3.11 is tested and supported.

Change-Id: Id7d422aaae94961a7ee746e7c69308f04d94954d
Depends-On: https://review.opendev.org/891339
2023-08-14 17:54:07 +00:00
James E. Blair 3a5db84a33 Switch to nox
Like Zuul, replace our usage of tox with nox.

Change-Id: I18e2dffaf737f0b57020d50c1c18397ee5dc1362
2023-01-10 10:30:14 -08:00
Clark Boylan 38c25fb5dd Add Python 3.11 testing
This adds python 3.11 testing and drops python3.10 in order to keep
testing only the bounds of what Nodepool supports. Note that currently the
python 3.11 available for jammy is based on an RC release. This should
be fine as we do functional testing with a released python 3.11 and that
is what people will consume via the docker images.

Change-Id: Ia3e1c4976e35b254497e60d811f61a5531c69f1a
2022-11-30 13:44:52 -08:00
Clark Boylan bde9bdb975 Update to python3.10
This adds python 3.10 testing and updates our docker images to
python3.10.

On the docker image side of things we use opendev's python images which
are based on Debian then have python compiled on top of that external to
Debian python packaging. Debian bullseye ships with python3.9 but our
images come with python3.10. What this means is that we cannot rely on
external wheel caches for Debian bullseye + python3.9 here as we've got
the wrong version of python3.10. The good news is that all of the
dependencies that have historically given us trouble on arm64 in
particular already ship python3.10 aarch64/arm64 wheels. This means we
can rely on pypi as is. This is probably better for us anyway as it
decouples us from relying on additional external resources.

We also update a number of jobs to use nodeset: ubuntu-jammy as this
ubuntu version defaults to python 3.10.

Change-Id: I7fb585bc5ccc52803eea107e76dddf5e9fde8646
2022-07-01 12:05:26 -07:00
Clark Boylan 657e82eb19 Set python metadata in setup.cfg to >=3.8
This matches zuul and helps communicate the versions required and
tested.

Change-Id: Ie595c9c570ca22f8f097c4602ef35d8c3dc0da52
2022-05-06 13:48:58 -07:00
Simon Westphahl c112e765ab Drop support for Python 3.6
Drop support for Python 3.6 as it's EOL and the current version of the
IBM cloud SDK requires 3.7+.

Change-Id: Icdac247e36568ae1372188000914fa00ee071baf
2022-03-24 14:38:28 +01:00
Clark Boylan f3a8184c8d Add py39 testing to nodepool
Typically we would drop py38 testing at this point, but since Zuul is
still running on py38 we keep py38 here until both can be running py39.

Change-Id: Ic89f1379e50c2b6d73f0fa4687635cf20ae3dec1
2021-10-26 12:41:54 -07:00
James E. Blair 5e8915f1c8 Add python-logstash-async to container images
This adds the python-logstash-async module to the list of packages
that should be present in container images.  This allows operators
to configure direct-to-logstash logging from Nodepool.

This matches a similar change in Zuul:
I6764876c7e64afa94dcdf8f49215cf7abc607a57

Change-Id: I4f4a2ec7f7762fd3e431bfc49f3c7f37c520ed5a
2021-03-09 13:17:28 -08:00
Tobias Henkel a4bc4d8b92
Drop python 3.5 support
We did this in zuul already so drop python 3.5 in nodepool as
well. The py35 job now fails with [1].

[1] ERROR: Package 'keystoneauth1' requires a different Python: 3.5.2 not in '>=3.6'

Change-Id: Ica2a8c5a5c0037190fe23302304de000bd7ad319
2020-11-26 10:20:54 +01:00
Monty Taylor d63c833815 Add yappi and objgraph to an extra
So that they wind up in the nodepool images, we need to list
them somewhere.

Change-Id: I47b43407c86c5846ca658963c298b05f280c3b42
2020-04-16 10:02:01 -05:00
Jeremy Stanley 0c9b96bf62 Declare support for Python3.8
Replace our tox-py36 job with tox-py38, extend the list of trove
classifiers for Python versions in package metadata, and replace the
"py35" in the tox.ini envlist with just "py3" so that folks running
`tox` unqualified on their systems will use whatever python3
interpreter they have on hand (odds are it's in our supported range
these days). Also uncap python-daemon so we use a version compatible
with Python >=3.8.

Change-Id: Ic464eefbd90ffaa2ef9079a23e7b15c167de3103
2020-03-11 20:17:45 +00:00
Clark Boylan 9c5f6e5f29 Don't build universal wheels
Nodepool is a python3 project and does not support python2 so universal
wheels do not apply.

Change-Id: I74be4e1ee1026702fbcf82363362dd763fa09a06
2020-02-06 09:03:23 -08:00
Paul Belanger 53df54566f Update pypi metadata
Refresh our metadata for pypi to use our shiny new https://zuul-ci.org
domain.

Change-Id: I5b921adc057ceab4770f70c26e9b43b5969896a3
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2018-10-13 12:07:38 -04:00
Monty Taylor 98e608acad
Add line to setup.cfg limiting to python >=3.5
This adds "Requires-Python: >=3.5" to the PKG-INFO file, which will then
in turn be processed by pypi and pip and prevent users on python2 from
being able to pip install nodepool.

Change-Id: I815d07dcc874059734a3e9cef72a50593338ab4c
2018-10-12 10:42:42 -05:00
Monty Taylor 53278a873c
Add universal flag to setup.cfg
We don't do C extension code, so our wheels can be flagged as universal.

Change-Id: I6e9057d5b8cc40470df9a82418ca3c3d92721595
2018-10-12 09:29:05 -05:00
ChangBo Guo(gcb) e9b29bab37 update supported python version in setup.cfg
Nodepool requires Python 3.5 or newer, so need
update the information for pypi.

Change-Id: I980116039fcd221fcb7bdfdd12dfbeeda8cbbe2f
2018-02-02 04:30:06 +00:00
Clark Boylan e63f67c2f7 Fix internal doc refs to renamed section
Providers no longer have "images" they have "diskimages". Update the
refs to reflect that. Also bump sphinx version and enforce warnings as
errors to catch these problems in the future.

Change-Id: I367e36243ff928e194986cb6dc3c68e0d48bbcd0
Story: 2000790
2017-04-05 11:07:03 -07:00
Paul Belanger fbe932e14f Rename nodepoold to nodepool-launcher
The day has come to rename nodepoold to nodepool-launcher.

Change-Id: Ic04e3cf2dbdaf914bf8f92d073acb972380708f1
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2017-03-29 09:28:33 -04:00
Gregory Haynes 9253ae99e9 Builders can be run on their own
Add entrypoint so builders can be run on their own using the
nodepool-builder command. Also update config processing so builders do
not require things like a zmq-publisher.

Change-Id: Ied1142990ca630f22044a472db77920daa4c2e5a
2016-01-12 15:33:01 -08:00
Jeremy Stanley 6c56d68fb1 Replace ci.o.o links with docs.o.o/infra
The http://ci.openstack.org/ documentation site has been deprecated,
replaced by redirects to corresponding paths within
http://docs.openstack.org/infra/ where other Project Infrastructure
documentation already resides.

Change-Id: I86b9348638697b85401c0525d8fe0e937c3f7516
2015-05-14 21:38:16 +00:00
James E. Blair 7a1fe1891f Add a nodepool command
Moves the daemon command to nodepoold.

Refactor config handling a bit in NodePool to make the config
objects just contain information by default (though things
such as database handles and managers may get added to them
later as needed).

Start with the list and image-list commands.

Change-Id: If2ba7bca7ab4ef922787176af87ad5de31ae4b3e
2013-09-03 09:27:04 -07:00
James E. Blair 5866f10601 Initial commit
Much of this comes from devstack-gate.

Change-Id: I7af197743cdf9523318605b6e85d2cc747a356c7
2013-08-15 09:47:23 -07:00