Commit Graph

38 Commits

Author SHA1 Message Date
Ghanshyam Mann fddcbf1365 Update python classifier in setup.cfg
As per the current release tested runtime, we test
python version from 3.8 to 3.11 so updating the
same in python classifier in setup.cfg

Change-Id: Ie93ba0a3b817944b9ca801590c02d3900c23cde6
2024-01-11 16:18:47 -08:00
Ghanshyam a0c3ca8ce1 Revert "Moves supported python runtimes from version 3.8 to 3.10"
This reverts commit 6abf69e194.

Keeping Python 3.10 in setup.cfg classifier. 

Reason for revert:

Needed-By: https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/882175

TC has been discussing about re-adding the python 3.8
testing in current master 2023.2 release testing.

- https://meetings.opendev.org/meetings/tc/2023/tc.2023-04-25-18.00.log.html#l-191
- https://lists.openstack.org/pipermail/openstack-discuss/2023-April/033469.html

While governance changes are under review, TC agreed to add py3.8 testing
so that we do not see more project/lib dropping python 3.8 and make them
uninstalable on python 3.8

- https://meetings.opendev.org/meetings/tc/2023/tc.2023-05-02-18.00.log.html#l-17
- https://review.opendev.org/c/openstack/governance/+/882165

Also adding py3.8 testing back in job https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/882175

Change-Id: Ib5b901f245cb65bbd9deee6e030ddb96fc7b8015
2023-05-04 20:19:08 +00:00
Hervé Beraud 6abf69e194 Moves supported python runtimes from version 3.8 to 3.10
Within 2023.2 python version 3.9 and 3.10 are the
supported python runtimes [1].
[1] https: //review.opendev.org/c/openstack/governance/+/872232

Change-Id: Ibabaaf286ca4ce942908086e490929900ccf7c95
2023-04-10 01:50:19 +00:00
Hervé Beraud cdbf6e7a91 Drop python3.6/3.7 support in testing runtime
In Zed cycle testing runtime, we are targetting to drop the
python 3.6/3.7 support, project started adding python 3.8 as minimum,

example nova:
- 56b5aed08c/setup.cfg (L13)

Change-Id: I46e2456b9931d215c97b15ac97b47a6977282584
2022-05-05 16:13:06 +02:00
dengzhaosen 27d159b4d6 Update python testing classifier
Yoga testing runtime[1] has been updated to add py39
testing as voting. Unit tests update are handled by the
job template change in openstack-zuul-job

- https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/820286

this commit updates the classifier in setup.cfg file.

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

Change-Id: Idab66b3046b54d4e963d987b528347262fb9aa4d
2021-12-21 16:46:05 +08:00
songwenping dc9fe87b73 setup.cfg: Replace dashes with underscores
Setuptools v54.1.0 introduces a warning that the use of dash-separated
options in 'setup.cfg' will not be supported in a future version [1].
Get ahead of the issue by replacing the dashes with underscores. Without
this, we see 'UserWarning' messages like the following on new enough
versions of setuptools:

  UserWarning: Usage of dash-separated 'description-file' will not be
  supported in future versions. Please use the underscore name
  'description_file' instead

[1] https://github.com/pypa/setuptools/commit/a2e9ae4cb

Change-Id: I19543673ddf80d93e28f5503b7672f64a6cecf2a
2021-04-30 06:37:36 +00:00
melissaml 305b06c758 Remove translation sections from setup.cfg
These translation sections are not needed anymore, Babel can
generate translation files without them.

Change-Id: I2930c648a9b5a9ae462e21257c412dfbdb66e269
2020-05-15 11:16:23 +08:00
Sean McGinnis 733aadb0db
Add py38 package metadata
Now that we are running the Victoria tests that include a
voting py38, we can now add the Python 3.8 metadata to the
package information to reflect that support.

Change-Id: If532bc40305ccdb0f542acca2835fa6551ba21cf
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-04-24 08:23:12 -05:00
Hervé Beraud 37ed8cb5f8 Stop to build universal wheel
Remove forgotten bdist wheel config

Change-Id: I0c06914b9cdf57924dbb3a961d226019e7cff5eb
2020-02-03 18:40:41 +01:00
Stephen Finucane 2dd526d1ed Drop python 2.7 support and testing
Ussuri Communtiy-wide goal:
https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html

Change-Id: If6d6357501dfdff5a5edb53f24104e216607ea00
Sem-Ver: api-break
2020-01-30 16:15:33 +01:00
pengyuesheng 3ff497d1cf Add Python 3 Train unit tests
See the Train python3-updates goal document for details:
https://governance.openstack.org/tc/goals/train/python3-updates.html

Change-Id: Iae43c960b980ba3c1aa83be8844ae2f873f9c186
2019-08-14 16:11:51 +00:00
Ghanshyam Mann 6742d1f1c1 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: Ib110f4a3c9475d2655dbf67d28474f54928b142a
2019-04-15 18:28:07 +00:00
ZhongShengping dde54e7568 Update mailinglist from dev to discuss
openstack-dev was decomissioned this night in https://review.openstack.org/621258
Update openstack-dev to openstack-discuss

Change-Id: Ia42def2fb8ccb5dc91ca0403511e2e30fc9081ab
2018-12-05 09:38:26 +08:00
Hervé Beraud 5cd02483c6 Always build universal wheels
All of our projects are pure python, so we can build
universal wheels by default.

Change-Id: I173a1d5b4f204fcda2e92fd751228dbc79009b8c
2018-10-09 15:57:10 +02:00
ZhongShengping fa12452bbd Follow the new PTI for document build
For compliance with the Project Testing Interface as described in:

https://governance.openstack.org/tc/reference/project-testing-interface.html

For more detials information, please refer to:

http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html

Change-Id: I10537cf02d83f127b6932fa3f427043fb267d8b1
Co-Authored-By: Stephen Finucane <sfinucan@redhat.com>
2018-08-10 16:01:51 -04:00
ChangBo Guo(gcb) c7d0cb9288 Update URLs according to document migration
* Update setup.cfg/README.rst with right document links
* Update HACKING.rst with latest link for hacking

Change-Id: I0ff110b56fc86aa144d2ad67af5f0f09e75ad561
2017-07-11 22:46:53 +08:00
OpenStack Proposal Bot f9a0828738 Updated from global requirements
Change-Id: I82bd97fb8d02da79e95fb1cb2a437d387f78dd7c
2017-04-12 04:20:05 +00:00
Doug Hellmann 57c64b1287 add an extras dependency for systemd
Express the dependency on the systemd library through a setuptools
"extras" list.

Depends-On: I8d1cfeffafce810fb30db24d55aea43759291aad
Change-Id: I17cbc7fad84dd8ad9f420d4225d4c5ac059c9ad8
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-04-10 09:44:50 +00:00
Stephen Finucane df56890a3c Use Sphinx 1.5 warning-is-error
With pbr 2.0 and Sphinx 1.5, the setting for treat sphinx warnings as
errors is setting warning-is-error in build_sphinx section. Migrate
the setting from the old warnerrors one.

Change-Id: I8887825011e91701638d207021f875ec74061ba8
2017-03-23 09:10:47 +00:00
Eric Brown aed513015c Remove references to Python 3.4
Now that there exists only a gate job for Python 3.5 and not 3.4,
we should remove those references to the 3.4 that is untested.

Change-Id: I5b6a963a9fb0ee7c77ed28210bbf529ee5499334
2017-01-17 10:27:47 -08:00
Joshua Harlow 30f2074a37 Add a json reformatter command
It would save a lot of space to only write JSON logs, rather than also
write formatted logs. This utility turns the former into the latter
so we can do this without removing the ability of a sysadmin to read
logs in a sensible format.

You can either provide a filename or pipe via stdin. `tail -f` works
as stdin. Each record must occupy precisely one line.

Change-Id: I334e1e52d442f82bf68da9e581ce44bc3465208b
Co-Authored-By: Alexis Lee <lxsli@hpe.com>
2016-10-07 09:28:21 +01:00
avnish 238a14dfde modify the home-page info with the developer documentation
Change-Id: Iaabcb82cf9d8340e82fc0ea94ba5cecca1f65520
2016-09-20 14:35:30 +05:30
ChangBo Guo(gcb) 3ae0e8732c Add Python 3.5 classifier and venv
Now that there is a passing gate job, we can claim support for
Python 3.5 in the classifier. This patch also adds the convenience
py35 venv.

Change-Id: I4be37bf1a97bf76a2302a4f16999e6464665dc21
2016-07-12 15:46:54 +08:00
OpenStack Proposal Bot 070cc7ae8d Updated from global requirements
Change-Id: I1b13196ec6b8a65d081ea6d8b4a1ff0a166a798f
2016-06-03 18:17:59 +00:00
OpenStack Proposal Bot 225828f690 Updated from global requirements
Change-Id: Id28e6727483257ec8ff5b536efa13a9892f1a958
2016-04-08 00:32:05 +00:00
Akihiro Motoki 64dc9f8456 Update translation setup
Follow new infra setup for translations, see spec
http://specs.openstack.org/openstack-infra/infra-specs/specs/translation_setup.html
for full details.

This basically renames oslo.log/locale/oslo.log.pot to
oslo_log/locale/oslo_log.pot.
For this we need to update setup.cfg.

Update also domain name in _i18n.py.

Change-Id: Idde80095739bbb00ce982748c312161dd861b0aa
2016-01-30 00:24:55 +09:00
OpenStack Proposal Bot bb46ae8d48 Updated from global requirements
Change-Id: I1a6663c02e8efc7c3d32a9336684a78dd5e8d628
2016-01-16 03:31:13 +00:00
ChangBo Guo(gcb) f6ee2b7117 Remove python 2.6 classifier
Change-Id: If00d27812e6385818ccffb7ce50f4a7de34d0d55
2015-11-17 14:35:19 +08:00
Jenkins 9a63235147 Merge "Fix the home-page value in setup.cfg with openstack.org" 2015-09-25 12:13:00 +00:00
Mark Doffman 362f329bcf Add optional 'fixture' dependencies.
Add extra 'fixture' section so that projects needing to use
oslo_log.fixture can add 'oslo.log [fixture]' to their
requirements to install the fixture dependencies

Closes-Bug: #1493976
Change-Id: I67f3f59c50627a41b672928d037a7bd9997caa11
2015-09-22 13:03:10 -05:00
venkatamahesh 84828a2014 Fix the home-page value in setup.cfg with openstack.org
the current value of home-page is launchpad url
which is having a line of information about "oslo", but to
maintain same as all other projects, I had modified

Change-Id: Icc81cd85536e2d341a3334b332a8e1ebc695ae76
2015-09-16 18:22:06 +00:00
Davanum Srinivas cc713ab5b1 Advertise support for Python3.4 / Remove support for Python 3.3
Change-Id: Ieed553003351e754a761361faee40c9efddc35b7
2015-05-10 19:18:06 -04:00
Doug Hellmann 1649c6b45f Correct the translation domain for loading messages
Change-Id: If7fa8fd1915378bda3fc6e361049c2d90cdec8af
2014-12-22 11:24:10 -05:00
Doug Hellmann a5b9c2eccf Move files out of the namespace package
Move oslo.log to oslo_log. Since this library has not been released, we
do not need to retain the old interface for compatibility.

bp/drop-namespace-packages

Change-Id: Id8e2312a72af171918fa4d40117ec652018a37bf
2014-12-17 21:43:41 -05:00
Davanum Srinivas 54fb3269c0 Add oslo.config.opts entry_points in setup.cfg
oslo-config-generator relies on these entry_points listed
in setup.cfg to add options to the generated sample conf
files in different projects. So we should expose options
in oslo.log.

Closes-Bug: #1391742
Change-Id: I7c339484f17c4067ad7c82eb7f7208ef6d8be417
2014-11-18 06:36:58 -05:00
Davanum Srinivas 6246be9e12 Support building wheels (PEP-427)
Universal is used to identify pure-Python module(by bdist_wheel). For
these, it is sufficient to build a wheel with _any_ Python ABI version
and publish that to PyPI (by whatever means).

Change-Id: I41969e5bcc5873f81ab306935327622cd770a629
2014-10-07 13:00:04 +00:00
Davanum Srinivas 96b532f776 Get py27 amd pep8 to work 2014-08-25 21:24:50 -04:00
Davanum Srinivas 81e3337d77 exported from oslo-incubator by graduate.sh 2014-08-25 14:42:22 -04:00