From 94d173b42dbcc11e0c67b05a3e60ec26c898b2dd Mon Sep 17 00:00:00 2001 From: chris48s Date: Thu, 28 Sep 2023 18:38:10 +0100 Subject: [PATCH] use open range for python --- poetry.lock | 78 +++++++++++++++++++++++++++++++++++++++----------- pyproject.toml | 2 +- 2 files changed, 63 insertions(+), 17 deletions(-) diff --git a/poetry.lock b/poetry.lock index 499f1d1..912989b 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1,9 +1,10 @@ -# 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.4.1 and should not be changed by hand. [[package]] name = "babel" version = "2.9.1" description = "Internationalization utilities" +category = "main" optional = false python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" files = [ @@ -18,6 +19,7 @@ pytz = ">=2015.7" name = "black" version = "23.3.0" description = "The uncompromising code formatter." +category = "dev" optional = false python-versions = ">=3.7" files = [ @@ -68,6 +70,7 @@ uvloop = ["uvloop (>=0.15.2)"] name = "certifi" version = "2021.5.30" description = "Python package for providing Mozilla's CA Bundle." +category = "main" optional = false python-versions = "*" files = [ @@ -79,6 +82,7 @@ files = [ name = "charset-normalizer" version = "2.0.6" description = "The Real First Universal Charset Detector. Open, modern and actively maintained alternative to Chardet." +category = "main" optional = false python-versions = ">=3.5.0" files = [ @@ -93,6 +97,7 @@ unicode-backport = ["unicodedata2"] name = "click" version = "8.0.1" description = "Composable command line interface toolkit" +category = "main" optional = false python-versions = ">=3.6" files = [ @@ -108,6 +113,7 @@ importlib-metadata = {version = "*", markers = "python_version < \"3.8\""} name = "colorama" version = "0.4.4" description = "Cross-platform colored terminal text." +category = "main" optional = false python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*" files = [ @@ -119,6 +125,7 @@ files = [ name = "coverage" version = "6.4.4" description = "Code coverage measurement for Python" +category = "dev" optional = false python-versions = ">=3.7" files = [ @@ -184,6 +191,7 @@ toml = ["tomli"] name = "exceptiongroup" version = "1.0.0rc9" description = "Backport of PEP 654 (exception groups)" +category = "dev" optional = false python-versions = ">=3.7" files = [ @@ -198,6 +206,7 @@ test = ["pytest (>=6)"] name = "exifread" version = "2.3.2" description = "Read Exif metadata from tiff and jpeg files." +category = "main" optional = false python-versions = "*" files = [ @@ -209,6 +218,7 @@ files = [ name = "filetype" version = "1.0.8" description = "Infer file type and MIME type of any file/buffer. No external dependencies." +category = "main" optional = false python-versions = "*" files = [ @@ -220,6 +230,7 @@ files = [ name = "flake8" version = "5.0.4" description = "the modular source code checker: pep8 pyflakes and co" +category = "dev" optional = false python-versions = ">=3.6.1" files = [ @@ -237,6 +248,7 @@ pyflakes = ">=2.5.0,<2.6.0" name = "flask" version = "2.0.2" description = "A simple framework for building complex web applications." +category = "main" optional = false python-versions = ">=3.6" files = [ @@ -258,6 +270,7 @@ dotenv = ["python-dotenv"] name = "idna" version = "3.2" description = "Internationalized Domain Names in Applications (IDNA)" +category = "main" optional = false python-versions = ">=3.5" files = [ @@ -269,6 +282,7 @@ files = [ name = "importlib-metadata" version = "4.2.0" description = "Read metadata from Python packages" +category = "main" optional = false python-versions = ">=3.6" files = [ @@ -288,6 +302,7 @@ testing = ["flufl.flake8", "importlib-resources (>=1.3)", "packaging", "pep517", name = "iniconfig" version = "1.1.1" description = "iniconfig: brain-dead simple config-ini parsing" +category = "dev" optional = false python-versions = "*" files = [ @@ -299,6 +314,7 @@ files = [ name = "inifile" version = "0.4.1" description = "A small INI library for Python." +category = "main" optional = false python-versions = "*" files = [ @@ -309,6 +325,7 @@ files = [ name = "isort" version = "5.11.5" description = "A Python utility / library to sort Python imports." +category = "dev" optional = false python-versions = ">=3.7.0" files = [ @@ -326,6 +343,7 @@ requirements-deprecated-finder = ["pip-api", "pipreqs"] name = "itsdangerous" version = "2.0.1" description = "Safely pass data to untrusted environments and back." +category = "main" optional = false python-versions = ">=3.6" files = [ @@ -337,6 +355,7 @@ files = [ name = "jinja2" version = "3.0.2" description = "A very fast and expressive template engine." +category = "main" optional = false python-versions = ">=3.6" files = [ @@ -354,6 +373,7 @@ i18n = ["Babel (>=2.7)"] name = "lektor" version = "3.3.10" description = "A static content management system." +category = "main" optional = false python-versions = ">=3.6" files = [ @@ -386,6 +406,7 @@ ipython = ["ipython", "traitlets"] name = "markupsafe" version = "2.0.1" description = "Safely add untrusted strings to HTML/XML markup." +category = "main" optional = false python-versions = ">=3.6" files = [ @@ -464,6 +485,7 @@ files = [ name = "mccabe" version = "0.7.0" description = "McCabe checker, plugin for flake8" +category = "dev" optional = false python-versions = ">=3.6" files = [ @@ -475,6 +497,7 @@ files = [ name = "mistune" version = "0.8.4" description = "The fastest markdown parser in pure Python" +category = "main" optional = false python-versions = "*" files = [ @@ -486,6 +509,7 @@ files = [ name = "mypy-extensions" version = "0.4.3" description = "Experimental type system extensions for programs checked with the mypy typechecker." +category = "dev" optional = false python-versions = "*" files = [ @@ -497,6 +521,7 @@ files = [ name = "packaging" version = "23.0" description = "Core utilities for Python packages" +category = "dev" optional = false python-versions = ">=3.7" files = [ @@ -508,6 +533,7 @@ files = [ name = "pathspec" version = "0.9.0" description = "Utility library for gitignore style pattern matching of file paths." +category = "dev" optional = false python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,>=2.7" files = [ @@ -519,6 +545,7 @@ files = [ name = "pip" version = "22.2.2" description = "The PyPA recommended tool for installing Python packages." +category = "main" optional = false python-versions = ">=3.7" files = [ @@ -530,6 +557,7 @@ files = [ name = "platformdirs" version = "2.4.0" description = "A small Python module for determining appropriate platform-specific dirs, e.g. a \"user data dir\"." +category = "dev" optional = false python-versions = ">=3.6" files = [ @@ -545,6 +573,7 @@ test = ["appdirs (==1.4.4)", "pytest (>=6)", "pytest-cov (>=2.7)", "pytest-mock name = "pluggy" version = "1.0.0" description = "plugin and hook calling mechanisms for python" +category = "dev" optional = false python-versions = ">=3.6" files = [ @@ -563,6 +592,7 @@ testing = ["pytest", "pytest-benchmark"] name = "pycodestyle" version = "2.9.0" description = "Python style guide checker" +category = "dev" optional = false python-versions = ">=3.6" files = [ @@ -574,6 +604,7 @@ files = [ name = "pyflakes" version = "2.5.0" description = "passive checker of Python programs" +category = "dev" optional = false python-versions = ">=3.6" files = [ @@ -585,6 +616,7 @@ files = [ name = "pytest" version = "7.4.2" description = "pytest: simple powerful testing with Python" +category = "dev" optional = false python-versions = ">=3.7" files = [ @@ -608,6 +640,7 @@ testing = ["argcomplete", "attrs (>=19.2.0)", "hypothesis (>=3.56)", "mock", "no name = "pytest-cov" version = "4.1.0" description = "Pytest plugin for measuring coverage." +category = "dev" optional = false python-versions = ">=3.7" files = [ @@ -626,6 +659,7 @@ testing = ["fields", "hunter", "process-tests", "pytest-xdist", "six", "virtuale name = "python-slugify" version = "5.0.2" description = "A Python Slugify application that handles Unicode" +category = "main" optional = false python-versions = ">=3.6" files = [ @@ -643,6 +677,7 @@ unidecode = ["Unidecode (>=1.1.1)"] name = "pytz" version = "2021.3" description = "World timezone definitions, modern and historical" +category = "main" optional = false python-versions = "*" files = [ @@ -652,20 +687,21 @@ files = [ [[package]] name = "requests" -version = "2.28.1" +version = "2.31.0" description = "Python HTTP for Humans." +category = "main" optional = false -python-versions = ">=3.7, <4" +python-versions = ">=3.7" files = [ - {file = "requests-2.28.1-py3-none-any.whl", hash = "sha256:8fefa2a1a1365bf5520aac41836fbee479da67864514bdb821f31ce07ce65349"}, - {file = "requests-2.28.1.tar.gz", hash = "sha256:7c5599b102feddaa661c826c56ab4fee28bfd17f5abca1ebbe3e7f19d7c97983"}, + {file = "requests-2.31.0-py3-none-any.whl", hash = "sha256:58cd2187c01e70e6e26505bca751777aa9f2ee0b7f4300988b709f44e013003f"}, + {file = "requests-2.31.0.tar.gz", hash = "sha256:942c5a758f98d790eaed1a29cb6eefc7ffb0d1cf7af05c3d2791656dbd6ad1e1"}, ] [package.dependencies] certifi = ">=2017.4.17" -charset-normalizer = ">=2,<3" +charset-normalizer = ">=2,<4" idna = ">=2.5,<4" -urllib3 = ">=1.21.1,<1.27" +urllib3 = ">=1.21.1,<3" [package.extras] socks = ["PySocks (>=1.5.6,!=1.5.7)"] @@ -675,6 +711,7 @@ use-chardet-on-py3 = ["chardet (>=3.0.2,<6)"] name = "setuptools" version = "65.3.0" description = "Easily download, build, install, upgrade, and uninstall Python packages" +category = "main" optional = false python-versions = ">=3.7" files = [ @@ -691,6 +728,7 @@ testing-integration = ["build[virtualenv]", "filelock (>=3.4.0)", "jaraco.envs ( name = "text-unidecode" version = "1.3" description = "The most basic Text::Unidecode port" +category = "main" optional = false python-versions = "*" files = [ @@ -702,6 +740,7 @@ files = [ name = "tomli" version = "1.2.1" description = "A lil' TOML parser" +category = "dev" optional = false python-versions = ">=3.6" files = [ @@ -713,6 +752,7 @@ files = [ name = "typed-ast" version = "1.4.3" description = "a fork of Python 2 and 3 ast modules with type comment support" +category = "dev" optional = false python-versions = "*" files = [ @@ -752,6 +792,7 @@ files = [ name = "typing-extensions" version = "3.10.0.2" description = "Backported and Experimental Type Hints for Python 3.5+" +category = "main" optional = false python-versions = "*" files = [ @@ -762,24 +803,27 @@ files = [ [[package]] name = "urllib3" -version = "1.26.7" +version = "2.0.5" description = "HTTP library with thread-safe connection pooling, file post, and more." +category = "main" optional = false -python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, <4" +python-versions = ">=3.7" files = [ - {file = "urllib3-1.26.7-py2.py3-none-any.whl", hash = "sha256:c4fdf4019605b6e5423637e01bc9fe4daef873709a7973e195ceba0a62bbc844"}, - {file = "urllib3-1.26.7.tar.gz", hash = "sha256:4987c65554f7a2dbf30c18fd48778ef124af6fab771a377103da0585e2336ece"}, + {file = "urllib3-2.0.5-py3-none-any.whl", hash = "sha256:ef16afa8ba34a1f989db38e1dbbe0c302e4289a47856990d0682e374563ce35e"}, + {file = "urllib3-2.0.5.tar.gz", hash = "sha256:13abf37382ea2ce6fb744d4dad67838eec857c9f4f57009891805e0b5e123594"}, ] [package.extras] -brotli = ["brotlipy (>=0.6.0)"] -secure = ["certifi", "cryptography (>=1.3.4)", "idna (>=2.0.0)", "ipaddress", "pyOpenSSL (>=0.14)"] -socks = ["PySocks (>=1.5.6,!=1.5.7,<2.0)"] +brotli = ["brotli (>=1.0.9)", "brotlicffi (>=0.8.0)"] +secure = ["certifi", "cryptography (>=1.9)", "idna (>=2.0.0)", "pyopenssl (>=17.1.0)", "urllib3-secure-extra"] +socks = ["pysocks (>=1.5.6,!=1.5.7,<2.0)"] +zstd = ["zstandard (>=0.18.0)"] [[package]] name = "watchdog" version = "2.1.6" description = "Filesystem events monitoring" +category = "main" optional = false python-versions = ">=3.6" files = [ @@ -815,6 +859,7 @@ watchmedo = ["PyYAML (>=3.10)"] name = "werkzeug" version = "2.0.2" description = "The comprehensive WSGI web application library." +category = "main" optional = false python-versions = ">=3.6" files = [ @@ -829,6 +874,7 @@ watchdog = ["watchdog"] name = "zipp" version = "3.6.0" description = "Backport of pathlib-compatible object wrapper for zip files" +category = "main" optional = false python-versions = ">=3.6" files = [ @@ -842,5 +888,5 @@ testing = ["func-timeout", "jaraco.itertools", "pytest (>=4.6)", "pytest-black ( [metadata] lock-version = "2.0" -python-versions = "^3.7" -content-hash = "d3b134485fa45e6dcd4f3ed155dc6a1cc4ecfaeb5af864accc452704eeaa8f67" +python-versions = ">=3.7" +content-hash = "b7d724ad65ebe29df40e340d6ff35ee088dbac4c087f5851b464700636a2ef9d" diff --git a/pyproject.toml b/pyproject.toml index 040ffe8..e55546a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -13,7 +13,7 @@ classifiers = [ ] [tool.poetry.dependencies] -python = "^3.7" +python = ">=3.7" lektor = "3.*" [tool.poetry.dev-dependencies]