13 Commits

Author SHA1 Message Date
Jay Faulkner
6008d31f2f
add pyproject.toml to support pip 23.1
pip 23.1 removed the "setup.py install" fallback for projects
that do not have pyproject.toml and now uses a pyproject.toml
which is vendored in pip.
To address that, this change adds the minimal pyproject.toml
to enable pbr to be properly used to build editable wheels.

This is required to support installing devstack on
centos stream 9 and related distros with GLOBAL_VENV=True
Without this change the wsgi scripts are not generated in
editable mode. i.e. pip install -e /opt/stack/keystone

See https://pip.pypa.io/en/stable/news/#v23-1
and https://github.com/pypa/pip/issues/8368 for more
details on the removal of the fallback support.

setuptools v64.0.0 is used to support editable installs
via its PEP-660 implmentation
https://github.com/pypa/setuptools/pull/3488

This patch was taken nearly verbatim from the equivalent nova change.

Co-Authored-By: Sean Mooney <work@seanmooney.info>
Change-Id: I34888e8f87b4a3ab09546ba58ef5f2cf495bc7e3
2024-11-05 08:00:24 -06:00
Stephen Finucane
ca5ed66d55 setup.py: Remove 'py_modules'
This was merely obscuring a bug in pbr. setuptools doesn't do the
auto-discovery when pbr is in use. Remove it.

Change-Id: I40500ed7bf9d9fb30381c7539548544152cea85e
Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
Depends-on: https://review.opendev.org/c/openstack/pbr/+/869082
2023-01-04 12:01:18 +00:00
Riccardo Pittau
6b84fbf8f2 Fix CI
- Remove skipsdist that it was never supported and causes breakage
when used with usedevelop.
- add script to allowlist for pep8 test
- disable setuptools autodiscovery
- Increase base VM memory according to new requirements for CS9
based IPA

Change-Id: I0bfef09a5312a17be54ce5c09805f06b7c349026
2022-12-29 17:10:53 +01:00
Andreas Jaeger
163c8346a3 Cleanup Python 2.7 support
Make a few cleanups:
- Remove python 2.7 stanza from setup.py
- Add requires on python >= 3.6 to setup.cfg so that pypi and pip
  know about the requirement
- Remove section from setup.cfg: Wheel is not needed for python
  3 only repo
- Update requirements, no need for python_version anymore

Change-Id: Ib2221fc13cd53c93150e838418e7e110e087d1b3
2020-04-03 17:49:23 +02:00
OpenStack Proposal Bot
e5a3a4ccb5 Updated from global requirements
Change-Id: I1823b001a774bdd47aa88e54d1951c60a5545eee
2017-03-02 11:45:27 +00:00
OpenStack Proposal Bot
6716cd456b Updated from global requirements
Change-Id: Idca11f7d93f332873ad91ffa53b3da92f859be19
2015-09-22 03:33:28 +00:00
OpenStack Proposal Bot
405607592e Updated from global requirements
Change-Id: I59ae1b5a7cf6133b845c1f3e891bd8a0f1cbed8d
2015-07-15 07:34:03 +00:00
OpenStack Proposal Bot
7fb2914309 Updated from global requirements
Change-Id: Ib27fa36887592ceced91687e3edaacfd6f5f704e
2015-06-22 08:21:26 +00:00
OpenStack Proposal Bot
acd0ad5acd Updated from global requirements
Change-Id: I0eeaec761268fc4bc142939e191026c0411c162b
2014-04-30 05:25:27 +00:00
Monty Taylor
85e237361f Update from global requirements
Also, more importantly, get rid of d2to1 references.

Change-Id: I3c51eaf807b8642d9326d110813f62a9b4898d5b
2013-09-30 09:34:20 -07:00
Roman Prykhodchenko
ff0f52e3a1 Added Python-2.6 to the classifier.
OpenStack is often used with dustributions of GNU/Linux
which use python-2.6 as a default python interpreter.
Other OpenStack projects declare compatibility with python-2.6.

Ironic is been continuously tested for compatibility with
python-2.6 so we must declare this in the classifier to
stay synced with other OpenStack services.

Change-Id: Idf296e925c39d2847e7c8d7bfca073b5f9681754
2013-07-03 16:36:24 +03:00
Devananda van der Veen
9e242f8d2d Implement skeleton for a new DB backend. 2013-05-13 00:58:31 -07:00
Monty Taylor
84a7dc47e2 Added project infrastructure needs. 2013-05-02 14:55:43 -04:00