Skip to content

Commit 1a62f69

Browse files
RyanSiu1995Andres Beck-Ruiz
authored and
Andres Beck-Ruiz
committed
Require aiopg to be less than 1.3.0 (open-telemetry#560)
1 parent 0bc5fd5 commit 1a62f69

File tree

5 files changed

+6
-4
lines changed

5 files changed

+6
-4
lines changed

Diff for: CHANGELOG.md

+2
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

Diff for: docs-requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ django>=2.2
1919

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

Diff for: instrumentation/opentelemetry-instrumentation-aiopg/src/opentelemetry/instrumentation/aiopg/package.py

+1-1
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",)

Diff for: opentelemetry-instrumentation/src/opentelemetry/instrumentation/bootstrap_gen.py

+1-1
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": {

Diff for: tox.ini

+1-1
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)