Commit Graph

59 Commits

Author SHA1 Message Date
Takashi Kajinami 92bc025c7b Retire heat-cfnclient: Remove Project Content
Depeneds-on: https://review.opendev.org/c/openstack/project-config/+/905818
Change-Id: Ib61f61e6080c723281462c72a9ca5e17b042fea6
2024-01-17 12:55:43 +09:00
Zuul d54487b0a8 Merge "Use py3 as the default runtime for tox" 2023-09-14 04:01:34 +00:00
Takashi Kajinami 0077ca8101 Adapt to tox 4
skipdist=True is know to be broken with tox 4. Let's remove it.

Change-Id: Id0d8c5acb4dd9fb6060cd3f36621edd9bfc47988
2023-09-14 12:20:19 +09:00
Zuul e225de618d Merge "Add Python 3.9 to supported runtimes" 2022-08-07 23:13:04 +00:00
Zuul 601d65dd76 Merge "Remove six from requirements" 2022-07-19 08:25:06 +00:00
Zuul 9f5a34c60d Merge "Switch to unversioned job template" 2022-07-19 08:25:05 +00:00
Zuul 67a1922519 Merge "Drop MANIFEST.in - it's not needed by pbr" 2022-07-11 02:52:05 +00:00
nizam 30ba3d1b56 Drop MANIFEST.in - it's not needed by pbr
heat-cfnclient already uses PBR:-
setuptools.setup(
    setup_requires=['pbr'],
    pbr=True)

This patch removes `MANIFEST.in` file as pbr generates a
sensible manifest from git files and some standard files
and it removes the need for an explicit `MANIFEST.in` file.

Change-Id: Ifdee7c1353ca1179b29e2826505963398eeb1bfe
2022-07-06 01:09:18 +00:00
liyou01 5d7cdf4bf7 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

Change-Id: Icf0ca37faebd89ace8fdc31d97f3496917c0ce2b
2022-06-22 03:13:02 +09:00
Takashi Kajinami eefac91464 Add Python 3.9 to supported runtimes
... because it has been part of tested runtimes since Yoga.

Change-Id: If10a3612450414ce9c9c7f6fd4dc7830b82cd6d2
2022-06-22 02:41:27 +09:00
Takashi Kajinami 4c237a531c Remove six from requirements
... because the library is not actually used.

Change-Id: I7465d1ef662b98335a596477e55237e1548104ba
2022-06-22 02:40:52 +09:00
Takashi Kajinami 5ac11d59ff Switch to unversioned job template
... because the heat-cfnclient repo follows the independent release
model.

Change-Id: I97ce6ea4bae939060fefd63c73feba9f1dfdea39
2022-06-22 02:40:46 +09:00
HeroicHitesh 20ecaf34bb Migrate from testr to stestr
* Replace .testr.conf by .stestr.conf for migration and update
  .gitignore and test-requirements.txt files accordingly
* Use py3 as the default runtime for tox and 3.18.0 as the
  minversion for tox
* Add a new job, openstack-cover-jobs, to run the coverage in Zuul
* Create cover environment in tox and make relevant changes
  in .gitignore

Signed-off-by: HeroicHitesh <email.hiteshkumar@gmail.com>
Change-Id: Ib4f5ffe86221b0c97c6839f6b69ddae17b2b47c1
2021-06-01 10:47:12 +08:00
Zuul 27f9011d4c Merge "Switch to xena job template" 2021-06-01 02:36:19 +00:00
Zuul d08bb1077f Merge "Remove six" 2021-06-01 02:29:00 +00:00
Zuul 0822dfdafd Merge "Remove mox from test-requirements" 2021-06-01 02:28:09 +00:00
Zuul 597fc6aeb3 Merge "Remove babel.cfg" 2021-06-01 02:26:02 +00:00
Zuul af9941ef12 Merge "Fix Storyboard link to use openstack/heat" 2021-06-01 02:25:56 +00:00
Zuul aaa023b484 Merge "Change openstack-dev to openstack-discuss" 2021-06-01 02:24:28 +00:00
Sean McGinnis e6314cdcdc Switch to xena job template
This switched over to run the expected xena jobs. Also updates the
package metadata to reflect that py3.8 is now supported.

Change-Id: I06dc4292de1c08d554fda0340dd3dd14fd1a123b
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2021-06-01 02:21:06 +00:00
ricolin 10d80e5947 Fix Storyboard link to use openstack/heat
For sub-projects with no specific team to manage, we use directly
https://storyboard.openstack.org/#!/project/openstack/heat instead of
openstack/heat-cfnclient(Which migrated from Launchpad).

Change-Id: Ibbb1d0e3eaef75f0a29998132a252960ba5f1333
2021-06-01 10:16:41 +08:00
Ghanshyam Mann 4d0c493595 [ussuri][goal] Update contributor documentation
This patch updates/adds the contributor documentation to follow
the guidelines of the Ussuri cycle community goal[1].

[1] https://governance.openstack.org/tc/goals/selected/ussuri/project-ptl-and-contrib-docs.html

Story: #2007236
Task: #38524
Change-Id: I4781a7a12adb26481824148f73229c2980d3b8d0
2021-05-31 20:31:52 +00:00
songwenping df8aca43dd Use py3 as the default runtime for tox
Moving on py3 as the default runtime for tox to avoid to update this at
each new cycle.

Wallaby support officially the following runtimes [1]:
- Python 3.6
- Python 3.8

During Victoria Python 3.7 was used as the default runtime [2] however this
version isn't longer officially supported.

[1] https://governance.openstack.org/tc/reference/runtimes/wallaby.html#python-runtimes-for-wallaby
[2] https://governance.openstack.org/tc/reference/runtimes/victoria.html#python-runtimes-for-victoria

Change-Id: I04b01ff964b94064401aba960c5884cf7ed5a88c
2021-04-20 03:01:31 +00:00
likui ad2f83b52b Remove six
Replace the following items with Python 3 style code

Change-Id: I9e0a23816aa5e66132217b869eb23682212840f5
2020-11-26 15:28:08 +08:00
likui c6660a2510 Remove babel.cfg
Remove babel.cfg and the translation bits from setup.cfg, those are not
needed anymore.

Change-Id: I4bf1caf28b87ec95e221fb2c084159d10468f5bb
2020-11-25 16:43:35 +08:00
Sean McGinnis 819cf87b64
Remove mox from test-requirements
The mox library (not even mox3) was used with py27, and is not actually
being used anymore. This cleans up the test-requirements file so we can
remove mox from global requirements.

Change-Id: I67beef36094e514485e77a810312fecb2b7e6c9e
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-06-08 09:44:45 -05:00
Ghanshyam Mann 48f12a2f38 Fix hacking min version to 3.0.1
flake8 new release 3.8.0 added new checks and gate pep8
job start failing. hacking 3.0.1 fix the pinning of flake8 to
avoid bringing in a new version with new checks.

Though it is fixed in latest hacking but 2.0 and 3.0 has cap for
flake8 as <4.0.0 which mean flake8 new version 3.9.0 can also
break the pep8 job if new check are added.

To avoid similar gate break in future, we need to bump the hacking min
version.

- http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014828.html

Change-Id: I6e896438e33aaa9f5f16f69e933816938cbe19e3
2020-05-12 19:25:34 -05:00
Andreas Jaeger 69f98e0fb8 Update hacking for Python3
The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.

Fix:
E402 module level import not at top of file
E117 over-indented

Blacklist:
W504 line break after binary operator
E731 do not assign a lambda expression, use a def

Change-Id: I501dafd6fe238a99f394a427d456317517292aa5
2020-03-31 06:50:24 +00:00
Andreas Jaeger 4735fbbb4f [ussuri][goal] Drop python 2.7 support and testing
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

Change-Id: Ic8ebb5982135de079572cca300799a0d3c025ef3
2020-02-04 20:22:41 +01:00
Corey Bryant acacf9cec9 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: I11b8c0cd89ea8361e6ee67576a84bc68b5e5d679
Story: #2005924
Task: #34209
2019-06-24 10:31:08 -04:00
OpenDev Sysadmins 77ee6716fc OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:29:14 +00:00
qingszhao 1a33c5d860 Change openstack-dev to openstack-discuss
Mailinglists have been updated. Openstack-discuss replaces openstack-dev.

Change-Id: Ifa0f6fe92cb984ebd5145196ce27db823359662e
2018-12-04 13:11:33 +00:00
Doug Hellmann 780246248f add python 3.6 unit test job
This is a mechanically generated patch to add a unit test job running
under Python 3.6 as part of the python3-first goal.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: I89feb8401b5c11c96080a49c6d642468f92a182f
Story: #2002586
Task: #24298
2018-08-29 12:12:56 -04:00
Zane Bitter 47bd699e45 Get the tests working under Python 3
Fix non-py3k-compatible syntax and add a Python 3.5 test job.

Change-Id: I33195c70d134c004bdc21fbfb3d30f66c2deeb4e
Story: #2002586
Task: #24298
2018-08-29 12:12:01 -04:00
Doug Hellmann 20e3165c1d import zuul job settings from project-config
This is a mechanically generated patch to complete step 1 of moving
the zuul job settings out of project-config and into each project
repository.

Because there will be a separate patch on each branch, the branch
specifiers for branch-specific jobs have been removed.

Because this patch is generated by a script, there may be some
cosmetic changes to the layout of the YAML file(s) as the contents are
normalized.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: Ibceb00b562bbd7fa4b193283d490318c323467fa
Story: #2002586
Task: #24298
2018-08-28 17:17:58 -04:00
Matthew Thode eda33b0b06
remove pycrypto from requirements.txt
It's not imported anywhere I can see.
Partial-Bug: #1749574

Change-Id: I1f1fcb06d4c3a9a28d899efbf0b4738fe17168cb
2018-05-15 12:03:41 -05:00
Cao Xuan Hoang 32555c34a0 Remove support for py26
Python 2.6 is not supported from Mitaka, as per Infra.
This patch removes the support for the same.

Change-Id: I966be07c8c7117d39182753b14c1c500c14cdf28
2017-01-23 15:18:34 +07:00
Cao Xuan Hoang 39a1840da6 Clean imports in code
This patch set modifies lines which are importing objects
instead of modules. As per openstack import guide lines, user should
import modules in a file not objects.

http://docs.openstack.org/developer/hacking/#imports

Change-Id: I2c0404f3137505deff935c91df0da40c3c890954
2016-11-17 10:24:43 +07:00
Cao Xuan Hoang f19a89df9d Remove logging import unused
This patch removes logging import unused in
heat_cfnclient/common/utils.py

Change-Id: Ifded64704235422b25e9a2410669d42d604ac7f1
2016-11-15 16:18:47 +07:00
rabi 8c0fdb18fc Remove all remaining oslo-incubator modules
This removes all remaining oslo incubator modules.

Change-Id: Id61d415cfc196964a5850e0339fa6cd9d9426cd7
2016-11-11 08:42:27 +05:30
Michael Still 13e66bec7f Cleanup unused incubated util libraries
Remove unused oslo incubated utility libraries. As best as I can tell
these imports are just historical artifacts.

Removing openstack/common from all OpenStack code in favor of the
Oslo libraries is a project wide goal for the Ocata release.

Change-Id: I7e189599a615d69a5d3f808c0cc397aecb18be63
2016-10-28 12:25:29 +00:00
Michael Still e0b252de38 Remove o/c/local.py and o/c/log.py
Move over to the fancy new oslo logging library.

Change-Id: Ie17b11a60a0b2d82889ff50f60944b2bc3787bf8
2016-10-26 21:07:12 +11:00
shizhihui 1a1791e4df Add Python3.5 classifier and venv
Now there is a passing gate job, we can claim
support for Python 3.5 in the classifier.
This patch also adds the convenience py35 py34 venv.

Change-Id: I774d5ca81b6bc8e125fac01e7670441ab958d80f
2016-08-16 12:33:46 +08:00
Andreas Jaeger 86738f635a Remove argparse from requirements
argparse was external in python 2.6 but not anymore, remove it from
requirements.

This should help with pip 8.0 that gets confused in this situation.
Installation of the external argparse is not needed.

Change-Id: Ib7e74912b36c1b5ccb514e31fac35efeff57378d
2016-01-20 19:29:24 +01:00
Andreas Jaeger 12781336b4 Update HACKING URL
Replace URL to source repository with URL to published documentation of
hacking project.

Change-Id: Id0f51c6962908345029243365fc0cf10c3f6d726
2015-12-30 14:39:25 +00:00
Andreas Jaeger 3b310d61fb Fix py27 tests
The py27 fails due to incompatible requirements, invoking the commands
manually in the py27 environment locally shows:
    raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (pbr 0.11.0
(/home/aj/Software/vcs/OpenStack/openstack-dev/heat-cfnclient/.tox/py27/lib/python2.7/site-packages),
Requirement.parse('pbr>=1.6'), set(['python-keystoneclient',
'stevedore']))

Fixed with syncing pbr version in requirements.txt with global-requirements.

Once this was fixed, an import of oslo.config failed, fixed with
changing it to oslo_config.

Also updated hacking to never version, since old version requires
incompatible pbr. Blacklist H104, H405 since code does not confirm to it,
fix E265 in exception.py (add missing space), fix F402 in client.py
(rename _ which shadows)

Change-Id: Ib06f2b0c4d66b7f04d30b324f3214a9b1011011a
2015-12-30 15:38:51 +01:00
Jenkins 34f85c2266 Merge "Workflow documentation is now in infra-manual" 2015-02-05 00:34:09 +00:00
Jeremy Stanley f4361c59d1 Workflow documentation is now in infra-manual
Replace URLs for workflow documentation to appropriate parts of the
OpenStack Project Infrastructure Manual.

Change-Id: I71aef6da9f9ce3fa83e30039a69f4d1f9cd81ed5
2014-12-05 03:30:41 +00:00
Angus Salkeld a010238c54 Fix the standard port that is inferred from url scheme
This is a port of this review (https://review.openstack.org/#/c/39210/2)
to try and cleanup and old bug.

Change-Id: Idf93053c9f4a49f65d9d52e879a88d79c9fd3170
Co-Authored-by: Martin H Berwanger <martin.berwanger@gmail.com>
Fixes: bug #1205317
2014-12-04 12:10:14 +10:00
Angus Salkeld f15de52075 Fix the tox environment and requirements
Just get the basic gate working.

Change-Id: I7462e165707a5a2dfd68fc32c238ee968551d253
2014-12-04 12:10:14 +10:00