Commit Graph

9 Commits

Author SHA1 Message Date
Elod Illes 008b0d7e83 Disable auto-discovery for setuptools
With setuptools release 61.0.0 sahara-image-elements' package build
command (python3 setup.py sdist bdist_wheel) started to fail:

error: Multiple top-level packages discovered in a flat-layout:
['roles', 'elements', 'playbooks'].

This bug is mentioned in setuptools issue 3197 [1], and the suggested
workaround is to disable auto-discovery by adding 'py_modules=[]' in
setup.py.

To unblock the gate the following needed to be updated as well:
- requirements constraints
- fix lower-constraints job constraints (only the 1st constraints is
  used by pip, which was upper-constraints.txt from install command)

[1] https://github.com/pypa/setuptools/issues/3197

Change-Id: Ib2d3e296e6d405671594dfd630e381ae414a2709
2022-03-28 16:19:31 +02:00
Andreas Jaeger 2921d50974 Cleanup py27 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 obsolete sections from setup.cfg:
  * Wheel is not needed for python 3 only repo

Change-Id: Ie5bf4b5226a06d828ec24a6134d7ea8a3f45c8db
2020-04-17 01:12:32 +02:00
OpenStack Proposal Bot e51e7aee9f Updated from global requirements
Change-Id: I962cd4c03e8de54f3a54b4c0a6098778e5074e0e
2017-03-02 17:53:54 +00:00
OpenStack Proposal Bot 91c140d099 Updated from global requirements
Change-Id: I058d66f23ea345f6d18bf36ac67fe1686fd71d87
2015-09-21 14:42:50 +00:00
OpenStack Proposal Bot 4872d6c63c Updated from global requirements
Change-Id: I865260198b9d57057282326b8edd3058b04008e9
2015-07-15 00:30:02 +00:00
OpenStack Proposal Bot 14927bb99e Updated from global requirements
Change-Id: I030287c47965cbebb298604bdb4e3c64714c695e
2015-06-22 08:28:32 +00:00
OpenStack Proposal Bot 1581d30904 Updated from global requirements
Change-Id: Idb844ccaced77eecc086727cced8ca040c7a0c62
2014-04-30 02:47:23 +00:00
Sergey Lukjanov 9feb30f27d Remove version pbr pins from setup_requires
* setuptools can never upgrade things based on setup_requires versions
* actual pbr version range should be defined in requirements.txt

Change-Id: I38e889f4dc71f00d449bc1a2a93d2054eb3125f0
2013-09-22 13:01:37 +04:00
Sergey Lukjanov 08b985d59e Package with pbr
* generated tarball will contain all elements;
* tarball could be installed and all elements will be installed to the
  share/savanna-elements folder.

Change-Id: Ic80b045034850316b9b3263d132782afa560643b
2013-09-02 13:00:09 +04:00