Skip to content

Commit

Permalink
Update the psycopg2 dependency (#543)
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanSiu1995 committed Jun 22, 2021
1 parent e129174 commit 63e7561
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
# limitations under the License.


_instruments = ("psycopg2-binary >= 2.7.3.1",)
_instruments = ("psycopg2 >= 2.7.3.1",)
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@
"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": {
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 63e7561

Please sign in to comment.