From 0bf33e650957cc726d3798550b4a447ef571c01c Mon Sep 17 00:00:00 2001 From: Dave Shoup Date: Fri, 20 Oct 2023 14:23:21 -0400 Subject: [PATCH] update `structlog` (#312) update structlog --- CHANGELOG.md | 7 +++++++ poetry.lock | 22 +++++++++++----------- pyproject.toml | 4 ++-- 3 files changed, 20 insertions(+), 13 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d6042025..15a7b1ba 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,13 @@ All notable changes will be documented here. --- ## Unreleased +### Updated +- `structlog` to 23.2.0 + + +## `1.3.0`-`1.4.0` +- Bug fixes and performance improvements that should have gone in here + ### Changed - `STRINGIFY_INDEX_VALUES` is `False` by default (index `.name` will still be a string, but values will keep their original type) - Added comms listener for renaming (SQL cell) dataframes. diff --git a/poetry.lock b/poetry.lock index c6d325c1..3710d4c6 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 1.6.1 and should not be changed by hand. +# This file is automatically @generated by Poetry 1.5.1 and should not be changed by hand. [[package]] name = "aiohttp" @@ -3682,8 +3682,8 @@ files = [ [package.dependencies] numpy = [ {version = ">=1.20.3", markers = "python_version < \"3.10\""}, + {version = ">=1.21.0", markers = "python_version >= \"3.10\""}, {version = ">=1.23.2", markers = "python_version >= \"3.11\""}, - {version = ">=1.21.0", markers = "python_version >= \"3.10\" and python_version < \"3.11\""}, ] python-dateutil = ">=2.8.1" pytz = ">=2020.1" @@ -5196,7 +5196,7 @@ files = [ ] [package.dependencies] -greenlet = {version = "!=0.4.17", markers = "python_version >= \"3\" and (platform_machine == \"aarch64\" or platform_machine == \"ppc64le\" or platform_machine == \"x86_64\" or platform_machine == \"amd64\" or platform_machine == \"AMD64\" or platform_machine == \"win32\" or platform_machine == \"WIN32\")"} +greenlet = {version = "!=0.4.17", markers = "python_version >= \"3\" and (platform_machine == \"win32\" or platform_machine == \"WIN32\" or platform_machine == \"AMD64\" or platform_machine == \"amd64\" or platform_machine == \"x86_64\" or platform_machine == \"ppc64le\" or platform_machine == \"aarch64\")"} [package.extras] aiomysql = ["aiomysql", "greenlet (!=0.4.17)"] @@ -5258,20 +5258,20 @@ full = ["httpx (>=0.22.0)", "itsdangerous", "jinja2", "python-multipart", "pyyam [[package]] name = "structlog" -version = "22.3.0" +version = "23.2.0" description = "Structured Logging for Python" optional = false -python-versions = ">=3.7" +python-versions = ">=3.8" files = [ - {file = "structlog-22.3.0-py3-none-any.whl", hash = "sha256:b403f344f902b220648fa9f286a23c0cc5439a5844d271fec40562dbadbc70ad"}, - {file = "structlog-22.3.0.tar.gz", hash = "sha256:e7509391f215e4afb88b1b80fa3ea074be57a5a17d794bd436a5c949da023333"}, + {file = "structlog-23.2.0-py3-none-any.whl", hash = "sha256:16a167e87b9fa7fae9a972d5d12805ef90e04857a93eba479d4be3801a6a1482"}, + {file = "structlog-23.2.0.tar.gz", hash = "sha256:334666b94707f89dbc4c81a22a8ccd34449f0201d5b1ee097a030b577fa8c858"}, ] [package.extras] -dev = ["structlog[docs,tests,typing]"] +dev = ["structlog[tests,typing]"] docs = ["furo", "myst-parser", "sphinx", "sphinx-notfound-page", "sphinxcontrib-mermaid", "twisted"] -tests = ["coverage[toml]", "freezegun (>=0.2.8)", "pretend", "pytest (>=6.0)", "pytest-asyncio (>=0.17)", "simplejson"] -typing = ["mypy", "rich", "twisted"] +tests = ["freezegun (>=0.2.8)", "pretend", "pytest (>=6.0)", "pytest-asyncio (>=0.17)", "simplejson"] +typing = ["mypy (>=1.4)", "rich", "twisted"] [[package]] name = "tabulate" @@ -6102,4 +6102,4 @@ docs = ["mkdocs", "mkdocs-jupyter", "mkdocs-material", "mkdocstrings", "mkdocstr [metadata] lock-version = "2.0" python-versions = "^3.9" -content-hash = "60e602584831a95832fda8b0e7806dc5af70f572a666e3932e8dc8f1c54a9a26" +content-hash = "fc501337bc125fba1e54091aa7aacff2f34d59e2ee79dd404af0269c2dd7f8b0" diff --git a/pyproject.toml b/pyproject.toml index 8d3fc3f2..120a082d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "dx" -version = "1.3.0" +version = "1.4.0" description = "Python wrapper for Data Explorer" authors = [ "Dave Shoup ", @@ -17,7 +17,6 @@ python = "^3.9" pandas = "^1.3.5" ipython = ">=7.31.1" pydantic = "^1.9" -structlog = "^22.1.0" mkdocs = { version = "^1.3.1", optional = true } mkdocs-material = { version = "^8.3.9", optional = true } mkdocs-jupyter = { version = ">=0.21,<0.23", optional = true } @@ -26,6 +25,7 @@ mkdocstrings-python = { version = ">=0.7.1,<0.10.0", optional = true } duckdb-engine = "^0.9.2" exceptiongroup = "^1.0.4" repr-llm = "^0.2.1" +structlog = "^23.2.0" [tool.poetry.group.dev.dependencies] black = ">=22.12,<24.0"