Skip to content

Commit e7ed42e

Browse files
authored
Merge pull request #11 from faucetsdn/v0.17.1
Upgrade python3-prometheus-client to v0.17.1.
2 parents 156939b + 6108b4c commit e7ed42e

File tree

5 files changed

+8
-10
lines changed

5 files changed

+8
-10
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
steps:
3737
- checkout
3838
- run: echo 'export PATH=$HOME/.local/bin:$PATH' >> $BASH_ENV
39-
- run: pip install --user tox
39+
- run: pip install --user tox "virtualenv<20.22.0"
4040
- run: tox
4141
test_nooptionals:
4242
parameters:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ metrics_app = make_asgi_app()
434434
app.mount("/metrics", metrics_app)
435435
```
436436

437-
For Multiprocessing support, use this modified code snippet. Full multiprocessing intstructions are provided [here](https://github.com/prometheus/client_python#multiprocess-mode-eg-gunicorn).
437+
For Multiprocessing support, use this modified code snippet. Full multiprocessing instructions are provided [here](https://github.com/prometheus/client_python#multiprocess-mode-eg-gunicorn).
438438

439439
```python
440440
from fastapi import FastAPI

prometheus_client/bridge/graphite.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/python
1+
#!/usr/bin/env python
22

33
import logging
44
import re

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
setup(
1010
name="prometheus_client",
11-
version="0.17.0",
11+
version="0.17.1",
1212
author="Brian Brazil",
1313
author_email="[email protected]",
1414
description="Python client for the Prometheus monitoring system.",

tox.ini

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,15 @@
11
[tox]
22
envlist = coverage-clean,py3.6,py3.7,py3.8,py3.9,py3.10,py3.11,pypy3.7,py3.9-nooptionals,coverage-report,flake8,isort,mypy
33

4-
[base]
4+
[testenv]
55
deps =
66
coverage
77
pytest
88
attrs
9-
10-
[testenv]
11-
deps =
12-
{[base]deps}
139
{py3.7,pypy3.7}: twisted
14-
{py3.7,pypy3.7}: asgiref
10+
py3.7: asgiref
11+
# See https://github.com/django/asgiref/issues/393 for why we need to pin asgiref for pypy
12+
pypy3.7: asgiref==3.6.0
1513
commands = coverage run --parallel -m pytest {posargs}
1614

1715
[testenv:py3.9-nooptionals]

0 commit comments

Comments
 (0)