Commit Graph

27 Commits

Author SHA1 Message Date
Hervé Beraud ed2c0d24f7 Add doc/requirements
We need to specify doc requirements in doc/requirements.txt
to avoid problems with the pip resolver [1] for the release team [2][3].
Removed specific doc requirements from test-requirements.txt.

The problem here is that this repos haven't doc/requirements.txt file
and by default in this case zuul will use the test-requirements.txt file
to pull requirements [4].

This requirements file contains extra requirements like flake8 that
collided with those allowed in our job environment and so the new pip
resolver fails to install these requirements and the job exits in error.

This project meet the conditions leading to the bug.

[1] http://lists.openstack.org/pipermail/release-job-failures/2021-January/001500.html
[2] http://lists.openstack.org/pipermail/openstack-discuss/2021-January/019611.html
[3] http://lists.openstack.org/pipermail/openstack-discuss/2021-January/019612.html
[4] https://opendev.org/zuul/zuul-jobs/src/branch/master/roles/ensure-sphinx/tasks/main.yaml#L36

Change-Id: Ic771f9dfa0ee59c05f986bdbf24255dda87cc977
2021-01-18 16:19:51 +01:00
Hervé Beraud 8621c54397 Use unittest.mock instead of mock
The mock third party library was needed for mock support in py2
runtimes. Since we now only support py36 and later, we can use the
standard lib unittest.mock module instead.

Change-Id: I8d9549e4653f4df7ec9f34f54f15bf0a18c9d8e2
2020-06-09 01:25:45 +02:00
Ghanshyam Mann d0e8adedfd 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: Ic646e184486e75e5d269a6000c8ff1bc5f78d066
2020-05-12 19:30:23 -05:00
Andreas Jaeger 55ebdd45b4 Update hacking for Python3
The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.

Fix problems found by updated hacking version.

Remove hacking and friends from lower-constraints, they are not needed
there.

Change-Id: I013b73347ed56c8c64a8aff73ec60ea738bc0c76
2020-03-31 21:48:03 +02:00
melissaml 7640b38bf1 Update hacking version to latest
Change-Id: I0bd2adacd080dfc2c55cf8681fef831cbcb673c3
2019-01-06 17:52:57 +08:00
Charles Short 785c29c22f Switch to using stestr
According to Openstack summit session [1] stestr is
maintained project to which all Openstack projects
should migrate. Let's switch it then.

[1] https://etherpad.openstack.org/p/YVR-python-pti

Change-Id: Id31d458418d904b568be0adf98d5b579cfd841cd
Signed-off-by: Charles Short <zulcss@gmail.com>
2018-06-19 14:39:28 -04:00
OpenStack Proposal Bot b805480f92 Updated from global requirements
Change-Id: I7e9b4bcb8d65bec01a1d5828026f92fc47233019
2018-03-15 07:12:51 +00:00
OpenStack Proposal Bot 4111448782 Updated from global requirements
Change-Id: I260d1aabf0cd76ea5f1dc6d08d115f123e3845f3
2018-03-13 07:01:31 +00:00
OpenStack Proposal Bot 851774fe3e Updated from global requirements
Change-Id: Ic358ce61819aca049343a8d1f22a155e3ac7c0d6
2018-03-10 13:22:21 +00:00
OpenStack Proposal Bot 38a73dd358 Updated from global requirements
Change-Id: I0ff9f66e2893ca534c90b7b0b7be6a37b665513d
2018-01-24 01:03:22 +00:00
OpenStack Proposal Bot e70fb43930 Updated from global requirements
Change-Id: I5ebfaf4e03e5603e72603e704e40930a9005957d
2018-01-18 03:04:07 +00:00
OpenStack Proposal Bot 7a0add0670 Updated from global requirements
Change-Id: Ide5c0f2ec8afe61978367b6458fb2c27b74a3b92
2018-01-16 04:13:29 +00:00
OpenStack Proposal Bot 55e415b927 Updated from global requirements
Change-Id: I5a6aab861a5896bbf4524bcd91810401c89f6ba4
2017-09-13 12:53:25 +00:00
OpenStack Proposal Bot f17e86a446 Updated from global requirements
Change-Id: I581285def64ebe1a5b3a87352982b8977fb2a86b
2017-08-18 04:43:32 +00:00
OpenStack Proposal Bot 125251576f Updated from global requirements
Change-Id: Icfe0843c58233a9a49b27db0970008626162f8de
2017-07-27 19:12:29 +00:00
OpenStack Proposal Bot 6d416dd8be Updated from global requirements
Change-Id: I45062fa3b0742f0d90c3cf6016a86d1a435e4948
2017-06-27 12:13:01 +00:00
OpenStack Proposal Bot 0a65b69f4e Updated from global requirements
Change-Id: I8b019bc15edd1d1c5260e30ce374f7c53eb405a4
2017-05-17 03:50:26 +00:00
OpenStack Proposal Bot b17ee5ce0f Updated from global requirements
Change-Id: I2b42c5d8e243ca152e8cf96861a4f4c9a60b6167
2017-05-15 00:46:56 +00:00
OpenStack Proposal Bot 65042c1969 Updated from global requirements
Change-Id: Ib200ee3714ffd586e32c06b77d175e8e56d36713
2017-02-10 05:51:25 +00:00
OpenStack Proposal Bot 9e847fccde Updated from global requirements
Change-Id: I3f472b3729464884a4e8561c874cf6cb8aab00ef
2017-01-16 16:44:59 +00:00
Tomasz Trębski 05022e1ff8 Extend tox for monasca-statsd
Following commits accomplishes several things:
* unit tests run with ostestr
* coverage calculation
* documentation generated using OS approach & theme
* bandit linting

Change-Id: I6c3b48805c237f0ad95220b90ff66b045c7478fb
2017-01-16 10:06:02 +00:00
Dirk Mueller 2a3e4d3150 Switch to hacking 0.12.x
Change-Id: I86a9b45ae84828962313415fea01b35a2be0683d
2017-01-04 16:43:28 +01:00
Joe Keen 614a6b5068 Allow easy configuration of host/port settings
The monascastatsd client allowed the host and port to be set but only if you
constructed a Connection object yourself.  This allows you just to specify
host and port when constructing the client object.

Change-Id: Ib49e261b915c07bf8f7036164f1e4814d80ecc1f
2016-10-20 14:54:03 -06:00
OpenStack Proposal Bot 0b7c745525 Updated from global requirements
Change-Id: I8753e54b7e5ad3a6712450dd16db6f0ce253e250
2016-08-04 02:36:29 +00:00
Joe Keen c4bbfa665d Remove reference to removed metric types
Removing references to histogram and set types.

Converting timer data from histogram type to gauge.

Enabling tox jobs because I was depending on them to tell me if I screwed
something up.

Change-Id: If9fbbf655baca67e7f205e4493c0929ac90d386a
2016-08-03 07:21:36 -06:00
OpenStack Proposal Bot ec127dc441 Updated from global requirements
Change-Id: Ibab6a788aa9e6203718eae14e40d0f18bcc8a78a
2016-07-08 11:08:46 -06:00
gary-hessler c7dfeb7e75 Adding python client for statsd messages
Change-Id: I720707609331a637e1f148ac6e0b2e2c594c0d9a
2014-09-23 07:55:58 -06:00