root/build-tools/build-wheels/centos/dev-wheels-py2.cfg
Davlet Panech 075b71dcf9 debian: build-wheels: partial debian support
Add debian support to wheels scripts. Note: this solution is not fully
functional. Remaining issues will be addressed in separate commits. See
FIXME file in this patch.

* build-wheels: move OS-specific files to subdirectories
  {dev,stable}-wheels.cfg
  {dev,stable}-wheels-py2.cfg
  openstack.cfg
  Dockerfile

* added a copy of openstack/ussuri requirements files under
  debian/openstack-requirements/ussuri/upstream for reference

* added a patched version of openstack/ussuri requirements files based
  on above. Changes:
  - added lines for python3.9
  - disabled some packages that don't compile on debian (nss, thrift);
    these will be installed as DEB files into the base image

* build-base-wheels.sh:
  - auto-detect OS & version by default
  - add local build repo to docker file
  - define CPUCOUNT=2 when building wheels. Otherwise some wheels run
    out of RAM when building.

* build-wheel-tarball.sh:
  - auto-detect OS & version
  - new option: --keep-image
  - allow openstack URL to be a local file name
  - assume DEB wheel packages may install wheels at any level, not just
    under "/wheels". It's not consistent with CentOS, but many DEB
    packages do it that way now.

* get-stx-wheels.sh:
  - auto-detect OS & version defaults
  - debian: don't scan 3rd-party libraries for wheels. They don't exist
    as files within the POD, but only in the repomgr repo. To be
    addressed later.
  - debian: don't scan for lower layer wheels. Layered builds are not
    supported by Debian right now. To be addressed later.
  - debian: extarct wheels from DEB files

CHANGES TO DEBIAN WHEEL VERSIONS COMPARED TO CENTOS
===================================================

* Python 3 (stable-wheels.cfg):
  - libvirt_python 4.7.0 upgraded to 7.0.0. Original version doesn't
    compile on debian/bullseye. New version matches the SO package
    included with bullseye
  - python_nss: removed. This module doesn't compile on bullseye as-is.
    A patched version is compiled as a DEB package as part of STX [1]
  - thriftpy: removed. This module doesn't compile on bullseye as-is. A
    patched version is provided by Debian [2]

* Python2 (stable-wheels-py2.cfg):
  - python-nss: removed. This module doesn't compile on bullseye as-is.
    A patched version is compiled as a DEB package as part of STX, which
    also provides the wheel [1]

TESTS
=====

- Build py2 & py3 wheels on debian & centos

REFERENCES
==========
[1] Import python-nss package to debian:
    https://review.opendev.org/c/starlingx/integ/+/837399

[2] Add additional packages to download lists:
    https://review.opendev.org/c/starlingx/tools/+/837904

Story: 2009897
Task: 44694

Depends-On: https://review.opendev.org/c/starlingx/integ/+/837399
Depends-On: https://review.opendev.org/c/starlingx/tools/+/837904

Signed-off-by: Davlet Panech <davlet.panech@windriver.com>
Change-Id: I0889118b9f0125888fb661e58ff41579da7eb3b4
2022-04-14 16:02:01 -04:00

19 lines
1.7 KiB
INI

#
# git: wheelname|git|git-source|basedir|branch
# tar: wheelname|tar|wget-source|basedir
# pypi: wheelname|pypi|wget-source
# zip: wheelname|zip|wget-source|basedir
#
# If fix_setup must be called, add |fix_setup at the end of the line
#
amqplib-1.0.2-py2-none-any.whl|tar|https://files.pythonhosted.org/packages/75/b7/8c2429bf8d92354a0118614f9a4d15e53bc69ebedce534284111de5a0102/amqplib-1.0.2.tgz|amqplib-1.0.2
lz4-0.9.0-cp27-cp27mu-linux_x86_64.whl|git|https://github.com/python-lz4/python-lz4|python-lz4|v0.9.0
panko-5.0.0-py2-none-any.whl|tar|https://files.pythonhosted.org/packages/a9/89/d666e0889d869e41c9b7f87a0a34858b2520782b82e025da84c98e0db8f6/panko-5.0.0.tar.gz|panko-5.0.0
google_api_python_client-1.7.7-py2.py3-none-any.whl|pypi|https://files.pythonhosted.org/packages/d7/47/940908e52487440f61fb93ad55cbbe3a28235d3bb143b26affb17b37dd28/google_api_python_client-1.7.7-py2.py3-none-any.whl
neutron_lib-*.whl|git|https://github.com/openstack/neutron-lib|neutron-lib|master
python_openstackclient-*.whl|git|https://github.com/openstack/python-openstackclient|python-openstackclient|master
openstacksdk-*.whl|git|https://github.com/openstack/openstacksdk|openstacksdk|master
networking_sfc-8.0.0.0b2-py2.py3-none-any.whl|pypi|https://files.pythonhosted.org/packages/6a/a8/0e9bdd1f87dfb50682f23a01f590530ec8fa715e51127cf9f58d1905886c/networking_sfc-8.0.0.0b2-py2.py3-none-any.whl
croniter-0.3.29-py2.py3-none-any.whl|pypi|https://files.pythonhosted.org/packages/a9/c9/11182a2507798c661b04a7914739ea8ca73a738e6869a23742029f51bc1a/croniter-0.3.29-py2.py3-none-any.whl
pecan-1.3.3-py2-none-any.whl|tar|https://files.pythonhosted.org/packages/93/98/889d7615595e894f4f7e4c17d4008c822c8e39e650c8ab390cc6c39b99c4/pecan-1.3.3.tar.gz|pecan-1.3.3