Commit Graph

45 Commits

Author SHA1 Message Date
Takashi Kajinami
81586711f5 Remove some notes no longer valid
setup.py is no longer maintained by the global sync. Also the note
in requirements.txt does not apply since pip 20.3.

[1] https://lists.openstack.org/pipermail/openstack-discuss/2023-June/034073.html

Change-Id: I8c9fef97e5e62d1024da9231e2cbb96b15edbf80
2023-06-14 04:09:52 +09:00
Brendan Shephard
b388bdb14c Disable auto discovery
Change in setuptools after latest release of setuptools 61.0
with breaking changes which are not backwork compatible,
details in related bug and [1].

Users that don't set ``packages``, ``py_modules``, or ``configuration`` are
still likely to observe the auto-discovery behavior, which may halt the
build if the project contains multiple directories and/or multiple Python
files directly under the project root.

To disable auto discovery, one can do below in setup.py

~~~
setuptools.setup(..,packages=[],..)
~~~

or

~~~
setuptools.setup(..,py_modules=[],..)
~~~

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

Change-Id: Ia544d7d82c0569c453f7cb75885b903d2e3cf83f
2022-03-29 01:15:03 +10:00
Andreas Jaeger
97db901658 [ussuri][goal] Finish dropping python 2.7 support
OpenStack is dropping the py2.7 support in ussuri cycle.

Complete discussion & schedule can be found in
- http://lists.openstack.org/pipermail/openstack-discuss/2019-October/010142.html
- https://etherpad.openstack.org/p/drop-python2-support

Ussuri Communtiy-wide goal:
https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html

This change cleans up:
* remove old requirements
* remove universal wheel building, we don't need this for py3
* cleanup setup.py
* tox.ini: move basepython around; remove install_command since the
  default is fine and constraints should be in deps; add
  ignore_basepython_conflict

Change-Id: Ife0a696ca62be21d3d93c5d8279a412578f62697
2020-02-06 18:58:12 +01:00
OpenStack Proposal Bot
fe4d6b0a76 Updated from global requirements
Change-Id: I1838bdd570144c0e8aeb0554868dd28c342e7f88
2017-03-02 17:42:22 +00:00
OpenStack Proposal Bot
a448add4e0 Updated from global requirements
Change-Id: I51581ad8d287e6a1a54f8551dea536513d9637ce
2015-09-22 10:40:48 +00:00
OpenStack Proposal Bot
09c8a4c159 Updated from global requirements
Change-Id: Id1d516edc130dbff51909daab03536017a471542
2015-07-15 07:33:24 +00:00
OpenStack Proposal Bot
995b32bdbb Updated from global requirements
Change-Id: I97e79c84b36b11962cf50a393f9645115b3886e7
2015-06-22 21:57:19 +00:00
OpenStack Proposal Bot
19dec016f4 Updated from global requirements
Change-Id: I805cbe40724a7669ed8e4f61f6afdd9528a43777
2014-05-09 02:42:01 +00:00
OpenStack Jenkins
2fead38829 Updated from global requirements
Change-Id: Ie89f43f6d8aa4a263b5e6515dcbd7bd534c6bce6
2013-10-01 16:13:02 +00:00
lawrancejing
a25d888c91 Fixes files with wrong bitmode
Some modules have bitmode 755. Changed to 644.

Change-Id: I4cb86987f1e2dd8420d511cb403228ba908d056b
2013-08-13 22:03:18 +08:00
Monty Taylor
65278b3ff3 Updated from global requirements
Change-Id: Ibf423f14a5c37aa298b2115bfd4936f660c6f530
2013-08-07 19:19:14 -03:00
Monty Taylor
05b97f368e Migrate to pbr.
Fixes bug 1179007

Change-Id: I698d02a2171e43237094c0e5ccc4c2dd47ed722b
2013-05-25 08:35:00 +02:00
Steven Dake
8c6dfdea9b Bump Heat version to 2013.2
Heat PTL Signoff for 2013.1

Change-Id: Ic8d91e1629642bbb54f673c1e879898d66e010bc
2013-03-19 14:54:35 -07:00
Jenkins
a3daa3fd99 Merge "Use oslo-config-2013.1b3" 2013-02-21 08:49:28 +00:00
sdake
c1c56fb438 Use 2013.1 for Grizzly release version info in setup.py
setup.py does not have a default version number specified.

Fixes Bug: #1129620

Change-Id: I4fd0ae02ad445aa1bdd25a67aead1e52fd731e3e
2013-02-18 17:26:50 -07:00
Mark McLoughlin
150d2ca694 Use oslo-config-2013.1b3
The cfg API is now available via the oslo-config library, so switch to
it and remove the copied-and-pasted version.

Add the 2013.1b3 tarball to tools/pip-requires - this will be changed
to 'oslo-config>=2013.1' when oslo-config is published to pypi. This
will happen in time for grizzly final.

Add dependency_links to setup.py so that oslo-config can be installed
from the tarball URL specified in pip-requires.

Remove the 'deps = pep8==1.3.4' from tox.ini as it means all the other
deps get installed with easy_install which can't install oslo-config
from the URL.

Excluded code from oslo-incubator in the pep8 check.

Retain dummy cfg.py file until keystoneclient middleware has been
updated (I18c450174277c8e2d15ed93879da6cd92074c27a).

Change-Id: I4815aeb8a9341a31a250e920157f15ee15cfc5bc
2013-02-18 17:27:14 +00:00
Jeff Peeler
0a37f56972 Change install scripts to use cinder
Fixes bug #1073164

Change-Id: Id483b028d19dbbc30984299120b87fd020f19903
Signed-off-by: Jeff Peeler <jpeeler@redhat.com>
2013-02-04 14:33:36 -05:00
Steven Hardy
55c90321b4 openstack/common : rebase to latest oslo
Rebased to latest oslo, now at 8837013, note a few interfaces
changed requiring a some tweaks to the heat code

Change-Id: I7dfc634b7c459edebca19dee522b396e3736aecc
Signed-off-by: Steven Hardy <shardy@redhat.com>
2013-01-18 15:31:45 +00:00
Zane Bitter
f531f6fb28 Get rid of unused imports
This cruft just tends to build up over time...

Change-Id: I61fd067b431aaa57164c7ff781c9cc8bab04bd4b
Signed-off-by: Zane Bitter <zbitter@redhat.com>
2012-12-13 16:04:30 +01:00
Jeff Peeler
4e99d4d0bb Switch to openstack style versioning
Bug 1078480

Change-Id: I32471acc16e7ca6f60672474c9bf70537ba76fd2
Signed-off-by: Jeff Peeler <jpeeler@redhat.com>
2012-12-08 02:24:03 +00:00
Steve Baker
93688df440 Do the same install_requires as other projects
This will pull in tools/pip-requires on devstack start

Change-Id: If93319c82a5e3499391e8624582929d4f1adc9ec
2012-12-05 14:14:48 +13:00
Steve Baker
7e94df10bb Install extras during pip install; fixes devstack
Change-Id: Ia1252d95fa7023d440b293245fe15d2c4ebfc047
2012-12-05 13:59:25 +13:00
Steven Hardy
6ae3ff0a4e Remove heat-metadata service
Remove heat-metadata service, since the last remaining function
(waitcondition handle notification) is now handled via the CFN
API

blueprint metsrv-remove
Signed-off-by: Steven Hardy <shardy@redhat.com>
Change-Id: Ie36c86ce86f6c47e8d9f8accf8ec17084fb8cffd
2012-11-30 08:45:02 +00:00
Steve Baker
f77c09c2a5 Rename heat client to heat-cfn.
This is to allow python-heatclient to eventually become the default heat
client.

Documentation in heat.wiki will be updated to refer to heat-cfn when this
change is pushed.

Change-Id: I2209c36adf41fa5d0df0caf9200f7fedbdd51805
2012-11-05 12:23:17 +13:00
Jeff Peeler
2e3bdd9510 Fix versioning code
Removed cruft from OpenStack common versioning code that was removed.
Added optional git SHA information if module is available. The
intent is to have the additional git revision reported only when FINAL
is set to False.

Change-Id: Iae94b84027e7428cd394726e07845d2bad631586
Signed-off-by: Jeff Peeler <jpeeler@redhat.com>
2012-10-09 17:05:54 +01:00
Zane Bitter
9e237f5a66 Add the beginnings of an OpenStack ReST API
So far only access to stacks (not resources and events) is implemented.

Change-Id: I9655e9441087ef60c06e67e2d6ae68ec4a3b2d11
Signed-off-by: Zane Bitter <zbitter@redhat.com>
2012-09-27 21:37:37 +02:00
Steven Dake
5208008db0 Add a Folsom specific heat-keystone-setup binary to bin
Fixes issue #253

Change-Id: Ie223c43c15ac806da393e3d532ef410526ac16ce
Signed-off-by: Steven Dake <sdake@redhat.com>
2012-09-26 10:11:07 -07:00
Zane Bitter
2f9a1310e3 Rename heat-api to heat-api-cfn
The previous heat-api is, in fact, a CloudFormation-compatible API. Rename
it to heat-api-cfn, analogous to how the EC2 API in Nova is named
nova-api-ec2.

Change-Id: I9759f10cee6a60cdc9cb917966eb9fb95a618f85
Signed-off-by: Zane Bitter <zbitter@redhat.com>
2012-09-06 16:11:24 +02:00
Steven Hardy
51dc63bb07 heat cli : initial heat-watch cloudwatch API client
Implements new client to demonstrate new Cloudwatch API

Currently only provides options for DescribeAlarms,
ListMetrics, PutMetricData and SetAlarmState

Signed-off-by: Steven Hardy <shardy@redhat.com>
Change-Id: I3963a07694cec9af96d9d7369cc7d18d629fcd2d
2012-08-31 18:27:48 +01:00
Steven Hardy
311092a294 heat API : Implement initial CloudWatch API
Initial AWS-compatible CloudWatch API implementation
Supports the following API actions:
- DescribeAlarms : describe alarm/watch details
- ListMetrics : List watch metric datapoints
- PutMetricData : Create metric datapoint
- SetAlarmState : temporarily set alarm state

Skeleton implementation of all other TODO actions which
returns HeatAPINotImplementedError.

Only basic filtering parameters supported at this time.

Signed-off-by: Steven Hardy <shardy@redhat.com>
Change-Id: I8628854a135fff07b675e85150ea0b50184ed2e1
2012-08-31 18:27:48 +01:00
Steven Dake
5d5d8ba5dd Update openstack-common in prep for pulling in common.rpc
Change-Id: Ib3444d97967c807cb96175ce23d4b670a028e9a7
Signed-off-by: Steven Dake <sdake@redhat.com>
2012-07-13 16:17:36 -07:00
Steven Hardy
9d0a22f92b heat : add heat-boto test client
Add initial version of the heat cli tool which uses boto
- revised following review comments to remove jeos/cfn paths
ref #92

Change-Id: I61b5815b250f3b01d33844ff46dd1612000d51fd
Signed-off-by: Steven Hardy <shardy@redhat.com>
2012-07-04 17:43:35 +01:00
Steven Dake
63cdd18d50 We don't need to be installable via PIP so remove build and install deps
setup.py is installing dependencies via pip, making a mess of the system.

Instead if someone wants to install, expect they will have openstack
installed already, which should contain the necessary dependencies.

Change-Id: I8ff82aad1b85bd4e1acc454b04c5fcec2adcadbe
Signed-off-by: Steven Dake <sdake@redhat.com>
2012-06-28 11:38:27 -07:00
Monty Taylor
2fc479c684 Align with project standards.
Rebased from: Change-Id: Ifc9fff4f88dfaebe97b7caba4d603d23c645e346

Reviewed-by: Steven Dake <sdake@redhat.com>
2012-05-21 16:48:34 -07:00
Tomas Sedovic
4fa77a658c Add skeleton structure for the metadata server 2012-04-27 18:40:49 +02:00
Steven Dake
724b5f3902 Make heat-db-setup generic enough to run on RPM or DEB distributions
Signed-off-by: Steven Dake <sdake@redhat.com>
2012-04-24 15:29:30 -07:00
Steven Hardy
dfeb65185b heat cli : Add bash_completion.d entry for heat
issue #87 Adds basic bash smart-complete script for heat to bash_completion.d

Signed-off-by: Steven Hardy <shardy@redhat.com>
2012-04-20 21:27:06 +01:00
Steven Dake
f04ba87976 Set proper author and mailing list in setup.py
Signed-off-by: Steven Dake <sdake@redhat.com>
2012-04-20 10:36:18 -07:00
Chris Alfonso
4018da0186 Add a heat database to store templates, state, and events
Fixes #39
2012-04-02 06:44:10 -04:00
Angus Salkeld
d35f4ac648 Install /var/lib/heat directory
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-03-28 11:41:19 +11:00
Chris Alfonso
33c4b5f762 Adding rpm packaging for heat packages 2012-03-21 07:45:18 -04:00
Angus Salkeld
6161c7aa85 Start separating the api and the implementation.
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-03-20 12:58:54 +11:00
Angus Salkeld
c1e3fea7a6 Install config files properly.
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-03-20 11:09:14 +11:00
Angus Salkeld
2fde25bc11 Remove openstack copy right assignment as we have not done that yet.
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-03-15 09:36:51 +11:00
Angus Salkeld
41d167c560 Add setup.py and friends
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-03-14 09:25:54 +11:00