15 Commits

Author SHA1 Message Date
Dr. Jens Harbott
702037af47 Switch the requirements-constraints job to py310
Since the PTI switched the supported python versions for the current
cycle from 3.8+3.9 to 3.9+3.10, we want to update the constraints
generation accordingly. Since we don't have a stable platform where we
can run both py3.9 and py3.10 in parallel, generate constraints only for
py3.10 for now.

Change-Id: I4a4d9cb6e292bb693ae424be0928501fed81113f
2022-10-12 05:38:30 +00:00
Matthew Thode
91bbf1fdc6
update generate constraints to py38,39
3.10 will come later when there is an image that supports all three

Change-Id: I663de65a971337fce65a51f0e5a7f959b8da2c03
Signed-off-by: Matthew Thode <mthode@mthode.org>
2022-04-14 10:58:33 -05:00
Sean McGinnis
bfc06ae553
Fix venv use in requirements propose_update.sh
This script creates a virtualenv to run a requirements script to update
constraints. virtualenv is not globally available anymore. Rather than
trying to call it directly, this now uses tox to set up the virtual
environment.

Change-Id: If00afb50c37b45aefbb45070da4efef3e43e62b2
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-06-23 07:51:44 -05:00
Andreas Jaeger
b59a59da35 Use python 3 venv for generate-constraints
With change I15d451f6a832b2e698b28e7351a36ef7aea92abe
generate-constraints needs python 3, setup the venv using python 3.

Change-Id: I3dba35267dc6f344ad27910c7dc18c1a33abf4ba
2020-06-07 08:39:19 +02:00
Matthew Thode
5b69bb5edd
drop python2.7 from generate-constraints
Change-Id: I5e51b46afbc26332368525f61a84ff9bd0536a1e
2020-05-15 18:36:42 -05:00
Matthew Thode
45ed2e8fa8
add py38 to constraint bot so victoria work can begin
after requirements branches we will remove py27 and py37

Change-Id: I5fde605634108dd628df546a2318731e1832b6b3
Signed-off-by: Matthew Thode <mthode@mthode.org>
2020-04-12 11:24:02 -05:00
Matthew Thode
23d169ebf9
stop generating constraints for py3.4 and py3.5
https://governance.openstack.org/tc/goals/selected/train/python3-updates.html

Change-Id: I87806f0e17e678c048035213ceebb3e073161d55
2020-02-06 10:52:00 -06:00
Matthew Thode
24254e5db1
add version map for python3.6 to 3.7
This prevents installing unconstrainted versions of libraries for
python3.7.  When it was unmapped there was no constraint for it for
certian libraries (some libraries had diferent versions for each version
of python).

Change-Id: I0a5ecc715142756a9ec37fca559fad691651430c
2019-05-03 15:49:04 -05:00
Andreas Jaeger
14eb58501b Fix nodepool after OpenDev changes
Fix a couple of places where orgs where renamed so that dib finds the
repos.

Change-Id: Ic52dcffcd9323c12410e05b1a3598911a28cbcaa
2019-04-21 17:05:34 +00:00
Andreas Jaeger
ee6468b9b4 Update jobs for OpenDev
Follow OpenDev changes:
* Use gerrit.opendev.org instead of gerrit.openstack.org
* Use opendev.org insted of git.openstack.org
* Follow move of openstack-infra/project-config to
  openstack/project-config

Change-Id: Ic27ea41407abc0bdec29768e5ee5dca33f8adeda
2019-04-20 13:51:05 +00:00
Tony Breeds
9620683a66 Run propose-updates for requirements-constraints to Python3.6
Currently we're running propose-updates forrequirements-constraints
under python 3.5 (on xenial).  We take the results of freezing the
constraints fro 3.5 and emit them as 3.4 constraints also.  In the near
term[1] we'd like to use the same technique to generate 3.6 constraints.

With the inclusion of I8784509bc162eb6f2e80261bc2d81dbe63ce7989, and
knowing that we no longer run on trusty node, we can now clone the 3.5
constraints freeze to both 3.4 and 3.6.  However given that soon we'll
be moving from xenial to bionic this introduces debt that will need to
be fixed after the August release.

Instead just move propose-updates for requirements-constraints job to
bionic now and start cloning 3.6 to 3.5 and 3.4.

Several jobs use propose-updates as a parent so I've made this change
specifically where we call the propose-updates job specifically for
requirements-constraints

Note: This may feel very familiar if you reviewed
I541b64afaee3bf466ff1a461fd2cb472657c4986, The aim is the same but I
mis-understood what propose-update-constraints was doing and it wasn't
the right job and was reverted in I75280b23e2e60800af45dc2343c82008ec9971a9

[1] See re-design discussion:
    http://lists.openstack.org/pipermail/openstack-dev/2018-July/132152.html

Change-Id: I1874d4f20a6d69a881f0d9407e159c35ab21542d
2018-07-25 08:55:47 +10:00
Tony Breeds
cde92dd039 Revert "Run propose-update-constraints under Python3.6"
This reverts commit c1de884d33cb4fc252e71c5477b87ac5c9ba653b.

propose-updates-constraints != propose-updates.  The later does what I want, the former is used by the release-team after releasing a new library.

#eggonface

Change-Id: I75280b23e2e60800af45dc2343c82008ec9971a9
2018-07-24 22:43:11 +00:00
Tony Breeds
c1de884d33 Run propose-update-constraints under Python3.6
Currently we're running propose-update-constraints under python 3.5 (on
xenial).  We take the results of freezing the constraints fro 3.5 and
emit them as 3.4 constraints also.  In the near term[1] we'd like to use
the same technique to generate 3.6 constraints also.

With the inclusion of I8784509bc162eb6f2e80261bc2d81dbe63ce7989, and
knowing that we no longer run on trusty node, we can now clone the 3.5
constraints freeze to both 3.4 and 3.6.  However given that soon we'll
be moving from xenial to bionic this introduces debt that will need to
be fixed after the August release.

Instead just move propose-update-constraints job to bionic now and start
cloning 3.6 to 3.5 and 3.4.

[1] See re-design discussion:
    http://lists.openstack.org/pipermail/openstack-dev/2018-July/132152.html

Change-Id: I541b64afaee3bf466ff1a461fd2cb472657c4986
2018-07-17 10:01:09 +10:00
Doug Hellmann
e7d25bb989 remove "requirements" mode from propose_update.sh
We do not automatically propose updates to projects' requirements, so
we don't need this branch of logic any more.

Depends-On: https://review.openstack.org/555402/
Change-Id: I511ead56a6a6efecde25ce6b118256aa0560023a
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-05-07 21:26:01 +00:00
Andreas Jaeger
3cbae461ad Install proposal scripts only when needed
Move proposal scripts from jenkins/scripts to the proposal directory
so that we can install them only for proposal scripts and do not need
to bake them into nodes.

Change-Id: I356906e4a43597cc913bfa539cac7c2c6dfce117
2018-02-15 08:04:24 +01:00