Commit Graph

18 Commits

Author SHA1 Message Date
Takashi Kajinami 249b795c8c Drop direct execution of collect.py
Now we generate the console script using setuptools, and we don't
expect users may directly execute the *.py file.

Change-Id: Ida036f138d8e7ef64ea0f8f7c83deeeb71dc4f5b
2024-01-29 23:56:44 +09:00
Takashi Kajinami 7d8f9e8432 Remove unnecessary setup_hook
This is no longer needed.

Also, the options in egg_info section are not necessary and can be
removed. Especially, tag_svn_revision was already removed[1].

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

Change-Id: Iad15ae3f3004dce4570798097ea9bd95a1799060
2023-12-20 14:09:36 +09:00
Takashi Kajinami b09730422e Remove support for Python < 3.8
... to be aligned with the global tested runtimes.

Change-Id: I367a59ad11c3d912fc522841e9e3e8e881333de3
2023-11-27 21:12:22 +09:00
Takashi Kajinami 76173d84d6 Update python job template
... and supported python runtime versions.

This also makes some changes in tox.ini to adapt to tox 4.

Change-Id: Icc6d7ced31b2e8bd80c6dd52ca54437e5aa35940
2023-10-18 15:00:13 +09:00
yangyawei 537440c66a 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: I7c495db4a467a07c648c052da4cb657e83c92e46
2021-05-14 16:10:54 +08:00
Wes Hayutin 6dd0e536b9 Stop testing python2.7
Train was the last release supporting python2. Let's rip the bandaid
off.

Also includes remove tripleo jobs from os-collect-config master

Partial-Bug: #1879361
Co-Authored-By: xuanyandong <xuanyandong@inspur.com>
Co-Authored-By: Alex Schultz <aschultz@redhat.com>
Change-Id: I46c79ce87f474a986f1983fa9164e6e4cbeaf8de
2020-05-19 08:05:35 -06:00
Corey Bryant 8cda3f6cc0 Add Python 3 Train unit tests
This is a mechanically generated patch to ensure unit testing is in place
for all of the Tested Runtimes for Train.

See the Train python3-updates goal document for details:
https://governance.openstack.org/tc/goals/train/python3-updates.html

Change-Id: I46590ec9b1fb9054388e3359d1d02217f396fbf6
Story: #2005924
Task: #34253
2019-07-12 16:24:08 -04:00
caoyuan fb5393461f Replace git.openstack.org URLs with opendev.org URLs
Change-Id: I4e23b8ae531bf103a945e0e14610cde0c354a4ab
2019-04-26 18:02:45 +08:00
malei 0bb4026275 Change openstack-dev to openstack-discuss
Mailinglists have been updated. Openstack-discuss replaces openstack-dev.

Change-Id: I9ed3f7573f66259ae0c24d52cb257c21faa1512b
2018-12-05 00:06:06 +08:00
Roman Podoliaka 4a1487ec58 Revert "Support building wheels (PEP-427)"
This reverts commit 9d460a44e4.

The patch being reverted should not have been merged, because
setting universal to True is used to claim in-place python 2/3
compatibility in Wheel packages.

We don't support python 3 yet, so we must not claim the opposite
here (as this would harm end users as soon as we start uploading
Wheel packages to PyPi).

Please see the following links for details:
 - http://pythonwheels.com/
 - http://lists.openstack.org/pipermail/openstack-dev/2013-November/020059.html

Change-Id: I73106d2a1752fa8ee11694c6d9c123a953e6c462
2013-11-29 12:56:17 +02:00
Sascha Peilicke 9d460a44e4 Support building wheels (PEP-427)
With that, building and uploading wheels to PyPI is only one "python
setup.py bdist_wheel" away.

Change-Id: I78af0cc8661d2ac8107af462a39bf8b9f378f94a
2013-11-19 10:23:36 +01:00
Monty Taylor efe1fa256b Replace github references with git.o.o
Change-Id: I0c854540b93ff1cf17cac8c252b8db0eef2a87ec
2013-09-18 07:50:44 -05:00
Monty Taylor 3ddfcdbb2e Update stackforge references to openstack
Change-Id: Ibd777b5d9dbb19970aec537fe0145d97287d31f2
2013-08-17 22:59:30 -04:00
Monty Taylor b041fb363e Ensure that README file makes it into the tarball
setup.cfg depends on the README file for its long description, so if
it's not in the source tarball, the build will bomb out. README.rst is an
automatically grokked name of a file for python and gets included
automatically. While we're dealing with this, add a MANIFEST.in to
ensure that AUTHORS and ChangeLog get installed too.

Change-Id: Id59fa5a6fecc179a80710ba8a5dc898fb713b1cf
2013-07-07 11:56:08 -04:00
Clint Byrum 05b667a977 Splitting os-collect-config into its own repo. 2013-06-26 12:40:25 -07:00
Clint Byrum 5841dd6e24 Create os-collect-config entry point.
Tool to grab config from known data sources. First data source is
The EC2 metadata service.

Change-Id: I33f8c1a96dc20486836055bb60d87f544aac2a62
2013-06-17 09:56:27 -07:00
Robert Collins ba51abbdf1 Rename to os-apply-config.
The name os-config-applier was too confusing given os-refresh-config as the
partner program, so we've decided to rename to os-apply-config.

To aid migration the old command name and default template path are still
supported.

Change-Id: I39725595275e7b4375ac4fda52e6a14b7071f7e9
2013-06-14 15:30:14 +12:00
Monty Taylor 49c060a313 Migrate to pbr and testr. 2013-03-28 02:37:45 +01:00