From 52cad9139de4589bbad9038f8baf95d4de5df9ef Mon Sep 17 00:00:00 2001 From: HsiangNianian Date: Tue, 24 Sep 2024 17:25:39 +0800 Subject: [PATCH] feat(build): update dependencies for pdm lock file --- pdm.lock | 75 ++++++++++++++++++++++++++++++++++---------------- pyproject.toml | 18 +----------- 2 files changed, 53 insertions(+), 40 deletions(-) diff --git a/pdm.lock b/pdm.lock index abc01a28..619e289a 100644 --- a/pdm.lock +++ b/pdm.lock @@ -2,10 +2,16 @@ # It is not intended for manual editing. [metadata] -groups = ["default", "dev", "docs", "lint", "adapters"] +groups = ["default", "dev", "docs", "lint"] strategy = [] -lock_version = "4.4.1" -content_hash = "sha256:ccae9259aea351b7da63fb729826e1673a59922db2d6086ebb7af3f94ffab244" +lock_version = "4.5.0" +content_hash = "sha256:431ade1621774d7df807f0ea38a40bbe7c5a7ca4b8c28cc996d5891d71bc54ee" + +[[metadata.targets]] +requires_python = "==3.10.15" +platform = "manylinux_2_35_x86_64" +implementation = "cpython" +gil_disabled = false [[package]] name = "aiohappyeyeballs" @@ -25,6 +31,7 @@ summary = "Async http client/server framework (asyncio)" dependencies = [ "aiohappyeyeballs>=2.3.0", "aiosignal>=1.1.2", + "async-timeout<5.0,>=4.0; python_version < \"3.11\"", "attrs>=17.3.0", "frozenlist>=1.1.1", "multidict<7.0,>=4.5", @@ -122,6 +129,9 @@ name = "annotated-types" version = "0.6.0" requires_python = ">=3.8" summary = "Reusable constraint types to use with typing.Annotated" +dependencies = [ + "typing-extensions>=4.0.0; python_version < \"3.9\"", +] files = [ {file = "annotated_types-0.6.0-py3-none-any.whl", hash = "sha256:0641064de18ba7a25dee8f96403ebc39113d0cb953a01429249d5c7564666a43"}, {file = "annotated_types-0.6.0.tar.gz", hash = "sha256:563339e807e53ffd9c267e99fc6d9ea23eb8443c08f112651963e24e22f84a5d"}, @@ -132,16 +142,35 @@ name = "astroid" version = "3.2.4" requires_python = ">=3.8.0" summary = "An abstract syntax tree for Python with inference support." +dependencies = [ + "typing-extensions>=4.0.0; python_version < \"3.11\"", +] files = [ {file = "astroid-3.2.4-py3-none-any.whl", hash = "sha256:413658a61eeca6202a59231abb473f932038fbcbf1666587f66d482083413a25"}, {file = "astroid-3.2.4.tar.gz", hash = "sha256:0e14202810b30da1b735827f78f5157be2bbd4a7a59b7707ca0bfc2fb4c0063a"}, ] +[[package]] +name = "async-timeout" +version = "4.0.3" +requires_python = ">=3.7" +summary = "Timeout context manager for asyncio programs" +dependencies = [ + "typing-extensions>=3.6.5; python_version < \"3.8\"", +] +files = [ + {file = "async-timeout-4.0.3.tar.gz", hash = "sha256:4640d96be84d82d02ed59ea2b7105a0f7b33abe8703703cd0ab0bf87c427522f"}, + {file = "async_timeout-4.0.3-py3-none-any.whl", hash = "sha256:7405140ff1230c310e51dc27b3145b9092d659ce68ff733fb0cefe3ee42be028"}, +] + [[package]] name = "attrs" version = "23.2.0" requires_python = ">=3.7" summary = "Classes Without Boilerplate" +dependencies = [ + "importlib-metadata; python_version < \"3.8\"", +] files = [ {file = "attrs-23.2.0-py3-none-any.whl", hash = "sha256:99b87a485a5820b23b879f04c2305b44b951b502fd64be915879d77a7e8fc6f1"}, {file = "attrs-23.2.0.tar.gz", hash = "sha256:935dc3b529c262f6cf76e50877d35a4bd3c1de194fd41f47a2b7ae8f19971f30"}, @@ -152,6 +181,9 @@ name = "babel" version = "2.16.0" requires_python = ">=3.8" summary = "Internationalization utilities" +dependencies = [ + "pytz>=2015.7; python_version < \"3.9\"", +] files = [ {file = "babel-2.16.0-py3-none-any.whl", hash = "sha256:368b5b98b37c06b7daf6696391c3240c938b37767d4584413e8438c5c435fa8b"}, {file = "babel-2.16.0.tar.gz", hash = "sha256:d1f3554ca26605fe173f3de0c65f750f5a42f924499bf134de6423582298e316"}, @@ -181,6 +213,8 @@ dependencies = [ "packaging>=22.0", "pathspec>=0.9.0", "platformdirs>=2", + "tomli>=1.1.0; python_version < \"3.11\"", + "typing-extensions>=4.0.1; python_version < \"3.11\"", ] files = [ {file = "black-24.8.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:09cdeb74d494ec023ded657f7092ba518e8cf78fa8386155e4a03fdcc44679e6"}, @@ -309,6 +343,7 @@ requires_python = ">=3.7" summary = "Composable command line interface toolkit" dependencies = [ "colorama; platform_system == \"Windows\"", + "importlib-metadata; python_version < \"3.8\"", ] files = [ {file = "click-8.1.7-py3-none-any.whl", hash = "sha256:ae74fb96c20a0277a1d615f1e4d73c8414f5a98db8b799a7931d1582f3390c28"}, @@ -466,6 +501,7 @@ requires_python = ">=3.7" summary = "GitPython is a Python library used to interact with Git repositories" dependencies = [ "gitdb<5,>=4.0.1", + "typing-extensions>=3.7.4.3; python_version < \"3.8\"", ] files = [ {file = "GitPython-3.1.43-py3-none-any.whl", hash = "sha256:eec7ec56b92aad751f9912a73404bc02ba212a23adb2c7098ee668417051a1ff"}, @@ -546,6 +582,7 @@ version = "0.7.2" requires_python = ">=3.5" summary = "Python logging made (stupidly) simple" dependencies = [ + "aiocontextvars>=0.2.0; python_version < \"3.7\"", "colorama>=0.3.4; sys_platform == \"win32\"", "win32-setctime>=1.0.0; sys_platform == \"win32\"", ] @@ -631,6 +668,9 @@ name = "maturin" version = "1.7.0" requires_python = ">=3.7" summary = "Build and publish crates with pyo3, cffi and uniffi bindings as well as rust binaries as python packages" +dependencies = [ + "tomli>=1.1.0; python_version < \"3.11\"", +] files = [ {file = "maturin-1.7.0-py3-none-linux_armv6l.whl", hash = "sha256:15fe7920391a128897714f6ed38ebbc771150410b795a55cefca73f089d5aecb"}, {file = "maturin-1.7.0-py3-none-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl", hash = "sha256:87a1fae70f1a6ad694832c735abf9f010edc4971c5cf89d2e7a54651a1a3792a"}, @@ -772,6 +812,7 @@ requires_python = ">=3.8" summary = "Optional static typing for Python" dependencies = [ "mypy-extensions>=1.0.0", + "tomli>=1.1.0; python_version < \"3.11\"", "typing-extensions>=4.6.0", ] files = [ @@ -875,6 +916,7 @@ summary = "Data validation using Python type hints" dependencies = [ "annotated-types>=0.4.0", "pydantic-core==2.20.1", + "typing-extensions>=4.12.2; python_version >= \"3.13\"", "typing-extensions>=4.6.1; python_version < \"3.13\"", ] files = [ @@ -1000,11 +1042,15 @@ summary = "python code static checker" dependencies = [ "astroid<=3.3.0-dev0,>=3.2.4", "colorama>=0.4.5; sys_platform == \"win32\"", + "dill>=0.2; python_version < \"3.11\"", "dill>=0.3.6; python_version >= \"3.11\"", + "dill>=0.3.7; python_version >= \"3.12\"", "isort!=5.13.0,<6,>=4.2.5", "mccabe<0.8,>=0.6", "platformdirs>=2.2.0", + "tomli>=1.1.0; python_version < \"3.11\"", "tomlkit>=0.10.1", + "typing-extensions>=3.10.0; python_version < \"3.10\"", ] files = [ {file = "pylint-3.2.6-py3-none-any.whl", hash = "sha256:03c8e3baa1d9fb995b12c1dbe00aa6c4bcef210c2a2634374aedeb22fb4a8f8f"}, @@ -1123,6 +1169,7 @@ summary = "Render rich text, tables, progress bars, syntax highlighting, markdow dependencies = [ "markdown-it-py>=2.2.0", "pygments<3.0.0,>=2.13.0", + "typing-extensions<5.0,>=4.0.0; python_version < \"3.9\"", ] files = [ {file = "rich-13.7.1-py3-none-any.whl", hash = "sha256:4edbae314f59eb482f54e9e30bf00d33350aaa94f4bfcd4e9e3110e64d0d7222"}, @@ -1207,6 +1254,7 @@ dependencies = [ "colorama>=0.4.5; sys_platform == \"win32\"", "docutils<0.21,>=0.18.1", "imagesize>=1.3", + "importlib-metadata>=4.8; python_version < \"3.10\"", "packaging>=21.0", "requests>=2.25.0", "snowballstemmer>=2.0", @@ -1420,26 +1468,6 @@ files = [ {file = "urllib3-2.2.1.tar.gz", hash = "sha256:d0570876c61ab9e520d776c38acbbb5b05a776d3f9ff98a5c8fd5162a444cf19"}, ] -[[package]] -name = "uv" -version = "0.4.7" -requires_python = ">=3.8" -summary = "An extremely fast Python package and project manager, written in Rust." -files = [ - {file = "uv-0.4.7-py3-none-win_amd64.whl", hash = "sha256:23283699e6035ef536b204f9094e7297093a527f958b86d4ce26613c603f564c"}, - {file = "uv-0.4.7.tar.gz", hash = "sha256:d6c8e43bbdfa2f7910245335acb93fcb5a4e34995b7ce60de4e814071690b3c5"}, -] - -[[package]] -name = "win32-setctime" -version = "1.1.0" -requires_python = ">=3.5" -summary = "A small Python utility to set file creation time on Windows" -files = [ - {file = "win32_setctime-1.1.0-py3-none-any.whl", hash = "sha256:231db239e959c2fe7eb1d7dc129f11172354f98361c4fa2d6d2d7e278baa8aad"}, - {file = "win32_setctime-1.1.0.tar.gz", hash = "sha256:15cf5750465118d6929ae4de4eb46e8edae9a5634350c01ba582df868e932cb2"}, -] - [[package]] name = "yarl" version = "1.9.4" @@ -1448,6 +1476,7 @@ summary = "Yet another URL library" dependencies = [ "idna>=2.0", "multidict>=4.0", + "typing-extensions>=3.7.4; python_version < \"3.8\"", ] files = [ {file = "yarl-1.9.4-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:a8c1df72eb746f4136fe9a2e72b0c9dc1da1cbd23b5372f94b5820ff8ae30e0e"}, diff --git a/pyproject.toml b/pyproject.toml index 98cf8afc..41803516 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -85,7 +85,6 @@ target-version = ["py38", "py39", "py310", "py311"] dev = [ "pip>=24.2", "maturin>=1.7.0", - "uv>=0.4.7", "typing>=3.7.4.3", ] lint = [ @@ -194,19 +193,4 @@ indent-style = "space" skip-magic-trailing-comma = false # Like Black, automatically detect the appropriate line ending. -line-ending = "auto" - -[tool.uv.sources] -iamai-adapter-bililive = { workspace = true } -iamai-adapter-console = { workspace = true } -iamai-adapter-kook = { workspace = true } -iamai-adapter-dingtalk = { workspace = true } -iamai-adapter-red = { workspace = true } -iamai-adapter-gensokyo = { workspace = true } -iamai-adapter-apscheduler = { workspace = true } -iamai-adapter-cqhttp = { workspace = true } - -[tool.uv.workspace] -members = [ - "packages/*", -] +line-ending = "auto" \ No newline at end of file