Commit Graph

29 Commits

Author SHA1 Message Date
Takashi Kajinami d742269b83 Update python testing as per zed cycle testing runtime
In Zed cycle, we have dropped the python 3.6/3.7[1] testing
and its support. Add release notes and update the python
classifier for the same.

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

Co-Authored-By: Ghanshyam Mann <gmann@ghanshyammann.com>
Change-Id: Iebd573f07fde5cae14b48a89c7292a923ff03aee
2022-07-11 14:03:48 +09:00
hejunli 46a5ad1317 Update python testing classifier
Change-Id: Id1fe6281cf2475ca84cd148bfbbd402c16e0b9d8
2021-12-23 20:35:49 +08:00
Andreas Jaeger 944da81279 Cleanup py27 support
This repo is now testing only with Python 3, so let's 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
- Update requirements, no need for python_version anymore
- Use newer openstackdocstheme version
- Remove install_command from tox.ini, the default is fine
- Use TOX_CONSTRAINTS_FILE instead of UPPER_CONSTRAINTS_FILE since
  the later is obsolete
- Increase lower constraints to fullfill package requests

Change-Id: I7126c2646f272b3f8c568630293a194bc5ba98a9
2020-04-28 21:20:48 +02:00
Sean McGinnis f44bf9a654
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: I4a3aab7b687fb57368a67f7b76577e4ccb167278
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-04-24 08:23:20 -05:00
Ghanshyam Mann aa2bdc68e6 [ussuri][goal] Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in ussuri cycle.

sahara-dashboard 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: I9bbca7e2d317090dc2d05d08ccf8c45206cd160c
2019-11-18 12:02:49 +00:00
pengyuesheng 7d240182b1 Use openstack-python3-train-jobs for python3 test runtime
Depends-On:https://review.opendev.org/#/c/641878/

Change-Id: Ib08230aca4c0baf2a35d5cc347dd8c7ee45beec8
2019-06-25 16:31:06 +08:00
Ghanshyam Mann 45ef652c22 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: I10ac5a633a2549e8053b5f0f438f692b5efca821
2019-04-16 17:34:27 +00:00
Luigi Toscano 6733240dac Few python3 (and 3.6) compatibility improvements
- devstack plugin: run manage.py using $PYTHON (defined by devstack,
  it points to the Python interpreter used by DevStack;
- add an explicit envlist for py36;
- add the classifier for Python 3.6 to setup.cfg;
- bump the minumum tox version to 2.0, which is the de-facto
  minimum version.

Change-Id: I2bce1562b9ac49abf2e80efd3d6df392e40328b1
2018-12-05 22:37:22 +01:00
Luigi Toscano d06243b9c3 Update devel info: mailing list
The new openstack-discuss mailing list is going to replace few
mailing lists, including openstack-dev.

Change-Id: I4c886a417c2bd1ebcd4c57b4872265a689019b57
2018-11-21 18:45:56 +01:00
Hangdong Zhang 31140e2637 Update the documentation link for doc migration
Change-Id: I10ddaee70a6b9b98623317a4daa4aa33906a3086
2017-10-09 17:01:31 +00:00
pawnesh.kumar 549a30c494 Remove support for py34
The gating on python 3.4 is restricted to <= Mitaka. This is due to
the change from Ubuntu Trusty to Xenial, where only python3.5 is
available. There is no need to continue to keep these settings.

Change-Id: Ic28c0a6e8db6d6360c00ec834e474826cc3ada27
2017-03-30 12:29:57 +00:00
Cao Xuan Hoang a06fd15999 Remove support for py33
Python 3.3 is not supported from Mitaka, as per Infra.
This patch removes the support for the same.

Change-Id: Ib92e8ee8c7e7ba43537772b30d98e67b3df17685
2017-01-23 13:34:22 +07:00
zhangyujun 01a7a28c15 Trival: Update home-page
This patch updates sahara-dashboard's home-page for developers to accurate access.

Change-Id: I654543c4b9869622e486af2be0925676cf4df566
2016-09-29 20:42:05 +08:00
Shu Yingya 804c5488fe 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 py34 venv.

Change-Id: I75cae6b3a810a955b4d81dcda9c9bf920f9e6bd7
2016-07-25 12:06:27 +08:00
Akihiro Motoki 9af1c5660b Translation setup for sahara-dashboard
In Liberty, sahara-dashboard supports translations, but does not now.
Once this patch is merged, we can enable the infra tranlation jobs.

* Prepare babel-{django|djangojs}.cfg so that the infra script
  extracts message catalogs [1]
* Update devstack plugin to compile message catalogs
* Remove babel related entries in setup.cfg because it does not
  work for horizon plugins. Babel does not support message extraction
  for multiple domains.
* Create symlink sahara_dashboard/content/data_processing/locale
  (which points to sahara_dashboard/locale)
  The infra translation script assumes <modulename>/locale as
  locale dir. On the other hand, sahara dashboard registers
  "sahara_dashboard.content.data_processing" in INSTALLED_APPS.
  Django search locale data from <apps>/locale for each INSTALLED_APPS.
  Thus this symlink is required to make translation work.

Note that I am not sure why sahara dashboard uses
"sahara_dashboard.content.data_processing" as INSTALLED_APPS unlike
other horizon related projects, but it needs more investigation
and this patch does not touch it at the moment.

[1] http://docs.openstack.org/infra/manual/creators.html#enabling-translation-infrastructure

Change-Id: I93609a1af08b5a6f64fc43c16722f4c759f68302
2016-02-16 13:59:15 +09:00
Doug Hellmann 551ae8f2d3 remove python 2.6 trove classifier
OpenStack projects are no longer being tested under Python 2.6, so
remove the trove classifier implying that this project supports 2.6.

Change-Id: I9c30cfbc633c5316bc5a69fd55ebd8fec489aed6
2015-12-23 01:31:16 +00:00
David Lyle 6c5898813c Excising Sahara content from Horizon
This plugin moves the current content from the horizon repo to this
plugin repo. The code has been tested in a devstack install using the
following steps:

    1. packaging the plugin: "python setup.cfg sdist"
    2. pip installing the tar.gz in the resulting dist directory
    3.  a. (temporary step) remove existing sahara enabled files from
            horizon
            "rm openstack_dashboard/enabled/_18*.py"
        b. finding the install location and changing to it
            "cp sahara_dashboard/enabled/* /opt/stack/horizon/local/enabled"
    4. in /opt/stack/horizon
        a. python manage.py collectstatic
        b. python manage.py compress
    5. restarting the horizon server

Additionally, you can run the unit tests by:
    ./run_tests.sh

    Note: added script to programmatically remove the old configuration
    files from the targeted horizon install, either in venv or system
    install.

Known issues:
  1. running tests locally emits missing neutron service messages.
  2. plugin code for devstack needs to be added
  3. README is inadequate
  4. integration tests are still in horizon repo
  5. local copy of run_tests is heavy weight, but a better solution is
     not available currently.
  6. localization tooling and strings

Change-Id: Icdce2d3e945e612d368556dd5cea1930194c7b67
2015-11-30 16:40:44 -07:00
Chad Roberts 01d6e53630 Removing all code from previous dashboard incarnation
Clearing out all of the old code from the Sahara
dashboard repo in preparation for bringing the new
code back into the repo for the Mitaka release.

Change-Id: I83cb932c35987ea80ac9233bd355355398b9164b
2015-11-03 11:50:13 -05:00
Sergey Lukjanov a6c1a05d7e Open Kilo development
Bump pre-version to 2015.1 to formally open master branch to Kilo
development.

Change-Id: I596b8727f4056ff90ecb4a0f4eb036bb157178d7
2014-09-30 12:04:56 -07:00
Sergey Lukjanov 3976924649 Formally open Juno dev
Change-Id: I7f9ce6b315a0cc3f6b9e557a898a0f6bf0dc51e2
2014-04-22 23:09:24 +04:00
Chad Roberts 9cc79ab36d Renaming savannadashboard directory to saharadashboard
* Renaming savannadashboard directory to saharadashboard which
also includes updating all of the places where that package
is referenced.
* Also including some renaming in the documentation.
* Changing the name of the top level panel to Sahara
* Changing the name of the top level Dashboard class to SaharaDashboard

Partial-Implements: blueprint savanna-renaming-dashboard

Change-Id: If51b85d22ec7798c214c56189359260198e69374
2014-03-12 13:52:59 -04:00
Nikita Konovalov 879c78fe76 Migrate to testr
Change-Id: If06ed4cd26a7be5cb14af20ba5d79ff849674cf6
2013-12-20 18:35:20 +04:00
Jenkins a903d2bbb8 Merge "Revert "Support building wheels (PEP-427)"" 2013-11-22 11:55:24 +00:00
Sergey Lukjanov 47361eabf1 Revert "Support building wheels (PEP-427)"
'universal=True' means app supports py2 and py3 which isn't checked for savanna
dashboard (and horizon), so, my bad, it should be reverted atm.
W/o 'universal=True' wheel bdist still could be built.

This reverts commit 89c4cdb772

Change-Id: If206a1778f00555845b8c559b6f9ae8b8a91a745
2013-11-22 15:53:02 +04:00
Sergey Lukjanov 707c4a65b5 Bump version to 2014.1
Change-Id: I3effd153fd76cc3517e6687979b56595f940ddc4
2013-11-19 22:12:25 +04:00
Sergey Lukjanov 89c4cdb772 Support building wheels (PEP-427)
With that, "python setup.py bdist_wheel" could be used for building and uploading wheels to PyPI.

Change-Id: Idb063ef409c134738c437ce1c49fef82d0fbf923
2013-11-19 13:14:42 +04:00
Vadim Rovachev 75426a1bdd Added UI tests
Added selenium tests for savanna-dashboard

Implements blueprint savanna-dashboard-ui-tests

Change-Id: I8b57a3339aa4b30750b9ec7b7ebcf9a340fd2d57
2013-09-23 16:27:44 +04:00
Sergey Lukjanov e63c883529 Migrate to pbr
Change-Id: I58f8d9138c87386af8b656ba64cb474ce1d1bda7
2013-08-27 11:09:14 +04:00
Nikita Konovalov dc4b178753 Initial commit for savanna dashboard.
Change-Id: I824bee3aa7e86e9208e17d9c913f8ae7b7a97cd5
2013-05-27 12:08:38 +04:00