Commit Graph

20 Commits

Author SHA1 Message Date
wangzihao ca325683da Add py38 in setup metadata
Change-Id: I6daeb23b9a057dede17a1756fa70cf89c7a57123
2020-11-20 17:24:46 +08:00
Andreas Jaeger 7b6b0535b0 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
- Update classifiers
- Update requirements, no need for python_version anymore

Change-Id: Ic79312278978ecb5d93386fa9f4261be037611ed
2020-04-05 09:57:16 +02:00
Ghanshyam Mann fc8c53f221 [ussuri][goal] Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in ussuri cycle.

monasca-notification is ready with python 3 and ok to drop the
python 2.7 support.

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

Depends-On: https://review.opendev.org/#/c/693631/
Change-Id: Ic69f559bc0bcd791fa33a978cd27cf1de10dba2d
2019-11-16 16:58:11 +00:00
prankul 99ee506665 Switch python3 versions of test jobs to match Train PTI
In Train, we will use python 3.6 and 3.7 for python3 runtime
in our gate jobs [1]. This commit also adds python 3.7.

[1] https://governance.openstack.org/tc/reference/runtimes/train.html

Change-Id: If04a02179d37f5d088881d5d960b3e44b90e1023
2019-06-28 11:06:36 +00:00
Zuul a4f1c9b9ad Merge "Dropping the py35 testing" 2019-04-17 09:02:12 +00:00
Ghanshyam Mann 2d129b3499 Dropping the py35 testing
All the integration testing has been moved to
Bionic now[1] and py3.5 is not tested runtime for
Train or stable/stein[2].

As per below ML thread, we are good to drop the py35
testing now:
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/005097.html

[1] http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004647.html
[2]
https://governance.openstack.org/tc/reference/runtimes/stein.html
https://governance.openstack.org/tc/reference/runtimes/train.html

Change-Id: I579dea229152bde1178f06eab75bc19a44c474fd
2019-04-14 23:49:39 +00:00
Doug Szumski 77328b74f4 Add Python Jira module to requirements
The Jira module is now available in global-requirements:
https://review.openstack.org/#/c/562151/

Since the Jira module is now loaded by default, it always
needs to be installed. If a future change prevents loading
of the Jira module unless the Jira plugin is enabled then
this change can be reverted.

Change-Id: I3fea82e681cd49aab5cd6afc29c60302af7b63b7
Story: 2005400
Task: 30394
2019-04-12 11:33:13 +01:00
Adrian Czarnecki 4ffa8dee1d Update claassifiers in setup.cfg
Story: 2000975
Task: 28479
Change-Id: Ibff09456a2dcedf81f3f3799478730e8d958c771
2018-12-12 14:12:11 +01:00
melissaml ea9061d9b9 Change openstack-dev to openstack-discuss
Mailinglists have been updated. Openstack-discuss replaces openstack-dev.

Change-Id: Idb178424305c9a7e85c528a7b4d066ca30ec9bee
2018-12-05 01:32:41 +08:00
Deepak b52bbf5d20 Changed author and author-email
Changed the author to OpenStack and author-email to
openstack-dev@lists.openstack.org

Change-Id: I3beb835763c6399ccd1c47c980908dc488ee0b31
2018-08-03 14:22:07 +02:00
Witold Bedyk 20d6557744 Convert README to reStructuredText
* Add PyPI validation check for README.rst [1]
* Add docutils to test-requirements.txt
* Add lower bound for jira

[1] https://docs.openstack.org/project-team-guide/project-setup/python.html#running-the-style-checks

Change-Id: I5d90ccb1b919c4bab66b468a8ddb714ffc5f1635
Story: 2001980
Task: 20013
2018-06-19 15:19:00 +02:00
Witold Bedyk 9a6edb40a5 Fix lower-constraints job
* update requirements from global-requirements
* move common commands to [testenv]
* bump monasca-statsd to 1.4.0 which is the first version with Python 3
  support
* add funcsigs, Jinja2 and jira to lower-constraints.txt

Depends-On: https://review.openstack.org/562151
Change-Id: I427dd136b385f8784e6d16b174dcadf3ffa555a7
2018-04-18 10:53:31 +02:00
Andreas Jaeger 99796ebb7f Update requirements manually
The global requirments sync for this repo fails since it lists
packages that are not in the global list. Manually sync
requirements.

Failure log from requirements sync:
http://logs.openstack.org/d8/d89aad257d43fe02e42e44b2a0187dbd9f505c36/post/propose-update-requirements/15a7777/job-output.txt.gz#_2018-01-31_06_57_19_908947

Errors are:
'jira' is not in global-requirements.txt or blacklist.txt

Change-Id: If85ee1bf750d310f7a3d2f52c6fd224a9ed822a2
2018-01-31 09:16:04 +01:00
Tomasz Trębski e1a9b9a96a Integrate with oslo.conf and oslo.log
Change upgrades the monasca-notification to leverage
the capabilities of both oslo.log and oslo.conf:

- configuration of logging separated from application settings
- ability to enforce data types for application settings
- ability to use oslo.config-generator capabilities
- automatic configuration parsing done by oslo.cfg

That change will bring it closer to the rest of monasca
components where such transition has happened already.
However, in the rest of monasca, oslo.cfg was partially
or fully implemented whereas monasca-notification has
been relying on YAML based configuration file.

Therefore backward compatybility for such format will
be kept for now.

Story: 2000959
Task: 4093
Task: 4092

Change-Id: Ia75c3b60d0fada854178f21ca5ccb9e6a880f37f
2017-10-20 09:32:11 +02:00
Haruki Yamanashi 46a36adde0 Add unit test for Jira
Add unit test for Jira notifier which achieves 100% coverage.

Change-Id: Iae22a35a5bec5f173c3fae60df393d55b805e0fb
2017-07-19 16:58:24 +09:00
Tomasz Trębski 8c504efe04 Remove monasca_notification_offsets
monasca_notification_offsets.py is mentioned in
setup.cfg and therefore "installed" in the target
environment along with the entire monasca-notification.
However that file depends on the module that is no longer
part of monasca-notification hence this is a technical-debt
that should be lowered by removing the file.

Change-Id: I2e138132cc25b01691e149e9e4ba6aaca5a55a39
2017-01-13 09:35:56 +01:00
Doug Hellmann 8e835600d2 add a one-line summary to the package metadata
This summary is used on PyPI and when building release announcement
emails.

Change-Id: I778d7efa5415c8b499d6994ed4108d2b3a2faee7
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2016-12-05 10:51:45 -05:00
Tim Kuhlman 224e654f4c Move to pbr based build
Change-Id: I36cc5d862c4364937450ad8ae4fa20a1a709781f
2014-07-29 16:07:42 -06:00
Tim Kuhlman 5dfd9374e9 Added wheel settings setup.cfg so the publish to pypi works correctly
Change-Id: I4bcf8c5649f8700be767e36967196a11c0f27f15
2014-07-22 14:31:21 -06:00
Tim Kuhlman 06d7913248 Changes after running the hacking open stack code checks, except line length. 2014-03-17 16:29:09 -06:00