Commit Graph

12 Commits

Author SHA1 Message Date
Daniel Bengtsson a376f1ff79 Stop configuring install_command in tox.
Currently, we are overriding 'install_command' to use 'pip'. This is
considered poor behavior and 'python -m pip' should be used instead:

https://snarky.ca/why-you-should-use-python-m-pip/

It turns out that this is the the default value provided by tox:

https://tox.readthedocs.io/en/latest/config.html#conf-install_command

So we can remove the line and simply use the default value.

Change-Id: I50080434a5a11226300eb699fd31103c5e9f5e28
2020-07-24 13:03:14 +02:00
Andreas Jaeger 7be58d6af8 Cleanup repo
* Remove unused files babel.cfg and openstack-common.conf.
* Remove obsolete entries from setup.cfg.
* Remove six as requirement
* Switch to newer hacking version and fix all problems.
* Remove Babel requirement, update requirements for python3

Change-Id: I1fc46288e54a5b787afbd9ee31b32a0e7d28c6de
2020-06-09 10:45:08 +02:00
Sean McGinnis e65f22678e
Drop py2 testing and metadata
This drops testing of py2 environments and removes it from the package
metadata.

Story: #2003229
Task: #23646

Change-Id: Ieb6ed753705aa5f35e58ec4f3796b4ad9e5e33c3
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-01-02 08:03:04 -06:00
Sean McGinnis 003e743379 Drop pypy default tox env
Change-Id: I75ad6cb86221f424d4a65e84329b147ed2b0aada
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2019-08-01 17:03:10 +02:00
Ben Nemec e27bb7efdb Switch to stestr
It works better and pbr will at some point drop support for running
tests via setup.py.

Change-Id: I44250d8c65af932e035c7ab6fc08f1135a15ab93
2019-08-01 17:02:18 +02:00
Anne Gentle 2b1c945b45 Adds tox docs job
Follow PTI for this and add all needed changes, remove obsolete
options. Switch to openstackdocstheme instead of oslosphinx
since that is retired.

Remove module index - this repo has no modules and thus nothing is
generated.

Add job to publish documents.

Change-Id: Ida269f9755099f32a12f46082b529311ecb7e2b6
2019-05-18 13:45:47 +02:00
Andreas Jaeger 8f9da79911 python version changes
In OpenStack CI we use python 2.7 and 3.5, use those in
tox.ini, remove 2.6, 3.3, 3.4 from setup.

Remove 2.6 from setup.cfg and change 3.3 to 3.5.

Change-Id: Ie69ca899f6fed9b1948d0fc3cb92393135d360b5
2016-12-17 19:25:50 +01:00
Jeremy Stanley e8ef952b70 Work toward Python 3.4 support and testing
Change-Id: I7148c22cdaf929507f9d16f8140b7a111667a40b
2014-09-03 19:03:04 +00:00
Jeremy Stanley 178de05b15 Remove tox locale overrides
* tox.ini: The LANG, LANGUAGE and LC_ALL environment overrides were
introduced originally during the testr migration in an attempt to be
conservative about the possibility that locale settings in the
calling environment could cause consistency problems for test runs.
In actuality, this should be unnecessary and any place where it does
cause issues ought to be considered an actual bug. Also, having
these in the configuration actively causes older pip to have
problems with non-ASCII content in some package metadata files under
Python 3, so drop it now.

Change-Id: Ib3618dce34ce25fdf9051d1de6c4a1dbb7750fe9
Closes-Bug: #1277495
2014-02-10 03:03:04 +00:00
Robert Collins 4e4e5cb094 E128 really isn't sane.
Change-Id: If8492fdc61a756f2c39b3b560e8b7c174d755f2d
2013-11-28 01:44:58 +00:00
Robert Collins 3bee82ad3f Ignore E126.
Change-Id: I61abeba1dc987569e23bbfb5ab45c55e42916313
2013-11-25 03:27:30 +00:00
Robert Collins 98d4a78c16 Cookiecutterify reviewstats.
One step on a long path. Note that there is some noddy stuff in here
like a pointless test - its in cookiecutter and I don't want to muddle
code moves up with that, so 'meh'.

Change-Id: I500b92c0e8177c85e696d039417dcf982010775b
2013-11-25 03:26:57 +00:00