Skip to content

Commit c100b21

Browse files
authored
Require aiopg to be less than 1.3.0 (#560)
1 parent 5b43a59 commit c100b21

File tree

5 files changed

+6
-4
lines changed

5 files changed

+6
-4
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2121
([#538](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/538))
2222
- Changed the psycopg2-binary to psycopg2 as dependency in production
2323
([#543](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/543))
24+
- Require aiopg to be less than 1.3.0
25+
([#560](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/560))
2426

2527
### Added
2628
- `opentelemetry-instrumentation-httpx` Add `httpx` instrumentation

docs-requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ django>=2.2
2020

2121
# Required by instrumentation and exporter packages
2222
aiohttp~=3.0
23-
aiopg>=0.13.0
23+
aiopg>=0.13.0,<1.3.0
2424
asyncpg>=0.12.0
2525
boto~=2.0
2626
botocore~=1.0

instrumentation/opentelemetry-instrumentation-aiopg/src/opentelemetry/instrumentation/aiopg/package.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# limitations under the License.
1414

1515

16-
_instruments = ("aiopg >= 0.13.0",)
16+
_instruments = ("aiopg >= 0.13.0, < 1.3.0",)

opentelemetry-instrumentation/src/opentelemetry/instrumentation/bootstrap_gen.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"instrumentation": "opentelemetry-instrumentation-aiohttp-client==0.23.dev0",
2222
},
2323
"aiopg": {
24-
"library": "aiopg >= 0.13.0",
24+
"library": "aiopg >= 0.13.0, < 1.3.0",
2525
"instrumentation": "opentelemetry-instrumentation-aiopg==0.23.dev0",
2626
},
2727
"asgiref": {

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ deps =
404404
pymongo ~= 3.1
405405
PyMySQL ~= 0.10.1
406406
psycopg2 ~= 2.8.4
407-
aiopg >= 0.13.0
407+
aiopg >= 0.13.0, < 1.3.0
408408
sqlalchemy ~= 1.3.16
409409
redis ~= 3.3.11
410410
celery[pytest] >= 4.0, < 6.0

0 commit comments

Comments
 (0)