Commit Graph

11 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
OpenStack Proposal Bot 0a70133d13 Updated from global requirements
Change-Id: I309436c684f649385428aac142462a88e4af3630
2017-09-11 21:50:28 +00:00
OpenStack Proposal Bot e51e7aee9f Updated from global requirements
Change-Id: I962cd4c03e8de54f3a54b4c0a6098778e5074e0e
2017-03-02 17:53:54 +00:00
ricolin 469fb6d636 [Fix gate]Update test requirement
Since pbr already landed and the old version of hacking seems not
work very well with pbr>=2, we should update it to match global
requirement.
Partial-Bug: #1668848

Change-Id: Ibd7131893d13ba2642348fc3c1d29eb21edbbb65
2017-03-02 19:59:19 +08:00
OpenStack Proposal Bot 14927bb99e Updated from global requirements
Change-Id: I030287c47965cbebb298604bdb4e3c64714c695e
2015-06-22 08:28:32 +00:00
Sergey Reshetnyak 1a62a4d5ae Move to hacking 0.10
Release notes: http://git.openstack.org/cgit/openstack-dev/hacking/tag/?id=0.10.0

Change-Id: Id521b1a63e64dfcecf5eae7fe91bfd0efac2bc57
2015-01-11 13:25:48 +03:00
Sergey Reshetnyak 006486b55b Add bashate checks to elements
Bashate is pep8 equivalent for bash scripts
Run checks:
  $ tox -e bashate

Change-Id: I3a3b814029613b8c53da4953eaba48d57342a39a
2014-09-30 23:27:35 +04:00
Sergey Lukjanov 74c6178d13 Add warn re sorting requirements
Change-Id: Id7aaa6e4ebe74ba49b32a1061fa510874544c681
2014-09-04 20:19:13 +04:00
OpenStack Proposal Bot 9bc740cf0e Updated from global requirements
Change-Id: I8e6e0bdd7c895250f8a8f24967f30194b50d73bb
2014-06-16 09:53:10 +00:00
OpenStack Proposal Bot b8153690c1 Updated from global requirements
Change-Id: Idd9422cbcde846fd621a8c674273ee9d2d9b7df9
2014-06-11 01:38:06 +00:00
Sergey Lukjanov 39b01c261a Enable hacking checks
Change-Id: I1bb5c28e9f726cf10e8562b738e7708785987461
2013-11-15 13:09:03 +04:00