Commit Graph

25 Commits

Author SHA1 Message Date
Akihiro Motoki ee80782504 Drop py36 and py37 support
Python runtimes for Zed are 3.8, 3.9 and optionally 3.10 [1][2],
so tox envs in tox.ini are updated accordingly.

Declare python_requires >=3.8 in setup.cfg
python_requires are declared in many projects during dropping
python 2.7 support. It is good to follow the convention and
it also clarifies our python interpreter requirement.

This commit also cleans up python2.7 related stuffs in setup.py.
Both are related to the supported versions of python,
so I made both changes in a single commit.

[1] https://governance.openstack.org/tc/reference/runtimes/zed.html
[2] b740b42fb1/zuul.d/project-templates.yaml (L542)

Change-Id: I4161816fd1fec19a3834cc7d994b3f761e1ab2ce
Closes-Bug: #1960887
2022-06-06 17:59:13 +09:00
OpenStack Proposal Bot a2f08e67ed Updated from global requirements
Change-Id: Id9d305a3f189294f139402cdba3f93c0904907aa
2017-05-30 13:34:43 +00:00
Akihiro Motoki 5273c27a75 hacking: Specify white list rules in noqa explicity
If 'noqa' is specified all hacking checks are disabled.
It is better to ignore specific rules explicitly rather than
ignoring all. The recent flake8 supports this [1].

[1] http://flake8.pycqa.org/en/latest/user/ignoring-errors.html

Change-Id: I74246adb4d1d2613c2703cf519428b64d00e59bb
2017-05-24 03:03:41 +00:00
OpenStack Proposal Bot 9ed6a08e5b Updated from global requirements
Change-Id: I27217dfd6ffd1702cc4ae2b55bfc8db4fe5fb94e
2017-03-02 11:45:11 +00:00
OpenStack Proposal Bot 8c1e1494d9 Updated from global requirements
Change-Id: I4dc6485edb7d1639234dec4f6c8ccf42fd9eb074
2015-09-19 05:37:19 +00:00
OpenStack Proposal Bot 15973afec4 Updated from global requirements
Change-Id: Ibb4dc8d22f737702cc17661044be0a7845830802
2015-07-15 21:21:49 +00:00
OpenStack Proposal Bot 1ff134aac0 Updated from global requirements
Change-Id: Idc25bccb0147f0f00d07ad0479ba6703c8fb89b5
2015-06-22 08:21:19 +00:00
OpenStack Proposal Bot 35563a1912 Updated from global requirements
Change-Id: Ia328c2ff8f3e29e2aff9f3a1a3978dda0fdf3b26
2015-06-16 19:50:08 +00:00
OpenStack Proposal Bot 1f5730d993 Updated from global requirements
Change-Id: If8e08b4fb3fa32c9e9b6945a6833c97f4b499f1f
2014-05-01 13:44:26 +00:00
OpenStack Jenkins 4b130d57be Updated from global requirements
Change-Id: I053b84cd2a13f22e654b8fe94c62df60f55f3ec6
2013-10-01 16:13:10 +00:00
Monty Taylor dc266f44e7 Updated from global requirements
Change-Id: Ibf423f14a5c37aa298b2115bfd4936f660c6f530
2013-08-08 13:16:35 -03:00
David Lyle c4eba03784 Pinning minimum pbr and d2to1 versions
Fixes: bug #1199923

Change-Id: I14af1320c0ba5e397489f3de697ae6e87d1ad00b
2013-07-12 10:52:14 -06:00
Monty Taylor 91e4715c14 Migrate to PBR for build tooling.
pbr is the library-ified version of the code that was in
openstack.common.setup and version. It builds on top of d2to1 to
provide declarative build configuration.

Change-Id: Ic264fa33e17fe5fdc71d8c53412495b069ab74a4
2013-04-27 11:56:07 -04:00
Gabriel Hurley 8a262ea62c Bump version to 2013.2.
Change-Id: I0eb60bb12a63e7ccf2623fb9aeaf9a9f84fda24e
2013-03-19 14:44:44 -07:00
Monty Taylor 11867173ed Update to latest oslo-version.
In preparation for tag-based versions, update to latest oslo-version code.

Change-Id: I9f702f0304fdd5043326c95346b26bde06e20a1e
2013-02-04 11:28:25 +11:00
Doug Hellmann baf8b685dc Add OpenStack trove classifier for PyPI
Add trove classifier to have horizon listed among the
other OpenStack-related projets on PyPI.

Change-Id: I70a2b3dedf437fbfd03d4c2d605af6d6c2ef98c6
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
2012-10-22 18:31:43 -04:00
Gabriel Hurley cb8e7c1f8f Splits OpenStack Dashboard bits from framework app code.
Moves everything OpenStack-specific (dashboards, apis, etc.)
into the openstack_dashboard project, achieving a much
cleaner separation between the project-specific code and
the generic Horizon framework code.

Change-Id: I7235b41d449b26c980668fc3eb4360b24508717b
2012-10-11 11:47:50 -07:00
Gabriel Hurley df106572cc Includes LESS files in bdist packages.
Incidentally cleans up some files that didn't exist in the
MANIFEST.in file.

Fixes bug 1016085 but now needs to be followed by a fix for
bug 1020799 in the future.

Change-Id: I8a53bb17f14afdad61513afa67de7134722c49e9
2012-07-03 20:46:40 -07:00
Monty Taylor c93e7c06fd Add ProjectTestingInterface to horizon.
Horizon is the last project that doesn't have support for the common
Project Testing Interface. This gets horizon up to speed with the
other bits, but shouldn't break any of the existing interfaces.

Change-Id: I464c3b10d9708a0b7b5ffd42c88cd3cf515ef6a7
2012-05-26 14:36:19 -07:00
Ionuț Arțăriși 434fed0a18 make setup.py execute with python by default
Change-Id: Ie53a3d304b225f34490063913b072147c271090b
2012-03-22 11:11:37 +01:00
Gabriel Hurley f5a8fd4404 One last redux for setup.py requirement parsing.
Working around some limitations of setuptools/distribute/distutils
in order to get the right versions of everything installed.

Splits requirements out between core requirements and testing
requirements.

Change-Id: I2157527a91041a6297efe689b2a709f47fc605d8
2012-03-02 15:05:29 -08:00
Gabriel Hurley 2fd7e911e4 Removed unwanted handling for the -e and -f flags in install_requires.
Change-Id: I35b64d484311f3af97d818f82aa52815b0794f2c
2012-03-01 17:19:46 -08:00
Ghe Rivero a9d926e358 Added package_data to horizon
Several files necessary for horizon are not included when installing/distributing the package.
This patch includes the following extensions:
*.html *.js *.csv *.template *.mo

Patch Set 2: Added info to AUTHORS file

Change-Id: Id8a6a007eff17edbe77d2ead236fa2067231248f
2012-03-01 20:25:18 +01:00
Gabriel Hurley 2042b89649 Makes setup.py actually list it's dependencies for pip/easy_install.
Change-Id: I9b774f5d64662f67d2a4dd2d1dd4dc59be0f45df
2012-02-29 17:31:12 -08:00
Gabriel Hurley 052aa55d34 Unifies the project packaging into one set of modules.
There are no longer two separate projects living inside the horizon
repository. There is a single project now with a single setup.py,
single README, etc.

The openstack-dashboard/dashboard django project is now named
"openstack_dashboard" and lives as an example project in the
topmost horizon directory.

The "horizon/horizon" directory has been bumped up a level and now
is directly on the path when the root horizon directory is on
your python path.

Javascript media which the horizon module directly relies upon
now ships in the horizon/static dir rather than
openstack-dashboard/dashboard/static.

All the corresponding setup, installation, build, and env scripts
have been updated accordingly.

Implements blueprint unified-packaging.

Change-Id: Ieed8e3c777432cd046c3e0298869a9428756ab62
2012-02-29 00:20:13 -08:00