Skip to content

Commit

Permalink
Merge pull request #11 from faucetsdn/v0.17.1
Browse files Browse the repository at this point in the history
Upgrade python3-prometheus-client to v0.17.1.
  • Loading branch information
gizmoguy authored Jul 21, 2023
2 parents 156939b + 6108b4c commit e7ed42e
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
steps:
- checkout
- run: echo 'export PATH=$HOME/.local/bin:$PATH' >> $BASH_ENV
- run: pip install --user tox
- run: pip install --user tox "virtualenv<20.22.0"
- run: tox
test_nooptionals:
parameters:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ metrics_app = make_asgi_app()
app.mount("/metrics", metrics_app)
```

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

```python
from fastapi import FastAPI
Expand Down
2 changes: 1 addition & 1 deletion prometheus_client/bridge/graphite.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python

import logging
import re
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

setup(
name="prometheus_client",
version="0.17.0",
version="0.17.1",
author="Brian Brazil",
author_email="[email protected]",
description="Python client for the Prometheus monitoring system.",
Expand Down
10 changes: 4 additions & 6 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@
[tox]
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

[base]
[testenv]
deps =
coverage
pytest
attrs

[testenv]
deps =
{[base]deps}
{py3.7,pypy3.7}: twisted
{py3.7,pypy3.7}: asgiref
py3.7: asgiref
# See https://github.com/django/asgiref/issues/393 for why we need to pin asgiref for pypy
pypy3.7: asgiref==3.6.0
commands = coverage run --parallel -m pytest {posargs}

[testenv:py3.9-nooptionals]
Expand Down

0 comments on commit e7ed42e

Please sign in to comment.