From 83e7a607181b9f86a5e4918e63850489214024df Mon Sep 17 00:00:00 2001 From: Emil Date: Wed, 17 Jul 2024 09:38:11 +0200 Subject: [PATCH] Change to python ^3.10 --- poetry.lock | 31 +++++++++++++++++++++++++++++-- pyproject.toml | 12 +++++++++--- 2 files changed, 38 insertions(+), 5 deletions(-) diff --git a/poetry.lock b/poetry.lock index 40d43aa..6729912 100644 --- a/poetry.lock +++ b/poetry.lock @@ -12,8 +12,10 @@ files = [ ] [package.dependencies] +exceptiongroup = {version = ">=1.0.2", markers = "python_version < \"3.11\""} idna = ">=2.8" sniffio = ">=1.1" +typing-extensions = {version = ">=4.1", markers = "python_version < \"3.11\""} [package.extras] doc = ["Sphinx (>=7)", "packaging", "sphinx-autodoc-typehints (>=1.2.0)", "sphinx-rtd-theme"] @@ -53,6 +55,20 @@ files = [ {file = "distlib-0.3.8.tar.gz", hash = "sha256:1530ea13e350031b6312d8580ddb6b27a104275a31106523b8f123787f494f64"}, ] +[[package]] +name = "exceptiongroup" +version = "1.2.2" +description = "Backport of PEP 654 (exception groups)" +optional = false +python-versions = ">=3.7" +files = [ + {file = "exceptiongroup-1.2.2-py3-none-any.whl", hash = "sha256:3111b9d131c238bec2f8f516e123e14ba243563fb135d3fe885990585aa7795b"}, + {file = "exceptiongroup-1.2.2.tar.gz", hash = "sha256:47c2edf7c6738fafb49fd34290706d1a1a2f4d1c6df275526b62cbb4aa5393cc"}, +] + +[package.extras] +test = ["pytest (>=6)"] + [[package]] name = "filelock" version = "3.15.4" @@ -293,6 +309,17 @@ files = [ {file = "sniffio-1.3.1.tar.gz", hash = "sha256:f4324edc670a0f49750a81b895f35c3adb843cca46f0530f79fc1babb23789dc"}, ] +[[package]] +name = "typing-extensions" +version = "4.12.2" +description = "Backported and Experimental Type Hints for Python 3.8+" +optional = false +python-versions = ">=3.8" +files = [ + {file = "typing_extensions-4.12.2-py3-none-any.whl", hash = "sha256:04e5ca0351e0f3f85c6853954072df659d0d13fac324d0072316b67d7794700d"}, + {file = "typing_extensions-4.12.2.tar.gz", hash = "sha256:1a7ead55c7e559dd4dee8856e3a88b41225abfe1ce8df57b7c13915fe121ffb8"}, +] + [[package]] name = "virtualenv" version = "20.26.3" @@ -315,5 +342,5 @@ test = ["covdefaults (>=2.3)", "coverage (>=7.2.7)", "coverage-enable-subprocess [metadata] lock-version = "2.0" -python-versions = "^3.12" -content-hash = "fec2de69fc04aac9725273b844604a654c062dd1b5d9c0b8dec05cccac6e4815" +python-versions = "^3.10" +content-hash = "bf22f74291a7a3f5cc12cfa3c8770999b143f30116659d33a39bf0b8889fcfbc" diff --git a/pyproject.toml b/pyproject.toml index f15666f..b05634e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,16 +1,22 @@ [tool.poetry] authors = ["dunderrrrrr "] -description = "" +description = "A python API wrapper for blocket.se" name = "blocket_api" readme = "README.md" -version = "0.1.1" +version = "0.1.2" [tool.poetry.dependencies] httpx = "^0.27.0" -python = "^3.12" +python = "^3.10" pre-commit = "^3.7.1" ruff = "^0.5.2" +[project.urls] +Homepage = "https://github.com/dunderrrrrr/blocket_api" +Repository = "https://github.com/dunderrrrrr/blocket_api" +Documentation = "https://github.com/dunderrrrrr/blocket_api/blob/main/README.md" +Issues = "https://github.com/dunderrrrrr/blocket_api/issues" + [build-system] build-backend = "poetry.core.masonry.api" requires = ["poetry-core"]