Update the psycopg2 dependency (#543)

This commit is contained in:
Ryan, Siu Long Wa
2021-06-22 22:47:34 +08:00
committed by GitHub
parent e12917401f
commit 63e7561931
4 changed files with 6 additions and 4 deletions

View File

@ -17,6 +17,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
([#469](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/469))
- Implemented specification that HTTP span attributes must not contain username and password.
([#538](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/538))
- Changed the psycopg2-binary to psycopg2 as dependency in production
([#543](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/543))
### Added
- `opentelemetry-instrumentation-httpx` Add `httpx` instrumentation

View File

@ -13,4 +13,4 @@
# limitations under the License.
_instruments = ("psycopg2-binary >= 2.7.3.1",)
_instruments = ("psycopg2 >= 2.7.3.1",)

View File

@ -80,8 +80,8 @@ libraries = {
"library": "mysql-connector-python ~= 8.0",
"instrumentation": "opentelemetry-instrumentation-mysql==0.23.dev0",
},
"psycopg2-binary": {
"library": "psycopg2-binary >= 2.7.3.1",
"psycopg2": {
"library": "psycopg2 >= 2.7.3.1",
"instrumentation": "opentelemetry-instrumentation-psycopg2==0.23.dev0",
},
"pymemcache": {

View File

@ -403,7 +403,7 @@ deps =
mysql-connector-python ~= 8.0
pymongo ~= 3.1
PyMySQL ~= 0.10.1
psycopg2-binary ~= 2.8.4
psycopg2 ~= 2.8.4
aiopg >= 0.13.0
sqlalchemy ~= 1.3.16
redis ~= 3.3.11