From 872d656817fa5468bdede7fc691592122ee88009 Mon Sep 17 00:00:00 2001 From: Artur Barseghyan Date: Mon, 20 Nov 2023 00:09:56 +0100 Subject: [PATCH 1/7] Prepare 0.17.11 --- CHANGELOG.rst | 6 ++++++ setup.py | 2 +- src/faker_file/__init__.py | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index ea3408d..ed1d3b8 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -28,6 +28,12 @@ are used for versioning (schema follows below): 0.3.4 to 0.4). - All backwards incompatible changes are mentioned in this document. +0.17.11 +------- +2023-11-20 + +- Minor documentation fixes. + 0.17.10 ------- 2023-11-19 diff --git a/setup.py b/setup.py index da9e147..5d5dc58 100644 --- a/setup.py +++ b/setup.py @@ -16,7 +16,7 @@ def clean_readme(text: str) -> str: return text -version = "0.17.10" +version = "0.17.11" try: readme = open(os.path.join(os.path.dirname(__file__), "README.rst")).read() diff --git a/src/faker_file/__init__.py b/src/faker_file/__init__.py index 67c9af2..cf74353 100644 --- a/src/faker_file/__init__.py +++ b/src/faker_file/__init__.py @@ -1,5 +1,5 @@ __title__ = "faker_file" -__version__ = "0.17.10" +__version__ = "0.17.11" __author__ = "Artur Barseghyan " __copyright__ = "2022-2023 Artur Barseghyan" __license__ = "MIT" From 18eb34e01b5428dcbddbcf96f9456b1dd2c4839c Mon Sep 17 00:00:00 2001 From: Artur Barseghyan Date: Mon, 20 Nov 2023 01:44:48 +0100 Subject: [PATCH 2/7] Fix in docs --- docs/recipes.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/recipes.rst b/docs/recipes.rst index 4f04b55..e3f6be3 100644 --- a/docs/recipes.rst +++ b/docs/recipes.rst @@ -619,6 +619,7 @@ however narrow that list by providing ``extensions`` argument: :download:`here <_static/examples/recipes/augment_file_from_dir_2.py>` ---- + Actual augmentation of texts is delegated to an abstraction layer of text augmenters. Currently, two augmenters are implemented. Default one is based on `textaugment`_ (which is in its' turn based on `nltk`_) is very lightweight From dfbffedbbee35ba2b156fcade5d61ea61ba4a47b Mon Sep 17 00:00:00 2001 From: Artur Barseghyan Date: Mon, 20 Nov 2023 23:53:29 +0100 Subject: [PATCH 3/7] Minor fixes in test storage --- .secrets.baseline | 4 ++-- src/faker_file/tests/test_sftp_storage.py | 20 +++++++++++++++++++- 2 files changed, 21 insertions(+), 3 deletions(-) diff --git a/.secrets.baseline b/.secrets.baseline index 049382d..effafc1 100644 --- a/.secrets.baseline +++ b/.secrets.baseline @@ -206,7 +206,7 @@ "filename": "src/faker_file/tests/test_sftp_storage.py", "hashed_secret": "a4b48a81cdab1e1a5dd37907d6c85ca1c61ddc7c", "is_verified": true, - "line_number": 265 + "line_number": 283 } ], "src/faker_file/tests/test_storages.py": [ @@ -219,5 +219,5 @@ } ] }, - "generated_at": "2023-11-19T23:07:25Z" + "generated_at": "2023-11-20T22:53:14Z" } diff --git a/src/faker_file/tests/test_sftp_storage.py b/src/faker_file/tests/test_sftp_storage.py index f779ac6..0bf471e 100644 --- a/src/faker_file/tests/test_sftp_storage.py +++ b/src/faker_file/tests/test_sftp_storage.py @@ -44,6 +44,8 @@ class TestSFTPStorageTestCase(unittest.TestCase): sftp_user: str = SFTP_USER sftp_pass: str = SFTP_PASS sftp_root_path: str = SFTP_ROOT_PATH + # Maximum number of retries to check if the port is free + max_port_retry_limit: int = 10 @staticmethod def is_port_in_use(host: str, port: int) -> bool: @@ -52,13 +54,29 @@ def is_port_in_use(host: str, port: int) -> bool: @classmethod def free_port(cls: "TestSFTPStorageTestCase") -> None: - # Check if the port is in use and wait until it is free + """Check if the port is in use and wait until it is free.""" + retry_count = 0 while cls.is_port_in_use(cls.sftp_host, cls.sftp_port): + if retry_count >= cls.max_port_retry_limit: + LOGGER.warning( + f"Maximum retries reached. Port {cls.sftp_port} on " + f"host {cls.sftp_host} may not be free soon." + ) + retry_count = 0 # Reset the retry count + # Assign a new port + cls.sftp_port = int(AutoFreePortInt(host=SFTP_HOST)) + LOGGER.warning( + f"Assigned a new port {cls.sftp_port} on " + f"host {cls.sftp_host}. Restarting attempts..." + ) + continue + LOGGER.info( f"Port {cls.sftp_port} in use on host {cls.sftp_host}, " f"waiting..." ) time.sleep(1) + retry_count += 1 def tearDown(self) -> None: super().tearDown() From 4e04404f15c591569cca35e989e12d609ca1b600 Mon Sep 17 00:00:00 2001 From: Artur Barseghyan Date: Thu, 21 Dec 2023 20:20:34 +0100 Subject: [PATCH 4/7] Fix/fixes (#70) * Fix --- src/faker_file/base.py | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/src/faker_file/base.py b/src/faker_file/base.py index 33beadc..f5a82ed 100644 --- a/src/faker_file/base.py +++ b/src/faker_file/base.py @@ -36,11 +36,23 @@ class StringValue(str): - data: Dict[str, Any] = {} + __slots__ = ("data",) + + data: Dict[str, Any] + + def __new__(cls, value, *args, **kwargs): + obj = str.__new__(cls, value) + obj.data = {} + return obj class BytesValue(bytes): - data: Dict[str, Any] = {} + data: Dict[str, Any] + + def __new__(cls, value, *args, **kwargs): + obj = bytes.__new__(cls, value) + obj.data = {} + return obj def parse_format_func( From 0020a12cca2cf298fd26375f07ff111c4399102e Mon Sep 17 00:00:00 2001 From: Artur Barseghyan Date: Thu, 12 Sep 2024 01:25:51 +0200 Subject: [PATCH 5/7] Docs/fix docs (#72) * Add upgrade option * Compile reqs * Up pre-commot * Up secrets --- .github/workflows/test.yml | 12 +- .pre-commit-config.yaml | 8 +- .secrets.baseline | 12 +- CHANGELOG.rst | 6 + Makefile | 272 ++++++++++---- README.rst | 2 +- docs/test_docs.py | 4 +- examples/requirements/common.in | 3 +- examples/requirements/common.txt | 208 +++++------ examples/requirements/debug.txt | 49 ++- examples/requirements/deployment.txt | 72 ++-- examples/requirements/dev.txt | 331 +++++++++--------- examples/requirements/django_2_2.txt | 278 ++++++++------- .../requirements/django_2_2_and_flask.txt | 290 +++++++-------- examples/requirements/django_3_2.txt | 289 ++++++++------- .../requirements/django_3_2_and_flask.txt | 301 ++++++++-------- examples/requirements/django_4_0.txt | 289 ++++++++------- .../requirements/django_4_0_and_flask.txt | 301 ++++++++-------- examples/requirements/django_4_1.txt | 289 ++++++++------- .../requirements/django_4_1_and_flask.txt | 301 ++++++++-------- examples/requirements/django_4_2.in | 3 +- examples/requirements/django_4_2.txt | 252 +++++++------ .../requirements/django_4_2_and_flask.txt | 275 ++++++++------- examples/requirements/docs.txt | 325 ++++++++--------- examples/requirements/flask.in | 4 +- examples/requirements/flask.txt | 274 ++++++++------- examples/requirements/ml.in | 2 + examples/requirements/ml.txt | 263 +++++++------- examples/requirements/style_checkers.txt | 75 ++-- examples/requirements/test.in | 2 +- examples/requirements/test.txt | 116 +++--- examples/requirements/testing.txt | 289 ++++++++------- .../2695cb77cdf2_create_product_table.py | 1 + pyproject.toml | 8 +- setup.py | 13 +- src/faker_file/__init__.py | 4 +- .../contrib/pdf_file/pil_snippets.py | 1 + .../augment_file_from_dir/__init__.py | 6 +- .../providers/augment_image_from_path.py | 6 +- .../augment_random_image_from_dir.py | 6 +- src/faker_file/providers/bin_file.py | 6 +- src/faker_file/providers/bmp_file.py | 12 +- src/faker_file/providers/csv_file.py | 6 +- src/faker_file/providers/docx_file.py | 6 +- src/faker_file/providers/eml_file.py | 6 +- src/faker_file/providers/epub_file.py | 6 +- src/faker_file/providers/file_from_path.py | 6 +- src/faker_file/providers/generic_file.py | 6 +- src/faker_file/providers/gif_file.py | 12 +- src/faker_file/providers/helpers/inner.py | 198 ++++------- src/faker_file/providers/ico_file.py | 12 +- src/faker_file/providers/jpeg_file.py | 12 +- src/faker_file/providers/json_file.py | 6 +- .../providers/mixins/graphic_image_mixin.py | 6 +- .../providers/mixins/image_mixin.py | 6 +- .../providers/mixins/tablular_data_mixin.py | 6 +- src/faker_file/providers/mp3_file/__init__.py | 6 +- src/faker_file/providers/odp_file.py | 6 +- src/faker_file/providers/ods_file.py | 6 +- src/faker_file/providers/odt_file.py | 6 +- src/faker_file/providers/pdf_file/__init__.py | 12 +- src/faker_file/providers/png_file.py | 12 +- src/faker_file/providers/pptx_file.py | 6 +- .../providers/random_file_from_dir.py | 6 +- src/faker_file/providers/rtf_file.py | 6 +- src/faker_file/providers/svg_file.py | 6 +- src/faker_file/providers/tar_file.py | 46 ++- src/faker_file/providers/tiff_file.py | 12 +- src/faker_file/providers/txt_file.py | 6 +- src/faker_file/providers/webp_file.py | 12 +- src/faker_file/providers/xlsx_file.py | 6 +- src/faker_file/providers/xml_file.py | 6 +- src/faker_file/providers/zip_file.py | 6 +- src/faker_file/storages/base.py | 14 + src/faker_file/storages/cloud.py | 48 +-- src/faker_file/storages/filesystem.py | 23 +- src/faker_file/storages/sftp_storage.py | 22 +- src/faker_file/tests/_conftest.py | 1 + 78 files changed, 3028 insertions(+), 2800 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ae2d2c3..0773a80 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -75,9 +75,9 @@ jobs: python -m pip install --upgrade pip - name: Install tox run: | - python -m pip install --no-cache-dir tox-gh-actions pip-tools Django djangorestframework django-extensions drf_spectacular + python -m pip install --no-cache-dir tox-gh-actions uv Django djangorestframework django-extensions drf_spectacular - name: Compile requirements - run: pip-compile examples/requirements/flask.in + run: uv pip compile examples/requirements/flask.in --no-strip-extras - name: Install requirements run: pip install --no-cache-dir -r examples/requirements/flask.txt - name: Run test suite @@ -121,9 +121,13 @@ jobs: python -m pip install --upgrade pip - name: Install tox run: | - python -m pip install --no-cache-dir tox-gh-actions pip-tools Django djangorestframework django-extensions drf_spectacular + python -m pip install --no-cache-dir tox-gh-actions uv Django djangorestframework django-extensions drf_spectacular +# - name: Remove compiled requirements +# run: rm examples/requirements/ml.txt - name: Compile requirements - run: pip-compile examples/requirements/ml.in + run: uv pip compile examples/requirements/ml.in --no-strip-extras -o examples/requirements/ml.txt +# - name: Install package +# run: pip install .[all] - name: Install requirements run: pip install --no-cache-dir -r examples/requirements/ml.txt - name: Run test suite diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 3815b12..5e78fcd 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -20,7 +20,7 @@ repos: args: [] - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.4.0 + rev: v4.6.0 hooks: - id: trailing-whitespace exclude: "data/" @@ -33,7 +33,7 @@ repos: - id: check-merge-conflict - repo: https://github.com/psf/black - rev: 23.1.0 + rev: 24.4.2 hooks: - id: black name: black @@ -41,7 +41,7 @@ repos: args: [ "--config", "pyproject.toml" ] - repo: https://github.com/pycqa/isort - rev: 5.12.0 + rev: 5.13.2 hooks: - id: isort name: isort @@ -49,7 +49,7 @@ repos: args: [ "--settings-path", "pyproject.toml", "--profile=black" ] - repo: https://github.com/charliermarsh/ruff-pre-commit - rev: v0.0.252 + rev: v0.4.4 hooks: - id: ruff name: lint diff --git a/.secrets.baseline b/.secrets.baseline index effafc1..505cb9a 100644 --- a/.secrets.baseline +++ b/.secrets.baseline @@ -1,5 +1,5 @@ { - "version": "1.4.0", + "version": "1.5.0", "plugins_used": [ { "name": "ArtifactoryDetector" @@ -118,14 +118,14 @@ "filename": "Makefile", "hashed_secret": "504a5c3a2ce5fa0acc5f8d9685dc45860c25a8ed", "is_verified": true, - "line_number": 100 + "line_number": 283 }, { "type": "Secret Keyword", "filename": "Makefile", "hashed_secret": "a3dd3453449ace4d9d2320fa941a909b57c0e846", "is_verified": true, - "line_number": 103 + "line_number": 286 } ], "README.rst": [ @@ -170,7 +170,7 @@ "filename": "examples/sqlalchemy_example/faker_file_admin/alembic/versions/2695cb77cdf2_create_product_table.py", "hashed_secret": "e303f337415ced59e878c080fbfb3b1543d2a29a", "is_verified": true, - "line_number": 12 + "line_number": 13 } ], "src/faker_file/storages/sftp_storage.py": [ @@ -179,7 +179,7 @@ "filename": "src/faker_file/storages/sftp_storage.py", "hashed_secret": "9d4e1e23bd5b727046a9e3b4b7db57bd8d6ee684", "is_verified": true, - "line_number": 36 + "line_number": 35 } ], "src/faker_file/tests/data.py": [ @@ -219,5 +219,5 @@ } ] }, - "generated_at": "2023-11-20T22:53:14Z" + "generated_at": "2024-09-10T21:44:07Z" } diff --git a/CHANGELOG.rst b/CHANGELOG.rst index ed1d3b8..841d0d7 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -28,6 +28,12 @@ are used for versioning (schema follows below): 0.3.4 to 0.4). - All backwards incompatible changes are mentioned in this document. +0.17.12 +------- +2024-09-10 + +- Minor fixes. + 0.17.11 ------- 2023-11-20 diff --git a/Makefile b/Makefile index 710bdc5..df657a2 100644 --- a/Makefile +++ b/Makefile @@ -37,64 +37,247 @@ clean: compile_requirements: echo "common.in" - pip-compile examples/requirements/common.in "$$@" + pip-compile examples/requirements/common.in echo "debug.in" - pip-compile examples/requirements/debug.in "$$@" + pip-compile examples/requirements/debug.in echo "deployment.in" - pip-compile examples/requirements/deployment.in "$$@" + pip-compile examples/requirements/deployment.in echo "dev.in" - pip-compile examples/requirements/dev.in "$$@" + pip-compile examples/requirements/dev.in + + echo "django_2_2.in" + pip-compile examples/requirements/django_2_2.in + + echo "django_3_2.in" + pip-compile examples/requirements/django_3_2.in + + echo "django_4_0.in" + pip-compile examples/requirements/django_4_0.in + + echo "django_4_1.in" + pip-compile examples/requirements/django_4_1.in + + echo "django_4_2.in" + pip-compile examples/requirements/django_4_2.in + + echo "django_2_2_and_flask.in" + pip-compile examples/requirements/django_2_2_and_flask.in + + echo "django_3_2_and_flask.in" + pip-compile examples/requirements/django_3_2_and_flask.in + + echo "django_4_0_and_flask.in" + pip-compile examples/requirements/django_4_0_and_flask.in + + echo "django_4_1_and_flask.in" + pip-compile examples/requirements/django_4_1_and_flask.in + + echo "django_4_2_and_flask.in" + pip-compile examples/requirements/django_4_2_and_flask.in + + echo "docs.in" + pip-compile examples/requirements/docs.in + + echo "flask.in" + pip-compile examples/requirements/flask.in + + echo "ml.in" + pip-compile examples/requirements/ml.in + + echo "style_checkers.in" + pip-compile examples/requirements/style_checkers.in + + echo "test.in" + pip-compile examples/requirements/test.in + + echo "testing.in" + pip-compile examples/requirements/testing.in + +compile_requirements_upgrade: + echo "common.in" + pip-compile --upgrade examples/requirements/common.in + + echo "debug.in" + pip-compile --upgrade examples/requirements/debug.in + + echo "deployment.in" + pip-compile --upgrade examples/requirements/deployment.in + + echo "dev.in" + pip-compile --upgrade examples/requirements/dev.in + + echo "django_2_2.in" + pip-compile --upgrade examples/requirements/django_2_2.in + + echo "django_3_2.in" + pip-compile --upgrade examples/requirements/django_3_2.in + + echo "django_4_0.in" + pip-compile --upgrade examples/requirements/django_4_0.in + + echo "django_4_1.in" + pip-compile --upgrade examples/requirements/django_4_1.in + + echo "django_4_2.in" + pip-compile --upgrade examples/requirements/django_4_2.in + + echo "django_2_2_and_flask.in" + pip-compile --upgrade examples/requirements/django_2_2_and_flask.in + + echo "django_3_2_and_flask.in" + pip-compile --upgrade examples/requirements/django_3_2_and_flask.in + + echo "django_4_0_and_flask.in" + pip-compile --upgrade examples/requirements/django_4_0_and_flask.in + + echo "django_4_1_and_flask.in" + pip-compile --upgrade examples/requirements/django_4_1_and_flask.in + + echo "django_4_2_and_flask.in" + pip-compile --upgrade examples/requirements/django_4_2_and_flask.in + + echo "docs.in" + pip-compile --upgrade examples/requirements/docs.in + + echo "flask.in" + pip-compile --upgrade examples/requirements/flask.in + + echo "ml.in" + pip-compile --upgrade examples/requirements/ml.in + + echo "style_checkers.in" + pip-compile --upgrade examples/requirements/style_checkers.in + + echo "test.in" + pip-compile --upgrade examples/requirements/test.in + + echo "testing.in" + pip-compile --upgrade examples/requirements/testing.in + +uv_compile_requirements: + echo "common.in" + uv pip compile --no-strip-extras examples/requirements/common.in -o examples/requirements/common.txt + + echo "debug.in" + uv pip compile --no-strip-extras examples/requirements/debug.in -o examples/requirements/debug.txt + + echo "deployment.in" + uv pip compile --no-strip-extras examples/requirements/deployment.in -o examples/requirements/deployment.txt + + echo "dev.in" + uv pip compile --no-strip-extras examples/requirements/dev.in -o examples/requirements/dev.txt + + echo "django_2_2.in" + uv pip compile --no-strip-extras examples/requirements/django_2_2.in -o examples/requirements/django_2_2.txt + + echo "django_3_2.in" + uv pip compile --no-strip-extras examples/requirements/django_3_2.in -o examples/requirements/django_3_2.txt + + echo "django_4_0.in" + uv pip compile --no-strip-extras examples/requirements/django_4_0.in -o examples/requirements/django_4_0.txt + + echo "django_4_1.in" + uv pip compile --no-strip-extras examples/requirements/django_4_1.in -o examples/requirements/django_4_1.txt + + echo "django_4_2.in" + uv pip compile --no-strip-extras examples/requirements/django_4_2.in -o examples/requirements/django_4_2.txt + + echo "django_2_2_and_flask.in" + uv pip compile --no-strip-extras examples/requirements/django_2_2_and_flask.in -o examples/requirements/django_2_2_and_flask.txt + + echo "django_3_2_and_flask.in" + uv pip compile --no-strip-extras examples/requirements/django_3_2_and_flask.in -o examples/requirements/django_3_2_and_flask.txt + + echo "django_4_0_and_flask.in" + uv pip compile --no-strip-extras examples/requirements/django_4_0_and_flask.in -o examples/requirements/django_4_0_and_flask.txt + + echo "django_4_1_and_flask.in" + uv pip compile --no-strip-extras examples/requirements/django_4_1_and_flask.in -o examples/requirements/django_4_1_and_flask.txt + + echo "django_4_2_and_flask.in" + uv pip compile --no-strip-extras examples/requirements/django_4_2_and_flask.in -o examples/requirements/django_4_2_and_flask.txt + + echo "docs.in" + uv pip compile --no-strip-extras examples/requirements/docs.in -o examples/requirements/docs.txt + + echo "flask.in" + uv pip compile --no-strip-extras examples/requirements/flask.in -o examples/requirements/flask.txt + + echo "ml.in" + uv pip compile --no-strip-extras examples/requirements/ml.in -o examples/requirements/ml.txt + + echo "style_checkers.in" + uv pip compile --no-strip-extras examples/requirements/style_checkers.in -o examples/requirements/style_checkers.txt + + echo "test.in" + uv pip compile --no-strip-extras examples/requirements/test.in -o examples/requirements/test.txt + + echo "testing.in" + uv pip compile --no-strip-extras examples/requirements/testing.in -o examples/requirements/testing.txt + +uv_compile_requirements_upgrade: + echo "common.in" + uv pip compile --upgrade --no-strip-extras examples/requirements/common.in -o examples/requirements/common.txt + + echo "debug.in" + uv pip compile --upgrade --no-strip-extras examples/requirements/debug.in -o examples/requirements/debug.txt + + echo "deployment.in" + uv pip compile --upgrade --no-strip-extras examples/requirements/deployment.in -o examples/requirements/deployment.txt + + echo "dev.in" + uv pip compile --upgrade --no-strip-extras examples/requirements/dev.in -o examples/requirements/dev.txt echo "django_2_2.in" - pip-compile examples/requirements/django_2_2.in "$$@" + uv pip compile --upgrade --no-strip-extras examples/requirements/django_2_2.in -o examples/requirements/django_2_2.txt echo "django_3_2.in" - pip-compile examples/requirements/django_3_2.in "$$@" + uv pip compile --upgrade --no-strip-extras examples/requirements/django_3_2.in -o examples/requirements/django_3_2.txt echo "django_4_0.in" - pip-compile examples/requirements/django_4_0.in "$$@" + uv pip compile --upgrade --no-strip-extras examples/requirements/django_4_0.in -o examples/requirements/django_4_0.txt echo "django_4_1.in" - pip-compile examples/requirements/django_4_1.in "$$@" + uv pip compile --upgrade --no-strip-extras examples/requirements/django_4_1.in -o examples/requirements/django_4_1.txt echo "django_4_2.in" - pip-compile examples/requirements/django_4_2.in "$$@" + uv pip compile --upgrade --no-strip-extras examples/requirements/django_4_2.in -o examples/requirements/django_4_2.txt echo "django_2_2_and_flask.in" - pip-compile examples/requirements/django_2_2_and_flask.in "$$@" + uv pip compile --upgrade --no-strip-extras examples/requirements/django_2_2_and_flask.in -o examples/requirements/django_2_2_and_flask.txt echo "django_3_2_and_flask.in" - pip-compile examples/requirements/django_3_2_and_flask.in "$$@" + uv pip compile --upgrade --no-strip-extras examples/requirements/django_3_2_and_flask.in -o examples/requirements/django_3_2_and_flask.txt echo "django_4_0_and_flask.in" - pip-compile examples/requirements/django_4_0_and_flask.in "$$@" + uv pip compile --upgrade --no-strip-extras examples/requirements/django_4_0_and_flask.in -o examples/requirements/django_4_0_and_flask.txt echo "django_4_1_and_flask.in" - pip-compile examples/requirements/django_4_1_and_flask.in "$$@" + uv pip compile --upgrade --no-strip-extras examples/requirements/django_4_1_and_flask.in -o examples/requirements/django_4_1_and_flask.txt echo "django_4_2_and_flask.in" - pip-compile examples/requirements/django_4_2_and_flask.in "$$@" + uv pip compile --upgrade --no-strip-extras examples/requirements/django_4_2_and_flask.in -o examples/requirements/django_4_2_and_flask.txt echo "docs.in" - pip-compile examples/requirements/docs.in "$$@" + uv pip compile --upgrade --no-strip-extras examples/requirements/docs.in -o examples/requirements/docs.txt echo "flask.in" - pip-compile examples/requirements/flask.in "$$@" + uv pip compile --upgrade --no-strip-extras examples/requirements/flask.in -o examples/requirements/flask.txt echo "ml.in" - pip-compile examples/requirements/ml.in "$$@" + uv pip compile --upgrade --no-strip-extras examples/requirements/ml.in -o examples/requirements/ml.txt echo "style_checkers.in" - pip-compile examples/requirements/style_checkers.in "$$@" + uv pip compile --upgrade --no-strip-extras examples/requirements/style_checkers.in -o examples/requirements/style_checkers.txt echo "test.in" - pip-compile examples/requirements/test.in "$$@" + uv pip compile --upgrade --no-strip-extras examples/requirements/test.in -o examples/requirements/test.txt echo "testing.in" - pip-compile examples/requirements/testing.in "$$@" + uv pip compile --upgrade --no-strip-extras examples/requirements/testing.in -o examples/requirements/testing.txt detect_secrets_create_baseline: detect-secrets scan > .secrets.baseline @@ -189,51 +372,4 @@ uninstall: rm builddocs.zip rm builddocs/ -rf -upgrade_requirements: - echo "common.in" - pip-compile examples/requirements/common.in --upgrade "$$@" - - echo "debug.in" - pip-compile examples/requirements/debug.in --upgrade "$$@" - - echo "deployment.in" - pip-compile examples/requirements/deployment.in --upgrade "$$@" - - echo "dev.in" - pip-compile examples/requirements/dev.in --upgrade "$$@" - - echo "django_3_2.in" - pip-compile examples/requirements/django_3_2.in --upgrade "$$@" - - echo "django_4_1.in" - pip-compile examples/requirements/django_4_1.in --upgrade "$$@" - - echo "django_4_2.in" - pip-compile examples/requirements/django_4_2.in --upgrade "$$@" - - echo "django_3_2_and_flask.in" - pip-compile examples/requirements/django_3_2_and_flask.in --upgrade "$$@" - - echo "django_4_1_and_flask.in" - pip-compile examples/requirements/django_4_1_and_flask.in --upgrade "$$@" - - echo "django_4_2_and_flask.in" - pip-compile examples/requirements/django_4_2_and_flask.in --upgrade "$$@" - - echo "docs.in" - pip-compile examples/requirements/docs.in --upgrade "$$@" - - echo "flask.in" - pip-compile examples/requirements/flask.in --upgrade "$$@" - - echo "ml.in" - pip-compile examples/requirements/ml.in --upgrade "$$@" - - echo "style_checkers.in" - pip-compile examples/requirements/style_checkers.in --upgrade "$$@" - - echo "test.in" - pip-compile examples/requirements/test.in --upgrade "$$@" - - echo "testing.in" - pip-compile examples/requirements/testing.in --upgrade "$$@" +upgrade_requirements: compile_requirements_upgrade diff --git a/README.rst b/README.rst index fcd5bc2..dc59479 100644 --- a/README.rst +++ b/README.rst @@ -661,7 +661,7 @@ Please, use the following entry when citing `faker-file`_ in your research: @software{faker-file, author = {Artur Barseghyan}, title = {faker-file: Create files with fake data. In many formats. With no efforts.}, - year = {2023}, + year = {2022-2024}, publisher = {GitHub}, journal = {GitHub repository}, howpublished = {https://github.com/barseghyanartur/faker-file}, diff --git a/docs/test_docs.py b/docs/test_docs.py index d2b2d9c..3ac7d7e 100644 --- a/docs/test_docs.py +++ b/docs/test_docs.py @@ -8,7 +8,7 @@ import tika from django.test import override_settings from faker_file.registry import FILE_REGISTRY -from moto import mock_s3 +from moto import mock_aws # Walk through the directory and all subdirectories for .py files example_dir = Path("docs/_static/examples") @@ -49,7 +49,7 @@ def mock_paramiko(): # We have to apply `moto` mocking to all test functions, because in some # we have boto dependant code. -@mock_s3 +@mock_aws def execute_file(file_path, caplog): """Dynamic test function.""" global_vars = {} diff --git a/examples/requirements/common.in b/examples/requirements/common.in index 99200b2..ee19b18 100644 --- a/examples/requirements/common.in +++ b/examples/requirements/common.in @@ -3,10 +3,11 @@ imgkit gTTS odfpy openpyxl -pathy[all] +pathy[all]>=0.10.0,<0.11.0 pdfkit python-docx python-pptx +pytz reportlab tablib xml2epub diff --git a/examples/requirements/common.txt b/examples/requirements/common.txt index facbfe9..80e5722 100644 --- a/examples/requirements/common.txt +++ b/examples/requirements/common.txt @@ -1,61 +1,53 @@ -# -# This file is autogenerated by pip-compile with Python 3.10 -# by the following command: -# -# pip-compile examples/requirements/common.in -# -aiohttp==3.8.3 +# This file was autogenerated by uv via the following command: +# uv pip compile --no-strip-extras examples/requirements/common.in -o examples/requirements/common.txt +aiohappyeyeballs==2.4.0 + # via aiohttp +aiohttp==3.10.5 # via edge-tts aiosignal==1.3.1 # via aiohttp -async-timeout==4.0.2 +async-timeout==4.0.3 # via aiohttp -attrs==22.1.0 - # via - # aiohttp - # pytest -azure-core==1.26.1 - # via - # azure-storage-blob - # msrest -azure-storage-blob==12.14.1 +attrs==24.2.0 + # via aiohttp +azure-core==1.30.2 + # via azure-storage-blob +azure-storage-blob==12.22.0 # via pathy -bcrypt==4.0.1 +bcrypt==4.2.0 # via paramiko -beautifulsoup4==4.11.1 +beautifulsoup4==4.12.3 # via xml2epub -boto3==1.26.29 +boto3==1.35.16 # via pathy -botocore==1.29.29 +botocore==1.35.16 # via # boto3 # s3transfer -brotli==1.0.9 +brotli==1.1.0 # via fonttools -cachetools==5.2.0 +cachetools==5.5.0 # via google-auth -certifi==2022.12.7 +certifi==2024.8.30 # via - # msrest + # edge-tts # requests -cffi==1.15.1 +cffi==1.17.1 # via # cryptography # pynacl # weasyprint -charset-normalizer==2.1.1 - # via - # aiohttp - # requests -click==7.1.2 +chardet==5.2.0 + # via reportlab +charset-normalizer==3.3.2 + # via requests +click==8.1.7 # via # gtts # typer -colorama==0.4.6 - # via typer-cli -coverage[toml]==6.5.0 +coverage[toml]==7.6.1 # via pytest-cov -cryptography==38.0.4 +cryptography==43.0.1 # via # azure-storage-blob # paramiko @@ -63,196 +55,208 @@ cssselect2==0.7.0 # via weasyprint defusedxml==0.7.1 # via odfpy -edge-tts==6.0.8 +edge-tts==6.1.12 # via -r examples/requirements/common.in et-xmlfile==1.1.0 # via openpyxl -exceptiongroup==1.0.4 +exceptiongroup==1.2.2 # via pytest -fonttools[woff]==4.41.0 +fonttools[woff]==4.53.1 # via weasyprint -frozenlist==1.3.3 +frozenlist==1.4.1 # via # aiohttp # aiosignal -google-api-core==2.11.0 +google-api-core==2.19.2 # via # google-cloud-core # google-cloud-storage -google-auth==2.15.0 +google-auth==2.34.0 # via # google-api-core # google-cloud-core # google-cloud-storage -google-cloud-core==2.3.2 +google-cloud-core==2.4.1 # via google-cloud-storage google-cloud-storage==1.44.0 # via pathy -google-crc32c==1.5.0 +google-crc32c==1.6.0 # via google-resumable-media -google-resumable-media==2.4.0 +google-resumable-media==2.7.2 # via google-cloud-storage -googleapis-common-protos==1.57.0 +googleapis-common-protos==1.65.0 # via google-api-core -gtts==2.3.1 +gtts==2.5.3 # via -r examples/requirements/common.in html5lib==1.1 # via weasyprint -idna==3.4 +idna==3.8 # via # requests # yarl -imgkit==1.2.2 +imgkit==1.2.3 # via -r examples/requirements/common.in -iniconfig==1.1.1 +iniconfig==2.0.0 # via pytest isodate==0.6.1 - # via msrest -jinja2==3.1.2 + # via azure-storage-blob +jinja2==3.1.4 # via xml2epub jmespath==1.0.1 # via # boto3 # botocore -lxml==4.9.1 +lxml==5.3.0 # via # python-docx # python-pptx # xml2epub -markupsafe==2.1.1 +markdown-it-py==3.0.0 + # via rich +markupsafe==2.1.5 # via jinja2 -mock==4.0.3 +mdurl==0.1.2 + # via markdown-it-py +mock==5.1.0 # via pathy -msrest==0.7.1 - # via azure-storage-blob -multidict==6.0.4 +multidict==6.1.0 # via # aiohttp # yarl -oauthlib==3.2.2 - # via requests-oauthlib odfpy==1.4.1 # via -r examples/requirements/common.in -openpyxl==3.0.10 +openpyxl==3.1.5 # via -r examples/requirements/common.in -packaging==22.0 +packaging==24.1 # via pytest -paramiko==3.2.0 +paramiko==3.4.1 # via -r examples/requirements/common.in -pathy[all]==0.10.1 +pathy[all]==0.10.3 # via -r examples/requirements/common.in -pdf2image==1.16.3 +pdf2image==1.17.0 # via -r examples/requirements/common.in pdfkit==1.0.0 # via -r examples/requirements/common.in -pillow==9.3.0 +pillow==9.5.0 # via # pdf2image # python-pptx # reportlab # weasyprint # xml2epub -pluggy==1.0.0 +pluggy==1.5.0 # via pytest -protobuf==4.21.11 +proto-plus==1.24.0 + # via google-api-core +protobuf==5.28.0 # via # google-api-core # google-cloud-storage # googleapis-common-protos -pyasn1==0.4.8 + # proto-plus +pyasn1==0.6.1 # via # pyasn1-modules # rsa -pyasn1-modules==0.2.8 +pyasn1-modules==0.4.1 # via google-auth -pycparser==2.21 +pycparser==2.22 # via cffi -pydyf==0.7.0 +pydyf==0.11.0 # via weasyprint +pygments==2.18.0 + # via rich pynacl==1.5.0 # via paramiko -pyphen==0.14.0 +pyphen==0.16.0 # via weasyprint -pytest==7.2.0 +pytest==8.3.3 # via # pathy # pytest-cov -pytest-cov==4.0.0 +pytest-cov==5.0.0 # via pytest-cover pytest-cover==3.0.0 # via pytest-coverage pytest-coverage==0.0 # via pathy -python-dateutil==2.8.2 +python-dateutil==2.9.0.post0 # via botocore -python-docx==0.8.11 +python-docx==1.1.2 + # via -r examples/requirements/common.in +python-pptx==1.0.2 # via -r examples/requirements/common.in -python-pptx==0.6.21 +pytz==2024.1 # via -r examples/requirements/common.in -reportlab==3.6.12 +reportlab==4.2.2 # via -r examples/requirements/common.in -requests==2.28.1 +requests==2.32.3 # via # azure-core # google-api-core # google-cloud-storage # gtts - # msrest - # requests-oauthlib # xml2epub -requests-oauthlib==1.3.1 - # via msrest +rich==13.8.1 + # via typer rsa==4.9 # via google-auth -s3transfer==0.6.0 +s3transfer==0.10.2 # via boto3 -shellingham==1.5.0 - # via typer-cli +shellingham==1.5.4 + # via typer six==1.16.0 # via # azure-core - # google-auth # google-cloud-storage # html5lib # imgkit # isodate # python-dateutil -smart-open==6.3.0 +smart-open==6.4.0 # via pathy -soupsieve==2.3.2.post1 +soupsieve==2.6 # via beautifulsoup4 -tablib==3.2.1 +tablib==3.6.1 # via -r examples/requirements/common.in -tinycss2==1.2.1 +tinycss2==1.3.0 # via # cssselect2 # weasyprint tomli==2.0.1 - # via pytest -typer==0.3.2 + # via + # coverage + # pytest +typer==0.12.5 # via # pathy # typer-cli -typer-cli==0.0.12 +typer-cli==0.12.5 # via pathy -typing-extensions==4.4.0 - # via azure-core -urllib3==1.26.13 +typing-extensions==4.12.2 + # via + # azure-core + # azure-storage-blob + # multidict + # python-docx + # python-pptx + # typer +urllib3==2.2.2 # via # botocore # requests -weasyprint==59.0 +weasyprint==62.3 # via -r examples/requirements/common.in webencodings==0.5.1 # via # cssselect2 # html5lib # tinycss2 -xlsxwriter==3.0.3 +xlsxwriter==3.2.0 # via python-pptx -xml2epub==2.6.2 +xml2epub==2.6.5 # via -r examples/requirements/common.in -yarl==1.8.2 +yarl==1.11.1 # via aiohttp -zopfli==0.2.2 +zopfli==0.2.3 # via fonttools diff --git a/examples/requirements/debug.txt b/examples/requirements/debug.txt index 0d740fc..7ef7ee0 100644 --- a/examples/requirements/debug.txt +++ b/examples/requirements/debug.txt @@ -1,57 +1,50 @@ -# -# This file is autogenerated by pip-compile with Python 3.10 -# by the following command: -# -# pip-compile examples/requirements/debug.in -# -asttokens==2.2.0 +# This file was autogenerated by uv via the following command: +# uv pip compile --no-strip-extras examples/requirements/debug.in -o examples/requirements/debug.txt +asttokens==2.4.1 # via stack-data -backcall==0.2.0 - # via ipython decorator==5.1.1 # via # ipdb # ipython -executing==1.2.0 +exceptiongroup==1.2.2 + # via ipython +executing==2.1.0 # via stack-data -ipdb==0.13.9 +ipdb==0.13.13 # via -r examples/requirements/debug.in -ipython==8.7.0 +ipython==8.27.0 # via # -r examples/requirements/debug.in # ipdb ipython-genutils==0.2.0 # via -r examples/requirements/debug.in -jedi==0.18.2 +jedi==0.19.1 # via ipython -matplotlib-inline==0.1.6 +matplotlib-inline==0.1.7 # via ipython -parso==0.8.3 +parso==0.8.4 # via jedi -pexpect==4.8.0 +pexpect==4.9.0 # via ipython -pickleshare==0.7.5 - # via ipython -prompt-toolkit==3.0.33 +prompt-toolkit==3.0.47 # via ipython ptyprocess==0.7.0 # via pexpect -pure-eval==0.2.2 +pure-eval==0.2.3 # via stack-data -pygments==2.13.0 +pygments==2.18.0 # via ipython six==1.16.0 # via asttokens -stack-data==0.6.2 +stack-data==0.6.3 # via ipython -toml==0.10.2 +tomli==2.0.1 # via ipdb -traitlets==5.6.0 +traitlets==5.14.3 # via # ipython # matplotlib-inline -wcwidth==0.2.5 +typing-extensions==4.12.2 + # via ipython +wcwidth==0.2.13 # via prompt-toolkit - -# The following packages are considered to be unsafe in a requirements file: -# setuptools diff --git a/examples/requirements/deployment.txt b/examples/requirements/deployment.txt index 0e73ce4..65ce619 100644 --- a/examples/requirements/deployment.txt +++ b/examples/requirements/deployment.txt @@ -1,70 +1,72 @@ -# -# This file is autogenerated by pip-compile with Python 3.10 -# by the following command: -# -# pip-compile examples/requirements/deployment.in -# -bleach==5.0.1 - # via readme-renderer -certifi==2022.9.24 +# This file was autogenerated by uv via the following command: +# uv pip compile --no-strip-extras examples/requirements/deployment.in -o examples/requirements/deployment.txt +backports-tarfile==1.2.0 + # via jaraco-context +certifi==2024.8.30 # via requests -cffi==1.15.1 +cffi==1.17.1 # via cryptography -charset-normalizer==2.1.1 +charset-normalizer==3.3.2 # via requests -commonmark==0.9.1 - # via rich -cryptography==38.0.4 +cryptography==43.0.1 # via secretstorage -docutils==0.19 +docutils==0.21.2 # via readme-renderer -idna==3.4 +idna==3.8 # via requests -importlib-metadata==5.1.0 +importlib-metadata==8.4.0 # via # keyring # twine -jaraco-classes==3.2.3 +jaraco-classes==3.4.0 + # via keyring +jaraco-context==6.0.1 + # via keyring +jaraco-functools==4.0.2 # via keyring jeepney==0.8.0 # via # keyring # secretstorage -keyring==23.11.0 +keyring==25.3.0 # via twine -more-itertools==9.0.0 - # via jaraco-classes -pkginfo==1.9.2 +markdown-it-py==3.0.0 + # via rich +mdurl==0.1.2 + # via markdown-it-py +more-itertools==10.5.0 + # via + # jaraco-classes + # jaraco-functools +nh3==0.2.18 + # via readme-renderer +pkginfo==1.10.0 # via twine -pycparser==2.21 +pycparser==2.22 # via cffi -pygments==2.13.0 +pygments==2.18.0 # via # readme-renderer # rich -readme-renderer==37.3 +readme-renderer==44.0 # via twine -requests==2.28.1 +requests==2.32.3 # via # requests-toolbelt # twine -requests-toolbelt==0.10.1 +requests-toolbelt==1.0.0 # via twine rfc3986==2.0.0 # via twine -rich==12.6.0 +rich==13.8.1 # via twine secretstorage==3.3.3 # via keyring -six==1.16.0 - # via bleach -twine==4.0.2 +twine==5.1.1 # via -r examples/requirements/deployment.in -urllib3==1.26.13 +urllib3==2.2.2 # via # requests # twine -webencodings==0.5.1 - # via bleach -zipp==3.11.0 +zipp==3.20.1 # via importlib-metadata diff --git a/examples/requirements/dev.txt b/examples/requirements/dev.txt index f803eec..d729b13 100644 --- a/examples/requirements/dev.txt +++ b/examples/requirements/dev.txt @@ -1,75 +1,73 @@ -# -# This file is autogenerated by pip-compile with Python 3.10 -# by the following command: -# -# pip-compile examples/requirements/dev.in -# -aiohttp==3.8.3 +# This file was autogenerated by uv via the following command: +# uv pip compile --no-strip-extras examples/requirements/dev.in -o examples/requirements/dev.txt +aiohappyeyeballs==2.4.0 + # via aiohttp +aiohttp==3.10.5 # via edge-tts aiosignal==1.3.1 # via aiohttp -asgiref==3.5.2 +asgiref==3.8.1 # via django -async-timeout==4.0.2 +async-timeout==4.0.3 # via aiohttp -asyncssh==2.13.1 +asyncssh==2.17.0 # via -r examples/requirements/test.in -attrs==22.1.0 +attrs==24.2.0 # via # aiohttp # jsonschema - # pytest -azure-core==1.26.1 - # via - # azure-storage-blob - # msrest -azure-storage-blob==12.14.1 + # referencing +azure-core==1.30.2 + # via azure-storage-blob +azure-storage-blob==12.22.0 # via pathy -bcrypt==4.0.1 +backports-tarfile==1.2.0 + # via jaraco-context +bcrypt==4.2.0 # via paramiko -beautifulsoup4==4.11.1 +beautifulsoup4==4.12.3 # via xml2epub -bleach==5.0.1 - # via readme-renderer -boto3==1.26.33 +boto3==1.35.16 # via # moto # pathy -botocore==1.29.33 +botocore==1.35.16 # via # boto3 # moto # s3transfer -brotli==1.0.9 +brotli==1.1.0 # via fonttools -cachetools==5.2.0 - # via google-auth -certifi==2022.9.24 +cachetools==5.5.0 # via - # msrest + # google-auth + # tox +certifi==2024.8.30 + # via + # edge-tts # requests -cffi==1.15.1 +cffi==1.17.1 # via # cryptography # pynacl # weasyprint -charset-normalizer==2.1.1 +chardet==5.2.0 # via - # aiohttp - # requests -click==7.1.2 + # reportlab + # tox +charset-normalizer==3.3.2 + # via requests +click==8.1.7 # via # gtts # typer colorama==0.4.6 - # via typer-cli -commonmark==0.9.1 - # via rich -coverage[toml]==6.5.0 + # via tox +coverage[toml]==7.6.1 # via # -r examples/requirements/test.in # pytest-cov -cryptography==38.0.4 +cryptography==43.0.1 # via # asyncssh # azure-storage-blob @@ -80,9 +78,9 @@ cssselect2==0.7.0 # via weasyprint defusedxml==0.7.1 # via odfpy -distlib==0.3.6 +distlib==0.3.8 # via virtualenv -django==3.2.16 +django==3.2.25 # via # -r examples/requirements/django_3_2.in # django-debug-toolbar @@ -90,90 +88,94 @@ django==3.2.16 # django-storages # djangorestframework # drf-spectacular -django-debug-toolbar==3.8.1 +django-debug-toolbar==4.3.0 # via -r examples/requirements/django_3_2.in -django-extensions==3.2.1 +django-extensions==3.2.3 # via -r examples/requirements/django_3_2.in -django-storages==1.13.1 +django-storages==1.13.2 # via -r examples/requirements/django_3_2.in djangorestframework==3.12.4 # via # -r examples/requirements/django_3_2.in # drf-spectacular -docutils==0.19 +docutils==0.21.2 # via readme-renderer -drf-spectacular==0.25.1 +drf-spectacular==0.27.2 # via -r examples/requirements/django_3_2.in -edge-tts==6.0.8 +edge-tts==6.1.12 # via -r examples/requirements/common.in et-xmlfile==1.1.0 # via openpyxl -exceptiongroup==1.1.0 +exceptiongroup==1.2.2 # via pytest -factory-boy==3.2.1 +factory-boy==3.3.1 # via -r examples/requirements/test.in -faker==15.3.4 +faker==28.4.1 # via # -r examples/requirements/test.in # factory-boy -filelock==3.8.0 +filelock==3.16.0 # via # tox # virtualenv -fonttools[woff]==4.41.0 +fonttools[woff]==4.53.1 # via weasyprint -frozenlist==1.3.3 +frozenlist==1.4.1 # via # aiohttp # aiosignal fuzzywuzzy[speedup]==0.18.0 # via -r examples/requirements/test.in -google-api-core==2.11.0 +google-api-core==2.19.2 # via # google-cloud-core # google-cloud-storage -google-auth==2.15.0 +google-auth==2.34.0 # via # google-api-core # google-cloud-core # google-cloud-storage -google-cloud-core==2.3.2 +google-cloud-core==2.4.1 # via google-cloud-storage google-cloud-storage==1.44.0 # via pathy -google-crc32c==1.5.0 +google-crc32c==1.6.0 # via google-resumable-media -google-resumable-media==2.4.0 +google-resumable-media==2.7.2 # via google-cloud-storage -googleapis-common-protos==1.57.0 +googleapis-common-protos==1.65.0 # via google-api-core -gtts==2.3.1 +gtts==2.5.3 # via -r examples/requirements/common.in html5lib==1.1 # via weasyprint -idna==3.4 +idna==3.8 # via # requests # yarl -imgkit==1.2.2 +imgkit==1.2.3 # via -r examples/requirements/common.in -importlib-metadata==5.1.0 +importlib-metadata==8.4.0 # via # keyring # twine inflection==0.5.1 # via drf-spectacular -iniconfig==1.1.1 +iniconfig==2.0.0 # via pytest isodate==0.6.1 - # via msrest -jaraco-classes==3.2.3 + # via azure-storage-blob +jaraco-classes==3.4.0 + # via keyring +jaraco-context==6.0.1 + # via keyring +jaraco-functools==4.0.2 # via keyring jeepney==0.8.0 # via # keyring # secretstorage -jinja2==3.1.2 +jinja2==3.1.4 # via # moto # xml2epub @@ -181,101 +183,109 @@ jmespath==1.0.1 # via # boto3 # botocore -jsonschema==4.17.3 +jsonschema==4.23.0 # via drf-spectacular -keyring==23.11.0 +jsonschema-specifications==2023.12.1 + # via jsonschema +keyring==25.3.0 # via twine -levenshtein==0.21.0 +levenshtein==0.25.1 # via python-levenshtein -lxml==4.9.1 +lxml==5.3.0 # via # python-docx # python-pptx # xml2epub -markupsafe==2.1.1 +markdown-it-py==3.0.0 + # via rich +markupsafe==2.1.5 # via # jinja2 # werkzeug -mock==4.0.3 +mdurl==0.1.2 + # via markdown-it-py +mock==5.1.0 # via pathy -more-itertools==9.0.0 - # via jaraco-classes -moto==4.2.5 +more-itertools==10.5.0 + # via + # jaraco-classes + # jaraco-functools +moto==5.0.14 # via -r examples/requirements/test.in -msrest==0.7.1 - # via azure-storage-blob -multidict==6.0.4 +multidict==6.1.0 # via # aiohttp # yarl -oauthlib==3.2.2 - # via requests-oauthlib +nh3==0.2.18 + # via readme-renderer odfpy==1.4.1 # via -r examples/requirements/common.in -openpyxl==3.0.10 +openpyxl==3.1.5 # via -r examples/requirements/common.in -packaging==21.3 +packaging==24.1 # via + # pyproject-api # pytest # pytest-rerunfailures # tox parametrize==0.1.1 # via -r examples/requirements/test.in -paramiko==3.2.0 +paramiko==3.4.1 # via -r examples/requirements/common.in -pathy[all]==0.10.1 +pathy[all]==0.10.3 # via -r examples/requirements/common.in -pdf2image==1.16.3 +pdf2image==1.17.0 # via -r examples/requirements/common.in pdfkit==1.0.0 # via -r examples/requirements/common.in -pillow==9.3.0 +pillow==9.5.0 # via # pdf2image # python-pptx # reportlab # weasyprint # xml2epub -pkginfo==1.9.2 +pkginfo==1.10.0 # via twine -platformdirs==2.5.4 - # via virtualenv -pluggy==1.0.0 +platformdirs==4.3.2 + # via + # tox + # virtualenv +pluggy==1.5.0 # via # pytest # tox -protobuf==4.21.12 +proto-plus==1.24.0 + # via google-api-core +protobuf==5.28.0 # via # google-api-core # google-cloud-storage # googleapis-common-protos + # proto-plus py==1.11.0 - # via - # -r examples/requirements/test.in - # tox -pyasn1==0.4.8 + # via -r examples/requirements/test.in +pyasn1==0.6.1 # via # pyasn1-modules # rsa -pyasn1-modules==0.2.8 +pyasn1-modules==0.4.1 # via google-auth -pycparser==2.21 +pycparser==2.22 # via cffi -pydyf==0.7.0 +pydyf==0.11.0 # via weasyprint -pygments==2.13.0 +pygments==2.18.0 # via # readme-renderer # rich pynacl==1.5.0 # via paramiko -pyparsing==3.0.9 - # via packaging -pyphen==0.14.0 +pyphen==0.16.0 # via weasyprint -pyrsistent==0.19.3 - # via jsonschema -pytest==7.2.1 +pyproject-api==1.7.1 + # via tox +pytest==8.3.3 # via # -r examples/requirements/test.in # pathy @@ -284,7 +294,7 @@ pytest==7.2.1 # pytest-ordering # pytest-parallel # pytest-rerunfailures -pytest-cov==4.0.0 +pytest-cov==5.0.0 # via # -r examples/requirements/test.in # pytest-cover @@ -292,147 +302,156 @@ pytest-cover==3.0.0 # via pytest-coverage pytest-coverage==0.0 # via pathy -pytest-django==4.5.2 +pytest-django==4.9.0 # via -r examples/requirements/test.in pytest-ordering==0.6 # via -r examples/requirements/test.in pytest-parallel==0.1.1 # via -r examples/requirements/test.in -pytest-rerunfailures==11.0 +pytest-rerunfailures==14.0 # via -r examples/requirements/test.in pytest-rst==0.1.5 # via -r examples/requirements/test.in -python-dateutil==2.8.2 +python-dateutil==2.9.0.post0 # via # botocore # faker # moto -python-docx==0.8.11 +python-docx==1.1.2 # via -r examples/requirements/common.in -python-levenshtein==0.21.0 +python-levenshtein==0.25.1 # via fuzzywuzzy -python-pptx==0.6.21 +python-pptx==1.0.2 # via -r examples/requirements/common.in -pytz==2022.6 - # via django -pyyaml==6.0 +pytz==2024.1 + # via + # -r examples/requirements/common.in + # django +pyyaml==6.0.2 # via # drf-spectacular # responses -rapidfuzz==3.1.1 +rapidfuzz==3.9.7 # via levenshtein -readme-renderer==37.3 +readme-renderer==44.0 # via twine -reportlab==3.6.12 +referencing==0.35.1 + # via + # jsonschema + # jsonschema-specifications +reportlab==4.2.2 # via -r examples/requirements/common.in -requests==2.31.0 +requests==2.32.3 # via # azure-core # google-api-core # google-cloud-storage # gtts # moto - # msrest - # requests-oauthlib # requests-toolbelt # responses # twine # xml2epub -requests-oauthlib==1.3.1 - # via msrest -requests-toolbelt==0.10.1 +requests-toolbelt==1.0.0 # via twine -responses==0.23.3 +responses==0.25.3 # via moto rfc3986==2.0.0 # via twine -rich==12.6.0 - # via twine +rich==13.8.1 + # via + # twine + # typer +rpds-py==0.20.0 + # via + # jsonschema + # referencing rsa==4.9 # via google-auth -s3transfer==0.6.0 +s3transfer==0.10.2 # via boto3 secretstorage==3.3.3 # via keyring -shellingham==1.5.0 - # via typer-cli +shellingham==1.5.4 + # via typer six==1.16.0 # via # azure-core - # bleach - # google-auth # google-cloud-storage # html5lib # imgkit # isodate # python-dateutil - # tox -smart-open==6.3.0 +smart-open==6.4.0 # via pathy -soupsieve==2.3.2.post1 +soupsieve==2.6 # via beautifulsoup4 -sqlparse==0.4.3 +sqlparse==0.5.1 # via # django # django-debug-toolbar -tablib==3.2.1 +tablib==3.6.1 # via -r examples/requirements/common.in -tblib==1.7.0 +tblib==3.0.0 # via pytest-parallel -tinycss2==1.2.1 +tinycss2==1.3.0 # via # cssselect2 # weasyprint tomli==2.0.1 # via # coverage + # pyproject-api # pytest # tox -tox==3.27.1 +tox==4.18.1 # via -r examples/requirements/test.in -twine==4.0.2 +twine==5.1.1 # via -r examples/requirements/deployment.in -typer==0.3.2 +typer==0.12.5 # via # pathy # typer-cli -typer-cli==0.0.12 +typer-cli==0.12.5 # via pathy -types-pyyaml==6.0.12.12 - # via responses -typing-extensions==4.4.0 +typing-extensions==4.12.2 # via + # asgiref # asyncssh # azure-core + # azure-storage-blob + # multidict + # python-docx + # python-pptx + # typer uritemplate==4.1.1 # via drf-spectacular -urllib3==1.26.13 +urllib3==2.2.2 # via # botocore # requests # responses # twine -virtualenv==20.17.0 +virtualenv==20.26.4 # via tox -weasyprint==59.0 +weasyprint==62.3 # via -r examples/requirements/common.in webencodings==0.5.1 # via - # bleach # cssselect2 # html5lib # tinycss2 -werkzeug==3.0.0 +werkzeug==3.0.4 # via moto -xlsxwriter==3.0.3 +xlsxwriter==3.2.0 # via python-pptx -xml2epub==2.6.2 +xml2epub==2.6.5 # via -r examples/requirements/common.in xmltodict==0.13.0 # via moto -yarl==1.8.2 +yarl==1.11.1 # via aiohttp -zipp==3.11.0 +zipp==3.20.1 # via importlib-metadata -zopfli==0.2.2 +zopfli==0.2.3 # via fonttools diff --git a/examples/requirements/django_2_2.txt b/examples/requirements/django_2_2.txt index e03ccca..3258a3a 100644 --- a/examples/requirements/django_2_2.txt +++ b/examples/requirements/django_2_2.txt @@ -1,69 +1,69 @@ -# -# This file is autogenerated by pip-compile with Python 3.10 -# by the following command: -# -# pip-compile examples/requirements/django_2_2.in -# -aiohttp==3.8.3 +# This file was autogenerated by uv via the following command: +# uv pip compile --no-strip-extras examples/requirements/django_2_2.in -o examples/requirements/django_2_2.txt +aiohappyeyeballs==2.4.0 + # via aiohttp +aiohttp==3.10.5 # via edge-tts aiosignal==1.3.1 # via aiohttp -async-timeout==4.0.2 +async-timeout==4.0.3 # via aiohttp -asyncssh==2.13.1 +asyncssh==2.17.0 # via -r examples/requirements/test.in -attrs==22.1.0 +attrs==24.2.0 # via # aiohttp # jsonschema - # pytest -azure-core==1.26.1 - # via - # azure-storage-blob - # msrest -azure-storage-blob==12.14.1 + # referencing +azure-core==1.30.2 + # via azure-storage-blob +azure-storage-blob==12.22.0 # via pathy -bcrypt==4.0.1 +bcrypt==4.2.0 # via paramiko -beautifulsoup4==4.11.1 +beautifulsoup4==4.12.3 # via xml2epub -boto3==1.26.29 +boto3==1.35.16 # via # moto # pathy -botocore==1.29.29 +botocore==1.35.16 # via # boto3 # moto # s3transfer -brotli==1.0.9 +brotli==1.1.0 # via fonttools -cachetools==5.2.0 - # via google-auth -certifi==2022.12.7 +cachetools==5.5.0 # via - # msrest + # google-auth + # tox +certifi==2024.8.30 + # via + # edge-tts # requests -cffi==1.15.1 +cffi==1.17.1 # via # cryptography # pynacl # weasyprint -charset-normalizer==2.1.1 +chardet==5.2.0 # via - # aiohttp - # requests -click==7.1.2 + # reportlab + # tox +charset-normalizer==3.3.2 + # via requests +click==8.1.7 # via # gtts # typer colorama==0.4.6 - # via typer-cli -coverage[toml]==6.5.0 + # via tox +coverage[toml]==7.6.1 # via # -r examples/requirements/test.in # pytest-cov -cryptography==38.0.4 +cryptography==43.0.1 # via # asyncssh # azure-storage-blob @@ -73,7 +73,7 @@ cssselect2==0.7.0 # via weasyprint defusedxml==0.7.1 # via odfpy -distlib==0.3.6 +distlib==0.3.8 # via virtualenv django==2.2.28 # via @@ -90,68 +90,68 @@ djangorestframework==3.11.2 # via # -r examples/requirements/django_2_2.in # drf-spectacular -drf-spectacular==0.25.1 +drf-spectacular==0.27.2 # via -r examples/requirements/django_2_2.in -edge-tts==6.0.8 +edge-tts==6.1.12 # via -r examples/requirements/common.in et-xmlfile==1.1.0 # via openpyxl -exceptiongroup==1.1.0 +exceptiongroup==1.2.2 # via pytest -factory-boy==3.2.1 +factory-boy==3.3.1 # via -r examples/requirements/test.in -faker==15.3.4 +faker==28.4.1 # via # -r examples/requirements/test.in # factory-boy -filelock==3.8.0 +filelock==3.16.0 # via # tox # virtualenv -fonttools[woff]==4.41.0 +fonttools[woff]==4.53.1 # via weasyprint -frozenlist==1.3.3 +frozenlist==1.4.1 # via # aiohttp # aiosignal fuzzywuzzy[speedup]==0.18.0 # via -r examples/requirements/test.in -google-api-core==2.11.0 +google-api-core==2.19.2 # via # google-cloud-core # google-cloud-storage -google-auth==2.15.0 +google-auth==2.34.0 # via # google-api-core # google-cloud-core # google-cloud-storage -google-cloud-core==2.3.2 +google-cloud-core==2.4.1 # via google-cloud-storage google-cloud-storage==1.44.0 # via pathy -google-crc32c==1.5.0 +google-crc32c==1.6.0 # via google-resumable-media -google-resumable-media==2.4.0 +google-resumable-media==2.7.2 # via google-cloud-storage -googleapis-common-protos==1.57.0 +googleapis-common-protos==1.65.0 # via google-api-core -gtts==2.3.1 +gtts==2.5.3 # via -r examples/requirements/common.in html5lib==1.1 # via weasyprint -idna==3.4 +idna==3.8 # via # requests # yarl -imgkit==1.2.2 +imgkit==1.2.3 # via -r examples/requirements/common.in inflection==0.5.1 # via drf-spectacular -iniconfig==1.1.1 +iniconfig==2.0.0 # via pytest isodate==0.6.1 - # via msrest -jinja2==3.1.2 + # via azure-storage-blob +jinja2==3.1.4 # via # moto # xml2epub @@ -159,91 +159,97 @@ jmespath==1.0.1 # via # boto3 # botocore -jsonschema==4.17.3 +jsonschema==4.23.0 # via drf-spectacular -levenshtein==0.21.0 +jsonschema-specifications==2023.12.1 + # via jsonschema +levenshtein==0.25.1 # via python-levenshtein -lxml==4.9.1 +lxml==5.3.0 # via # python-docx # python-pptx # xml2epub -markupsafe==2.1.1 +markdown-it-py==3.0.0 + # via rich +markupsafe==2.1.5 # via # jinja2 # werkzeug -mock==4.0.3 +mdurl==0.1.2 + # via markdown-it-py +mock==5.1.0 # via pathy -moto==4.2.5 +moto==5.0.14 # via -r examples/requirements/test.in -msrest==0.7.1 - # via azure-storage-blob -multidict==6.0.4 +multidict==6.1.0 # via # aiohttp # yarl -oauthlib==3.2.2 - # via requests-oauthlib odfpy==1.4.1 # via -r examples/requirements/common.in -openpyxl==3.0.10 +openpyxl==3.1.5 # via -r examples/requirements/common.in -packaging==21.3 +packaging==24.1 # via + # pyproject-api # pytest # pytest-rerunfailures # tox parametrize==0.1.1 # via -r examples/requirements/test.in -paramiko==3.2.0 +paramiko==3.4.1 # via -r examples/requirements/common.in -pathy[all]==0.10.1 +pathy[all]==0.10.3 # via -r examples/requirements/common.in -pdf2image==1.16.3 +pdf2image==1.17.0 # via -r examples/requirements/common.in pdfkit==1.0.0 # via -r examples/requirements/common.in -pillow==9.3.0 +pillow==9.5.0 # via # pdf2image # python-pptx # reportlab # weasyprint # xml2epub -platformdirs==2.5.4 - # via virtualenv -pluggy==1.0.0 +platformdirs==4.3.2 + # via + # tox + # virtualenv +pluggy==1.5.0 # via # pytest # tox -protobuf==4.21.11 +proto-plus==1.24.0 + # via google-api-core +protobuf==5.28.0 # via # google-api-core # google-cloud-storage # googleapis-common-protos + # proto-plus py==1.11.0 - # via - # -r examples/requirements/test.in - # tox -pyasn1==0.4.8 + # via -r examples/requirements/test.in +pyasn1==0.6.1 # via # pyasn1-modules # rsa -pyasn1-modules==0.2.8 +pyasn1-modules==0.4.1 # via google-auth -pycparser==2.21 +pycparser==2.22 # via cffi -pydyf==0.7.0 +pydyf==0.11.0 # via weasyprint +pygments==2.18.0 + # via rich pynacl==1.5.0 # via paramiko -pyparsing==3.0.9 - # via packaging -pyphen==0.14.0 +pyphen==0.16.0 # via weasyprint -pyrsistent==0.19.3 - # via jsonschema -pytest==7.2.1 +pyproject-api==1.7.1 + # via tox +pytest==8.3.3 # via # -r examples/requirements/test.in # pathy @@ -252,7 +258,7 @@ pytest==7.2.1 # pytest-ordering # pytest-parallel # pytest-rerunfailures -pytest-cov==4.0.0 +pytest-cov==5.0.0 # via # -r examples/requirements/test.in # pytest-cover @@ -260,128 +266,138 @@ pytest-cover==3.0.0 # via pytest-coverage pytest-coverage==0.0 # via pathy -pytest-django==4.5.2 +pytest-django==4.9.0 # via -r examples/requirements/test.in pytest-ordering==0.6 # via -r examples/requirements/test.in pytest-parallel==0.1.1 # via -r examples/requirements/test.in -pytest-rerunfailures==11.0 +pytest-rerunfailures==14.0 # via -r examples/requirements/test.in pytest-rst==0.1.5 # via -r examples/requirements/test.in -python-dateutil==2.8.2 +python-dateutil==2.9.0.post0 # via # botocore # faker # moto -python-docx==0.8.11 +python-docx==1.1.2 # via -r examples/requirements/common.in -python-levenshtein==0.21.0 +python-levenshtein==0.25.1 # via fuzzywuzzy -python-pptx==0.6.21 +python-pptx==1.0.2 # via -r examples/requirements/common.in -pytz==2022.6 - # via django -pyyaml==6.0 +pytz==2024.1 + # via + # -r examples/requirements/common.in + # django +pyyaml==6.0.2 # via # drf-spectacular # responses -rapidfuzz==3.1.1 +rapidfuzz==3.9.7 # via levenshtein -reportlab==3.6.12 +referencing==0.35.1 + # via + # jsonschema + # jsonschema-specifications +reportlab==4.2.2 # via -r examples/requirements/common.in -requests==2.31.0 +requests==2.32.3 # via # azure-core # google-api-core # google-cloud-storage # gtts # moto - # msrest - # requests-oauthlib # responses # xml2epub -requests-oauthlib==1.3.1 - # via msrest -responses==0.23.3 +responses==0.25.3 # via moto +rich==13.8.1 + # via typer +rpds-py==0.20.0 + # via + # jsonschema + # referencing rsa==4.9 # via google-auth -s3transfer==0.6.0 +s3transfer==0.10.2 # via boto3 -shellingham==1.5.0 - # via typer-cli +shellingham==1.5.4 + # via typer six==1.16.0 # via # azure-core - # google-auth # google-cloud-storage # html5lib # imgkit # isodate # python-dateutil - # tox -smart-open==6.3.0 +smart-open==6.4.0 # via pathy -soupsieve==2.3.2.post1 +soupsieve==2.6 # via beautifulsoup4 -sqlparse==0.4.3 +sqlparse==0.5.1 # via # django # django-debug-toolbar -tablib==3.2.1 +tablib==3.6.1 # via -r examples/requirements/common.in -tblib==1.7.0 +tblib==3.0.0 # via pytest-parallel -tinycss2==1.2.1 +tinycss2==1.3.0 # via # cssselect2 # weasyprint tomli==2.0.1 # via # coverage + # pyproject-api # pytest # tox -tox==3.27.1 +tox==4.18.1 # via -r examples/requirements/test.in -typer==0.3.2 +typer==0.12.5 # via # pathy # typer-cli -typer-cli==0.0.12 +typer-cli==0.12.5 # via pathy -types-pyyaml==6.0.12.12 - # via responses -typing-extensions==4.4.0 +typing-extensions==4.12.2 # via # asyncssh # azure-core + # azure-storage-blob + # multidict + # python-docx + # python-pptx + # typer uritemplate==4.1.1 # via drf-spectacular -urllib3==1.26.13 +urllib3==2.2.2 # via # botocore # requests # responses -virtualenv==20.17.0 +virtualenv==20.26.4 # via tox -weasyprint==59.0 +weasyprint==62.3 # via -r examples/requirements/common.in webencodings==0.5.1 # via # cssselect2 # html5lib # tinycss2 -werkzeug==3.0.0 +werkzeug==3.0.4 # via moto -xlsxwriter==3.0.3 +xlsxwriter==3.2.0 # via python-pptx -xml2epub==2.6.2 +xml2epub==2.6.5 # via -r examples/requirements/common.in xmltodict==0.13.0 # via moto -yarl==1.8.2 +yarl==1.11.1 # via aiohttp -zopfli==0.2.2 +zopfli==0.2.3 # via fonttools diff --git a/examples/requirements/django_2_2_and_flask.txt b/examples/requirements/django_2_2_and_flask.txt index f3763aa..e93d522 100644 --- a/examples/requirements/django_2_2_and_flask.txt +++ b/examples/requirements/django_2_2_and_flask.txt @@ -1,78 +1,76 @@ -# -# This file is autogenerated by pip-compile with Python 3.10 -# by the following command: -# -# pip-compile examples/requirements/django_2_2_and_flask.in -# -aiohttp==3.8.3 +# This file was autogenerated by uv via the following command: +# uv pip compile --no-strip-extras examples/requirements/django_2_2_and_flask.in -o examples/requirements/django_2_2_and_flask.txt +aiohappyeyeballs==2.4.0 + # via aiohttp +aiohttp==3.10.5 # via edge-tts aiosignal==1.3.1 # via aiohttp -alembic==1.9.0 +alembic==1.13.2 # via -r examples/requirements/flask.in -async-timeout==4.0.2 +async-timeout==4.0.3 # via aiohttp -asyncssh==2.13.1 +asyncssh==2.17.0 # via -r examples/requirements/test.in -attrs==22.2.0 +attrs==24.2.0 # via # aiohttp # jsonschema - # pytest -azure-core==1.26.1 - # via - # azure-storage-blob - # msrest -azure-storage-blob==12.14.1 + # referencing +azure-core==1.30.2 + # via azure-storage-blob +azure-storage-blob==12.22.0 # via pathy -babel==2.11.0 +babel==2.16.0 # via flask-babelex -bcrypt==4.0.1 +bcrypt==4.2.0 # via paramiko -beautifulsoup4==4.11.1 +beautifulsoup4==4.12.3 # via xml2epub -boto3==1.26.36 +blinker==1.8.2 + # via flask +boto3==1.35.16 # via # moto # pathy -botocore==1.29.36 +botocore==1.35.16 # via # boto3 # moto # s3transfer -brotli==1.0.9 +brotli==1.1.0 # via fonttools -cachetools==5.2.0 +cachetools==5.5.0 # via # google-auth # tox -certifi==2022.12.7 +certifi==2024.8.30 # via - # msrest + # edge-tts # requests -cffi==1.15.1 +cffi==1.17.1 # via # cryptography # pynacl # weasyprint -chardet==5.1.0 - # via tox -charset-normalizer==2.1.1 +chardet==5.2.0 # via - # aiohttp - # requests -click==8.1.3 + # reportlab + # tox +charset-normalizer==3.3.2 + # via requests +click==8.1.7 # via # flask # gtts # typer colorama==0.4.6 # via tox -coverage[toml]==7.0.0 +coverage[toml]==7.6.1 # via # -r examples/requirements/test.in # pytest-cov -cryptography==38.0.4 +cryptography==43.0.1 # via # asyncssh # azure-storage-blob @@ -82,7 +80,7 @@ cssselect2==0.7.0 # via weasyprint defusedxml==0.7.1 # via odfpy -distlib==0.3.6 +distlib==0.3.8 # via virtualenv django==2.2.28 # via @@ -99,89 +97,87 @@ djangorestframework==3.11.2 # via # -r examples/requirements/django_2_2.in # drf-spectacular -drf-spectacular==0.25.1 +drf-spectacular==0.27.2 # via -r examples/requirements/django_2_2.in -edge-tts==6.0.8 +edge-tts==6.1.12 # via -r examples/requirements/common.in et-xmlfile==1.1.0 # via openpyxl -exceptiongroup==1.1.0 +exceptiongroup==1.2.2 # via pytest -factory-boy==3.2.1 +factory-boy==3.3.1 # via -r examples/requirements/test.in -faker==15.3.4 +faker==28.4.1 # via # -r examples/requirements/test.in # factory-boy -filelock==3.8.2 +filelock==3.16.0 # via # tox # virtualenv -flask==2.2.2 +flask==2.3.3 # via # -r examples/requirements/flask.in # flask-admin # flask-babelex # flask-sqlalchemy # flask-testing -flask-admin==1.6.0 +flask-admin==1.6.1 # via -r examples/requirements/flask.in flask-babelex==0.9.4 # via -r examples/requirements/flask.in -flask-sqlalchemy==3.0.2 +flask-sqlalchemy==3.0.5 # via -r examples/requirements/flask.in flask-testing==0.8.1 # via -r examples/requirements/flask.in -fonttools[woff]==4.41.0 +fonttools[woff]==4.53.1 # via weasyprint -frozenlist==1.3.3 +frozenlist==1.4.1 # via # aiohttp # aiosignal fuzzywuzzy[speedup]==0.18.0 # via -r examples/requirements/test.in -google-api-core==2.11.0 +google-api-core==2.19.2 # via # google-cloud-core # google-cloud-storage -google-auth==2.15.0 +google-auth==2.34.0 # via # google-api-core # google-cloud-core # google-cloud-storage -google-cloud-core==2.3.2 +google-cloud-core==2.4.1 # via google-cloud-storage google-cloud-storage==1.44.0 # via pathy -google-crc32c==1.5.0 +google-crc32c==1.6.0 # via google-resumable-media -google-resumable-media==2.4.0 +google-resumable-media==2.7.2 # via google-cloud-storage -googleapis-common-protos==1.57.0 +googleapis-common-protos==1.65.0 # via google-api-core -greenlet==2.0.1 +greenlet==3.1.0 # via sqlalchemy -gtts==2.3.1 +gtts==2.5.3 # via -r examples/requirements/common.in html5lib==1.1 # via weasyprint -idna==3.4 +idna==3.8 # via # requests # yarl -imgkit==1.2.2 +imgkit==1.2.3 # via -r examples/requirements/common.in -importlib-metadata==1.7.0 - # via typer-cli inflection==0.5.1 # via drf-spectacular -iniconfig==1.1.1 +iniconfig==2.0.0 # via pytest isodate==0.6.1 - # via msrest -itsdangerous==2.1.2 + # via azure-storage-blob +itsdangerous==2.2.0 # via flask -jinja2==3.1.2 +jinja2==3.1.4 # via # flask # flask-babelex @@ -191,40 +187,42 @@ jmespath==1.0.1 # via # boto3 # botocore -jsonschema==4.17.3 +jsonschema==4.23.0 # via drf-spectacular -levenshtein==0.21.0 +jsonschema-specifications==2023.12.1 + # via jsonschema +levenshtein==0.25.1 # via python-levenshtein -lxml==4.9.2 +lxml==5.3.0 # via # python-docx # python-pptx # xml2epub -mako==1.2.4 +mako==1.3.5 # via alembic -markupsafe==2.1.1 +markdown-it-py==3.0.0 + # via rich +markupsafe==2.1.5 # via # jinja2 # mako # werkzeug # wtforms -mock==4.0.3 +mdurl==0.1.2 + # via markdown-it-py +mock==5.1.0 # via pathy -moto==4.2.5 +moto==5.0.14 # via -r examples/requirements/test.in -msrest==0.7.1 - # via azure-storage-blob -multidict==6.0.4 +multidict==6.1.0 # via # aiohttp # yarl -oauthlib==3.2.2 - # via requests-oauthlib odfpy==1.4.1 # via -r examples/requirements/common.in -openpyxl==3.0.10 +openpyxl==3.1.5 # via -r examples/requirements/common.in -packaging==22.0 +packaging==24.1 # via # pyproject-api # pytest @@ -232,55 +230,58 @@ packaging==22.0 # tox parametrize==0.1.1 # via -r examples/requirements/test.in -paramiko==3.2.0 +paramiko==3.4.1 # via -r examples/requirements/common.in -pathy[all]==0.10.1 +pathy[all]==0.10.3 # via -r examples/requirements/common.in -pdf2image==1.16.3 +pdf2image==1.17.0 # via -r examples/requirements/common.in pdfkit==1.0.0 # via -r examples/requirements/common.in -pillow==9.3.0 +pillow==9.5.0 # via # pdf2image # python-pptx # reportlab # weasyprint # xml2epub -platformdirs==2.6.0 +platformdirs==4.3.2 # via # tox # virtualenv -pluggy==1.0.0 +pluggy==1.5.0 # via # pytest # tox -protobuf==4.21.12 +proto-plus==1.24.0 + # via google-api-core +protobuf==5.28.0 # via # google-api-core # google-cloud-storage # googleapis-common-protos + # proto-plus py==1.11.0 # via -r examples/requirements/test.in -pyasn1==0.4.8 +pyasn1==0.6.1 # via # pyasn1-modules # rsa -pyasn1-modules==0.2.8 +pyasn1-modules==0.4.1 # via google-auth -pycparser==2.21 +pycparser==2.22 # via cffi -pydyf==0.7.0 +pydyf==0.11.0 # via weasyprint +pygments==2.18.0 + # via rich pynacl==1.5.0 # via paramiko -pyphen==0.14.0 +pyphen==0.16.0 # via weasyprint -pyproject-api==1.2.1 +pyproject-api==1.7.1 # via tox -pyrsistent==0.19.3 - # via jsonschema -pytest==7.2.1 +pytest==8.3.3 # via # -r examples/requirements/test.in # pathy @@ -289,7 +290,7 @@ pytest==7.2.1 # pytest-ordering # pytest-parallel # pytest-rerunfailures -pytest-cov==4.0.0 +pytest-cov==5.0.0 # via # -r examples/requirements/test.in # pytest-cover @@ -297,90 +298,97 @@ pytest-cover==3.0.0 # via pytest-coverage pytest-coverage==0.0 # via pathy -pytest-django==4.5.2 +pytest-django==4.9.0 # via -r examples/requirements/test.in pytest-ordering==0.6 # via -r examples/requirements/test.in pytest-parallel==0.1.1 # via -r examples/requirements/test.in -pytest-rerunfailures==11.0 +pytest-rerunfailures==14.0 # via -r examples/requirements/test.in pytest-rst==0.1.5 # via -r examples/requirements/test.in -python-dateutil==2.8.2 +python-dateutil==2.9.0.post0 # via # botocore # faker # moto -python-docx==0.8.11 +python-docx==1.1.2 # via -r examples/requirements/common.in -python-levenshtein==0.21.0 +python-levenshtein==0.25.1 # via fuzzywuzzy -python-pptx==0.6.21 +python-pptx==1.0.2 # via -r examples/requirements/common.in -pytz==2022.7 +pytz==2024.1 # via - # babel + # -r examples/requirements/common.in # django -pyyaml==6.0 +pyyaml==6.0.2 # via # drf-spectacular # responses -rapidfuzz==3.1.1 +rapidfuzz==3.9.7 # via levenshtein -reportlab==3.6.12 +referencing==0.35.1 + # via + # jsonschema + # jsonschema-specifications +reportlab==4.2.2 # via -r examples/requirements/common.in -requests==2.31.0 +requests==2.32.3 # via # azure-core # google-api-core # google-cloud-storage # gtts # moto - # msrest - # requests-oauthlib # responses # xml2epub -requests-oauthlib==1.3.1 - # via msrest -responses==0.23.3 +responses==0.25.3 # via moto +rich==13.8.1 + # via typer +rpds-py==0.20.0 + # via + # jsonschema + # referencing rsa==4.9 # via google-auth -s3transfer==0.6.0 +s3transfer==0.10.2 # via boto3 +shellingham==1.5.4 + # via typer six==1.16.0 # via # azure-core - # google-auth # google-cloud-storage # html5lib # imgkit # isodate # python-dateutil -smart-open==6.3.0 +smart-open==6.4.0 # via pathy -soupsieve==2.3.2.post1 +soupsieve==2.6 # via beautifulsoup4 speaklater==1.3 # via flask-babelex -sqlalchemy==1.4.45 +sqlalchemy==1.4.54 # via # -r examples/requirements/flask.in # alembic # flask-sqlalchemy # sqlalchemy-utils -sqlalchemy-utils==0.38.3 +sqlalchemy-utils==0.41.2 # via -r examples/requirements/flask.in -sqlparse==0.4.3 +sqlparse==0.5.1 # via # django # django-debug-toolbar -tablib==3.3.0 +tablib==3.6.1 # via -r examples/requirements/common.in -tblib==1.7.0 +tblib==3.0.0 # via pytest-parallel -tinycss2==1.2.1 +tinycss2==1.3.0 # via # cssselect2 # weasyprint @@ -390,49 +398,53 @@ tomli==2.0.1 # pyproject-api # pytest # tox -tox==4.0.16 +tox==4.18.1 # via -r examples/requirements/test.in -typer==0.7.0 - # via pathy -typer-cli==0.0.1 +typer==0.12.5 + # via + # pathy + # typer-cli +typer-cli==0.12.5 # via pathy -types-pyyaml==6.0.12.12 - # via responses -typing-extensions==4.4.0 +typing-extensions==4.12.2 # via + # alembic # asyncssh # azure-core + # azure-storage-blob + # multidict + # python-docx + # python-pptx + # typer uritemplate==4.1.1 # via drf-spectacular -urllib3==1.26.13 +urllib3==2.2.2 # via # botocore # requests # responses -virtualenv==20.17.1 +virtualenv==20.26.4 # via tox -weasyprint==59.0 +weasyprint==62.3 # via -r examples/requirements/common.in webencodings==0.5.1 # via # cssselect2 # html5lib # tinycss2 -werkzeug==2.2.3 +werkzeug==3.0.4 # via # flask # moto -wtforms==3.0.1 +wtforms==3.1.2 # via flask-admin -xlsxwriter==3.0.3 +xlsxwriter==3.2.0 # via python-pptx -xml2epub==2.6.2 +xml2epub==2.6.5 # via -r examples/requirements/common.in xmltodict==0.13.0 # via moto -yarl==1.8.2 +yarl==1.11.1 # via aiohttp -zipp==3.11.0 - # via importlib-metadata -zopfli==0.2.2 +zopfli==0.2.3 # via fonttools diff --git a/examples/requirements/django_3_2.txt b/examples/requirements/django_3_2.txt index a261962..c46eb94 100644 --- a/examples/requirements/django_3_2.txt +++ b/examples/requirements/django_3_2.txt @@ -1,71 +1,71 @@ -# -# This file is autogenerated by pip-compile with Python 3.10 -# by the following command: -# -# pip-compile examples/requirements/django_3_2.in -# -aiohttp==3.8.3 +# This file was autogenerated by uv via the following command: +# uv pip compile --no-strip-extras examples/requirements/django_3_2.in -o examples/requirements/django_3_2.txt +aiohappyeyeballs==2.4.0 + # via aiohttp +aiohttp==3.10.5 # via edge-tts aiosignal==1.3.1 # via aiohttp -asgiref==3.5.2 +asgiref==3.8.1 # via django -async-timeout==4.0.2 +async-timeout==4.0.3 # via aiohttp -asyncssh==2.13.1 +asyncssh==2.17.0 # via -r examples/requirements/test.in -attrs==22.1.0 +attrs==24.2.0 # via # aiohttp # jsonschema - # pytest -azure-core==1.26.1 - # via - # azure-storage-blob - # msrest -azure-storage-blob==12.14.1 + # referencing +azure-core==1.30.2 + # via azure-storage-blob +azure-storage-blob==12.22.0 # via pathy -bcrypt==4.0.1 +bcrypt==4.2.0 # via paramiko -beautifulsoup4==4.11.1 +beautifulsoup4==4.12.3 # via xml2epub -boto3==1.26.29 +boto3==1.35.16 # via # moto # pathy -botocore==1.29.29 +botocore==1.35.16 # via # boto3 # moto # s3transfer -brotli==1.0.9 +brotli==1.1.0 # via fonttools -cachetools==5.2.0 - # via google-auth -certifi==2022.12.7 +cachetools==5.5.0 # via - # msrest + # google-auth + # tox +certifi==2024.8.30 + # via + # edge-tts # requests -cffi==1.15.1 +cffi==1.17.1 # via # cryptography # pynacl # weasyprint -charset-normalizer==2.1.1 +chardet==5.2.0 # via - # aiohttp - # requests -click==7.1.2 + # reportlab + # tox +charset-normalizer==3.3.2 + # via requests +click==8.1.7 # via # gtts # typer colorama==0.4.6 - # via typer-cli -coverage[toml]==6.5.0 + # via tox +coverage[toml]==7.6.1 # via # -r examples/requirements/test.in # pytest-cov -cryptography==38.0.4 +cryptography==43.0.1 # via # asyncssh # azure-storage-blob @@ -75,9 +75,9 @@ cssselect2==0.7.0 # via weasyprint defusedxml==0.7.1 # via odfpy -distlib==0.3.6 +distlib==0.3.8 # via virtualenv -django==3.2.19 +django==3.2.25 # via # -r examples/requirements/django_3_2.in # django-debug-toolbar @@ -85,78 +85,78 @@ django==3.2.19 # django-storages # djangorestframework # drf-spectacular -django-debug-toolbar==3.8.1 +django-debug-toolbar==4.3.0 # via -r examples/requirements/django_3_2.in -django-extensions==3.2.1 +django-extensions==3.2.3 # via -r examples/requirements/django_3_2.in -django-storages==1.13.1 +django-storages==1.13.2 # via -r examples/requirements/django_3_2.in djangorestframework==3.12.4 # via # -r examples/requirements/django_3_2.in # drf-spectacular -drf-spectacular==0.25.1 +drf-spectacular==0.27.2 # via -r examples/requirements/django_3_2.in -edge-tts==6.0.8 +edge-tts==6.1.12 # via -r examples/requirements/common.in et-xmlfile==1.1.0 # via openpyxl -exceptiongroup==1.1.0 +exceptiongroup==1.2.2 # via pytest -factory-boy==3.2.1 +factory-boy==3.3.1 # via -r examples/requirements/test.in -faker==15.3.4 +faker==28.4.1 # via # -r examples/requirements/test.in # factory-boy -filelock==3.8.0 +filelock==3.16.0 # via # tox # virtualenv -fonttools[woff]==4.41.0 +fonttools[woff]==4.53.1 # via weasyprint -frozenlist==1.3.3 +frozenlist==1.4.1 # via # aiohttp # aiosignal fuzzywuzzy[speedup]==0.18.0 # via -r examples/requirements/test.in -google-api-core==2.11.0 +google-api-core==2.19.2 # via # google-cloud-core # google-cloud-storage -google-auth==2.15.0 +google-auth==2.34.0 # via # google-api-core # google-cloud-core # google-cloud-storage -google-cloud-core==2.3.2 +google-cloud-core==2.4.1 # via google-cloud-storage google-cloud-storage==1.44.0 # via pathy -google-crc32c==1.5.0 +google-crc32c==1.6.0 # via google-resumable-media -google-resumable-media==2.4.0 +google-resumable-media==2.7.2 # via google-cloud-storage -googleapis-common-protos==1.57.0 +googleapis-common-protos==1.65.0 # via google-api-core -gtts==2.3.1 +gtts==2.5.3 # via -r examples/requirements/common.in html5lib==1.1 # via weasyprint -idna==3.4 +idna==3.8 # via # requests # yarl -imgkit==1.2.2 +imgkit==1.2.3 # via -r examples/requirements/common.in inflection==0.5.1 # via drf-spectacular -iniconfig==1.1.1 +iniconfig==2.0.0 # via pytest isodate==0.6.1 - # via msrest -jinja2==3.1.2 + # via azure-storage-blob +jinja2==3.1.4 # via # moto # xml2epub @@ -164,91 +164,97 @@ jmespath==1.0.1 # via # boto3 # botocore -jsonschema==4.17.3 +jsonschema==4.23.0 # via drf-spectacular -levenshtein==0.21.0 +jsonschema-specifications==2023.12.1 + # via jsonschema +levenshtein==0.25.1 # via python-levenshtein -lxml==4.9.1 +lxml==5.3.0 # via # python-docx # python-pptx # xml2epub -markupsafe==2.1.1 +markdown-it-py==3.0.0 + # via rich +markupsafe==2.1.5 # via # jinja2 # werkzeug -mock==4.0.3 +mdurl==0.1.2 + # via markdown-it-py +mock==5.1.0 # via pathy -moto==4.2.5 +moto==5.0.14 # via -r examples/requirements/test.in -msrest==0.7.1 - # via azure-storage-blob -multidict==6.0.4 +multidict==6.1.0 # via # aiohttp # yarl -oauthlib==3.2.2 - # via requests-oauthlib odfpy==1.4.1 # via -r examples/requirements/common.in -openpyxl==3.0.10 +openpyxl==3.1.5 # via -r examples/requirements/common.in -packaging==21.3 +packaging==24.1 # via + # pyproject-api # pytest # pytest-rerunfailures # tox parametrize==0.1.1 # via -r examples/requirements/test.in -paramiko==3.2.0 +paramiko==3.4.1 # via -r examples/requirements/common.in -pathy[all]==0.10.1 +pathy[all]==0.10.3 # via -r examples/requirements/common.in -pdf2image==1.16.3 +pdf2image==1.17.0 # via -r examples/requirements/common.in pdfkit==1.0.0 # via -r examples/requirements/common.in -pillow==9.3.0 +pillow==9.5.0 # via # pdf2image # python-pptx # reportlab # weasyprint # xml2epub -platformdirs==2.5.4 - # via virtualenv -pluggy==1.0.0 +platformdirs==4.3.2 + # via + # tox + # virtualenv +pluggy==1.5.0 # via # pytest # tox -protobuf==4.21.11 +proto-plus==1.24.0 + # via google-api-core +protobuf==5.28.0 # via # google-api-core # google-cloud-storage # googleapis-common-protos + # proto-plus py==1.11.0 - # via - # -r examples/requirements/test.in - # tox -pyasn1==0.4.8 + # via -r examples/requirements/test.in +pyasn1==0.6.1 # via # pyasn1-modules # rsa -pyasn1-modules==0.2.8 +pyasn1-modules==0.4.1 # via google-auth -pycparser==2.21 +pycparser==2.22 # via cffi -pydyf==0.7.0 +pydyf==0.11.0 # via weasyprint +pygments==2.18.0 + # via rich pynacl==1.5.0 # via paramiko -pyparsing==3.0.9 - # via packaging -pyphen==0.14.0 +pyphen==0.16.0 # via weasyprint -pyrsistent==0.19.3 - # via jsonschema -pytest==7.2.1 +pyproject-api==1.7.1 + # via tox +pytest==8.3.3 # via # -r examples/requirements/test.in # pathy @@ -257,7 +263,7 @@ pytest==7.2.1 # pytest-ordering # pytest-parallel # pytest-rerunfailures -pytest-cov==4.0.0 +pytest-cov==5.0.0 # via # -r examples/requirements/test.in # pytest-cover @@ -265,128 +271,139 @@ pytest-cover==3.0.0 # via pytest-coverage pytest-coverage==0.0 # via pathy -pytest-django==4.5.2 +pytest-django==4.9.0 # via -r examples/requirements/test.in pytest-ordering==0.6 # via -r examples/requirements/test.in pytest-parallel==0.1.1 # via -r examples/requirements/test.in -pytest-rerunfailures==11.0 +pytest-rerunfailures==14.0 # via -r examples/requirements/test.in pytest-rst==0.1.5 # via -r examples/requirements/test.in -python-dateutil==2.8.2 +python-dateutil==2.9.0.post0 # via # botocore # faker # moto -python-docx==0.8.11 +python-docx==1.1.2 # via -r examples/requirements/common.in -python-levenshtein==0.21.0 +python-levenshtein==0.25.1 # via fuzzywuzzy -python-pptx==0.6.21 +python-pptx==1.0.2 # via -r examples/requirements/common.in -pytz==2022.6 - # via django -pyyaml==6.0 +pytz==2024.1 + # via + # -r examples/requirements/common.in + # django +pyyaml==6.0.2 # via # drf-spectacular # responses -rapidfuzz==3.1.1 +rapidfuzz==3.9.7 # via levenshtein -reportlab==3.6.12 +referencing==0.35.1 + # via + # jsonschema + # jsonschema-specifications +reportlab==4.2.2 # via -r examples/requirements/common.in -requests==2.31.0 +requests==2.32.3 # via # azure-core # google-api-core # google-cloud-storage # gtts # moto - # msrest - # requests-oauthlib # responses # xml2epub -requests-oauthlib==1.3.1 - # via msrest -responses==0.23.3 +responses==0.25.3 # via moto +rich==13.8.1 + # via typer +rpds-py==0.20.0 + # via + # jsonschema + # referencing rsa==4.9 # via google-auth -s3transfer==0.6.0 +s3transfer==0.10.2 # via boto3 -shellingham==1.5.0 - # via typer-cli +shellingham==1.5.4 + # via typer six==1.16.0 # via # azure-core - # google-auth # google-cloud-storage # html5lib # imgkit # isodate # python-dateutil - # tox -smart-open==6.3.0 +smart-open==6.4.0 # via pathy -soupsieve==2.3.2.post1 +soupsieve==2.6 # via beautifulsoup4 -sqlparse==0.4.3 +sqlparse==0.5.1 # via # django # django-debug-toolbar -tablib==3.2.1 +tablib==3.6.1 # via -r examples/requirements/common.in -tblib==1.7.0 +tblib==3.0.0 # via pytest-parallel -tinycss2==1.2.1 +tinycss2==1.3.0 # via # cssselect2 # weasyprint tomli==2.0.1 # via # coverage + # pyproject-api # pytest # tox -tox==3.27.1 +tox==4.18.1 # via -r examples/requirements/test.in -typer==0.3.2 +typer==0.12.5 # via # pathy # typer-cli -typer-cli==0.0.12 +typer-cli==0.12.5 # via pathy -types-pyyaml==6.0.12.12 - # via responses -typing-extensions==4.4.0 +typing-extensions==4.12.2 # via + # asgiref # asyncssh # azure-core + # azure-storage-blob + # multidict + # python-docx + # python-pptx + # typer uritemplate==4.1.1 # via drf-spectacular -urllib3==1.26.13 +urllib3==2.2.2 # via # botocore # requests # responses -virtualenv==20.17.0 +virtualenv==20.26.4 # via tox -weasyprint==59.0 +weasyprint==62.3 # via -r examples/requirements/common.in webencodings==0.5.1 # via # cssselect2 # html5lib # tinycss2 -werkzeug==3.0.0 +werkzeug==3.0.4 # via moto -xlsxwriter==3.0.3 +xlsxwriter==3.2.0 # via python-pptx -xml2epub==2.6.2 +xml2epub==2.6.5 # via -r examples/requirements/common.in xmltodict==0.13.0 # via moto -yarl==1.8.2 +yarl==1.11.1 # via aiohttp -zopfli==0.2.2 +zopfli==0.2.3 # via fonttools diff --git a/examples/requirements/django_3_2_and_flask.txt b/examples/requirements/django_3_2_and_flask.txt index f8b9dfc..3917cc2 100644 --- a/examples/requirements/django_3_2_and_flask.txt +++ b/examples/requirements/django_3_2_and_flask.txt @@ -1,80 +1,78 @@ -# -# This file is autogenerated by pip-compile with Python 3.10 -# by the following command: -# -# pip-compile examples/requirements/django_3_2_and_flask.in -# -aiohttp==3.8.3 +# This file was autogenerated by uv via the following command: +# uv pip compile --no-strip-extras examples/requirements/django_3_2_and_flask.in -o examples/requirements/django_3_2_and_flask.txt +aiohappyeyeballs==2.4.0 + # via aiohttp +aiohttp==3.10.5 # via edge-tts aiosignal==1.3.1 # via aiohttp -alembic==1.9.0 +alembic==1.13.2 # via -r examples/requirements/flask.in -asgiref==3.6.0 +asgiref==3.8.1 # via django -async-timeout==4.0.2 +async-timeout==4.0.3 # via aiohttp -asyncssh==2.13.1 +asyncssh==2.17.0 # via -r examples/requirements/test.in -attrs==22.2.0 +attrs==24.2.0 # via # aiohttp # jsonschema - # pytest -azure-core==1.26.1 - # via - # azure-storage-blob - # msrest -azure-storage-blob==12.14.1 + # referencing +azure-core==1.30.2 + # via azure-storage-blob +azure-storage-blob==12.22.0 # via pathy -babel==2.11.0 +babel==2.16.0 # via flask-babelex -bcrypt==4.0.1 +bcrypt==4.2.0 # via paramiko -beautifulsoup4==4.11.1 +beautifulsoup4==4.12.3 # via xml2epub -boto3==1.26.36 +blinker==1.8.2 + # via flask +boto3==1.35.16 # via # moto # pathy -botocore==1.29.36 +botocore==1.35.16 # via # boto3 # moto # s3transfer -brotli==1.0.9 +brotli==1.1.0 # via fonttools -cachetools==5.2.0 +cachetools==5.5.0 # via # google-auth # tox -certifi==2022.12.7 +certifi==2024.8.30 # via - # msrest + # edge-tts # requests -cffi==1.15.1 +cffi==1.17.1 # via # cryptography # pynacl # weasyprint -chardet==5.1.0 - # via tox -charset-normalizer==2.1.1 +chardet==5.2.0 # via - # aiohttp - # requests -click==8.1.3 + # reportlab + # tox +charset-normalizer==3.3.2 + # via requests +click==8.1.7 # via # flask # gtts # typer colorama==0.4.6 # via tox -coverage[toml]==7.0.0 +coverage[toml]==7.6.1 # via # -r examples/requirements/test.in # pytest-cov -cryptography==38.0.4 +cryptography==43.0.1 # via # asyncssh # azure-storage-blob @@ -84,9 +82,9 @@ cssselect2==0.7.0 # via weasyprint defusedxml==0.7.1 # via odfpy -distlib==0.3.6 +distlib==0.3.8 # via virtualenv -django==3.2.19 +django==3.2.25 # via # -r examples/requirements/django_3_2.in # django-debug-toolbar @@ -94,99 +92,97 @@ django==3.2.19 # django-storages # djangorestframework # drf-spectacular -django-debug-toolbar==3.8.1 +django-debug-toolbar==4.3.0 # via -r examples/requirements/django_3_2.in -django-extensions==3.2.1 +django-extensions==3.2.3 # via -r examples/requirements/django_3_2.in -django-storages==1.13.1 +django-storages==1.13.2 # via -r examples/requirements/django_3_2.in djangorestframework==3.12.4 # via # -r examples/requirements/django_3_2.in # drf-spectacular -drf-spectacular==0.25.1 +drf-spectacular==0.27.2 # via -r examples/requirements/django_3_2.in -edge-tts==6.0.8 +edge-tts==6.1.12 # via -r examples/requirements/common.in et-xmlfile==1.1.0 # via openpyxl -exceptiongroup==1.1.0 +exceptiongroup==1.2.2 # via pytest -factory-boy==3.2.1 +factory-boy==3.3.1 # via -r examples/requirements/test.in -faker==15.3.4 +faker==28.4.1 # via # -r examples/requirements/test.in # factory-boy -filelock==3.8.2 +filelock==3.16.0 # via # tox # virtualenv -flask==2.2.2 +flask==2.3.3 # via # -r examples/requirements/flask.in # flask-admin # flask-babelex # flask-sqlalchemy # flask-testing -flask-admin==1.6.0 +flask-admin==1.6.1 # via -r examples/requirements/flask.in flask-babelex==0.9.4 # via -r examples/requirements/flask.in -flask-sqlalchemy==3.0.2 +flask-sqlalchemy==3.0.5 # via -r examples/requirements/flask.in flask-testing==0.8.1 # via -r examples/requirements/flask.in -fonttools[woff]==4.41.0 +fonttools[woff]==4.53.1 # via weasyprint -frozenlist==1.3.3 +frozenlist==1.4.1 # via # aiohttp # aiosignal fuzzywuzzy[speedup]==0.18.0 # via -r examples/requirements/test.in -google-api-core==2.11.0 +google-api-core==2.19.2 # via # google-cloud-core # google-cloud-storage -google-auth==2.15.0 +google-auth==2.34.0 # via # google-api-core # google-cloud-core # google-cloud-storage -google-cloud-core==2.3.2 +google-cloud-core==2.4.1 # via google-cloud-storage google-cloud-storage==1.44.0 # via pathy -google-crc32c==1.5.0 +google-crc32c==1.6.0 # via google-resumable-media -google-resumable-media==2.4.0 +google-resumable-media==2.7.2 # via google-cloud-storage -googleapis-common-protos==1.57.0 +googleapis-common-protos==1.65.0 # via google-api-core -greenlet==2.0.1 +greenlet==3.1.0 # via sqlalchemy -gtts==2.3.1 +gtts==2.5.3 # via -r examples/requirements/common.in html5lib==1.1 # via weasyprint -idna==3.4 +idna==3.8 # via # requests # yarl -imgkit==1.2.2 +imgkit==1.2.3 # via -r examples/requirements/common.in -importlib-metadata==1.7.0 - # via typer-cli inflection==0.5.1 # via drf-spectacular -iniconfig==1.1.1 +iniconfig==2.0.0 # via pytest isodate==0.6.1 - # via msrest -itsdangerous==2.1.2 + # via azure-storage-blob +itsdangerous==2.2.0 # via flask -jinja2==3.1.2 +jinja2==3.1.4 # via # flask # flask-babelex @@ -196,40 +192,42 @@ jmespath==1.0.1 # via # boto3 # botocore -jsonschema==4.17.3 +jsonschema==4.23.0 # via drf-spectacular -levenshtein==0.21.0 +jsonschema-specifications==2023.12.1 + # via jsonschema +levenshtein==0.25.1 # via python-levenshtein -lxml==4.9.2 +lxml==5.3.0 # via # python-docx # python-pptx # xml2epub -mako==1.2.4 +mako==1.3.5 # via alembic -markupsafe==2.1.1 +markdown-it-py==3.0.0 + # via rich +markupsafe==2.1.5 # via # jinja2 # mako # werkzeug # wtforms -mock==4.0.3 +mdurl==0.1.2 + # via markdown-it-py +mock==5.1.0 # via pathy -moto==4.2.5 +moto==5.0.14 # via -r examples/requirements/test.in -msrest==0.7.1 - # via azure-storage-blob -multidict==6.0.4 +multidict==6.1.0 # via # aiohttp # yarl -oauthlib==3.2.2 - # via requests-oauthlib odfpy==1.4.1 # via -r examples/requirements/common.in -openpyxl==3.0.10 +openpyxl==3.1.5 # via -r examples/requirements/common.in -packaging==22.0 +packaging==24.1 # via # pyproject-api # pytest @@ -237,55 +235,58 @@ packaging==22.0 # tox parametrize==0.1.1 # via -r examples/requirements/test.in -paramiko==3.2.0 +paramiko==3.4.1 # via -r examples/requirements/common.in -pathy[all]==0.10.1 +pathy[all]==0.10.3 # via -r examples/requirements/common.in -pdf2image==1.16.3 +pdf2image==1.17.0 # via -r examples/requirements/common.in pdfkit==1.0.0 # via -r examples/requirements/common.in -pillow==9.3.0 +pillow==9.5.0 # via # pdf2image # python-pptx # reportlab # weasyprint # xml2epub -platformdirs==2.6.0 +platformdirs==4.3.2 # via # tox # virtualenv -pluggy==1.0.0 +pluggy==1.5.0 # via # pytest # tox -protobuf==4.21.12 +proto-plus==1.24.0 + # via google-api-core +protobuf==5.28.0 # via # google-api-core # google-cloud-storage # googleapis-common-protos + # proto-plus py==1.11.0 # via -r examples/requirements/test.in -pyasn1==0.4.8 +pyasn1==0.6.1 # via # pyasn1-modules # rsa -pyasn1-modules==0.2.8 +pyasn1-modules==0.4.1 # via google-auth -pycparser==2.21 +pycparser==2.22 # via cffi -pydyf==0.7.0 +pydyf==0.11.0 # via weasyprint +pygments==2.18.0 + # via rich pynacl==1.5.0 # via paramiko -pyphen==0.14.0 +pyphen==0.16.0 # via weasyprint -pyproject-api==1.2.1 +pyproject-api==1.7.1 # via tox -pyrsistent==0.19.3 - # via jsonschema -pytest==7.2.1 +pytest==8.3.3 # via # -r examples/requirements/test.in # pathy @@ -294,7 +295,7 @@ pytest==7.2.1 # pytest-ordering # pytest-parallel # pytest-rerunfailures -pytest-cov==4.0.0 +pytest-cov==5.0.0 # via # -r examples/requirements/test.in # pytest-cover @@ -302,90 +303,97 @@ pytest-cover==3.0.0 # via pytest-coverage pytest-coverage==0.0 # via pathy -pytest-django==4.5.2 +pytest-django==4.9.0 # via -r examples/requirements/test.in pytest-ordering==0.6 # via -r examples/requirements/test.in pytest-parallel==0.1.1 # via -r examples/requirements/test.in -pytest-rerunfailures==11.0 +pytest-rerunfailures==14.0 # via -r examples/requirements/test.in pytest-rst==0.1.5 # via -r examples/requirements/test.in -python-dateutil==2.8.2 +python-dateutil==2.9.0.post0 # via # botocore # faker # moto -python-docx==0.8.11 +python-docx==1.1.2 # via -r examples/requirements/common.in -python-levenshtein==0.21.0 +python-levenshtein==0.25.1 # via fuzzywuzzy -python-pptx==0.6.21 +python-pptx==1.0.2 # via -r examples/requirements/common.in -pytz==2022.7 +pytz==2024.1 # via - # babel + # -r examples/requirements/common.in # django -pyyaml==6.0 +pyyaml==6.0.2 # via # drf-spectacular # responses -rapidfuzz==3.1.1 +rapidfuzz==3.9.7 # via levenshtein -reportlab==3.6.12 +referencing==0.35.1 + # via + # jsonschema + # jsonschema-specifications +reportlab==4.2.2 # via -r examples/requirements/common.in -requests==2.31.0 +requests==2.32.3 # via # azure-core # google-api-core # google-cloud-storage # gtts # moto - # msrest - # requests-oauthlib # responses # xml2epub -requests-oauthlib==1.3.1 - # via msrest -responses==0.23.3 +responses==0.25.3 # via moto +rich==13.8.1 + # via typer +rpds-py==0.20.0 + # via + # jsonschema + # referencing rsa==4.9 # via google-auth -s3transfer==0.6.0 +s3transfer==0.10.2 # via boto3 +shellingham==1.5.4 + # via typer six==1.16.0 # via # azure-core - # google-auth # google-cloud-storage # html5lib # imgkit # isodate # python-dateutil -smart-open==6.3.0 +smart-open==6.4.0 # via pathy -soupsieve==2.3.2.post1 +soupsieve==2.6 # via beautifulsoup4 speaklater==1.3 # via flask-babelex -sqlalchemy==1.4.45 +sqlalchemy==1.4.54 # via # -r examples/requirements/flask.in # alembic # flask-sqlalchemy # sqlalchemy-utils -sqlalchemy-utils==0.38.3 +sqlalchemy-utils==0.41.2 # via -r examples/requirements/flask.in -sqlparse==0.4.3 +sqlparse==0.5.1 # via # django # django-debug-toolbar -tablib==3.3.0 +tablib==3.6.1 # via -r examples/requirements/common.in -tblib==1.7.0 +tblib==3.0.0 # via pytest-parallel -tinycss2==1.2.1 +tinycss2==1.3.0 # via # cssselect2 # weasyprint @@ -395,49 +403,54 @@ tomli==2.0.1 # pyproject-api # pytest # tox -tox==4.0.16 +tox==4.18.1 # via -r examples/requirements/test.in -typer==0.7.0 - # via pathy -typer-cli==0.0.1 +typer==0.12.5 + # via + # pathy + # typer-cli +typer-cli==0.12.5 # via pathy -types-pyyaml==6.0.12.12 - # via responses -typing-extensions==4.4.0 +typing-extensions==4.12.2 # via + # alembic + # asgiref # asyncssh # azure-core + # azure-storage-blob + # multidict + # python-docx + # python-pptx + # typer uritemplate==4.1.1 # via drf-spectacular -urllib3==1.26.13 +urllib3==2.2.2 # via # botocore # requests # responses -virtualenv==20.17.1 +virtualenv==20.26.4 # via tox -weasyprint==59.0 +weasyprint==62.3 # via -r examples/requirements/common.in webencodings==0.5.1 # via # cssselect2 # html5lib # tinycss2 -werkzeug==2.2.3 +werkzeug==3.0.4 # via # flask # moto -wtforms==3.0.1 +wtforms==3.1.2 # via flask-admin -xlsxwriter==3.0.3 +xlsxwriter==3.2.0 # via python-pptx -xml2epub==2.6.2 +xml2epub==2.6.5 # via -r examples/requirements/common.in xmltodict==0.13.0 # via moto -yarl==1.8.2 +yarl==1.11.1 # via aiohttp -zipp==3.11.0 - # via importlib-metadata -zopfli==0.2.2 +zopfli==0.2.3 # via fonttools diff --git a/examples/requirements/django_4_0.txt b/examples/requirements/django_4_0.txt index 792bdff..de3a6af 100644 --- a/examples/requirements/django_4_0.txt +++ b/examples/requirements/django_4_0.txt @@ -1,71 +1,71 @@ -# -# This file is autogenerated by pip-compile with Python 3.10 -# by the following command: -# -# pip-compile examples/requirements/django_4_0.in -# -aiohttp==3.8.3 +# This file was autogenerated by uv via the following command: +# uv pip compile --no-strip-extras examples/requirements/django_4_0.in -o examples/requirements/django_4_0.txt +aiohappyeyeballs==2.4.0 + # via aiohttp +aiohttp==3.10.5 # via edge-tts aiosignal==1.3.1 # via aiohttp -asgiref==3.5.2 +asgiref==3.8.1 # via django -async-timeout==4.0.2 +async-timeout==4.0.3 # via aiohttp -asyncssh==2.13.1 +asyncssh==2.17.0 # via -r examples/requirements/test.in -attrs==22.1.0 +attrs==24.2.0 # via # aiohttp # jsonschema - # pytest -azure-core==1.26.1 - # via - # azure-storage-blob - # msrest -azure-storage-blob==12.14.1 + # referencing +azure-core==1.30.2 + # via azure-storage-blob +azure-storage-blob==12.22.0 # via pathy -bcrypt==4.0.1 +bcrypt==4.2.0 # via paramiko -beautifulsoup4==4.11.1 +beautifulsoup4==4.12.3 # via xml2epub -boto3==1.26.29 +boto3==1.35.16 # via # moto # pathy -botocore==1.29.29 +botocore==1.35.16 # via # boto3 # moto # s3transfer -brotli==1.0.9 +brotli==1.1.0 # via fonttools -cachetools==5.2.0 - # via google-auth -certifi==2022.12.7 +cachetools==5.5.0 # via - # msrest + # google-auth + # tox +certifi==2024.8.30 + # via + # edge-tts # requests -cffi==1.15.1 +cffi==1.17.1 # via # cryptography # pynacl # weasyprint -charset-normalizer==2.1.1 +chardet==5.2.0 # via - # aiohttp - # requests -click==7.1.2 + # reportlab + # tox +charset-normalizer==3.3.2 + # via requests +click==8.1.7 # via # gtts # typer colorama==0.4.6 - # via typer-cli -coverage[toml]==6.5.0 + # via tox +coverage[toml]==7.6.1 # via # -r examples/requirements/test.in # pytest-cov -cryptography==38.0.4 +cryptography==43.0.1 # via # asyncssh # azure-storage-blob @@ -75,9 +75,9 @@ cssselect2==0.7.0 # via weasyprint defusedxml==0.7.1 # via odfpy -distlib==0.3.6 +distlib==0.3.8 # via virtualenv -django==4.0.8 +django==4.0.10 # via # -r examples/requirements/django_4_0.in # django-debug-toolbar @@ -85,78 +85,78 @@ django==4.0.8 # django-storages # djangorestframework # drf-spectacular -django-debug-toolbar==3.8.1 +django-debug-toolbar==4.3.0 # via -r examples/requirements/django_4_0.in -django-extensions==3.2.1 +django-extensions==3.2.3 # via -r examples/requirements/django_4_0.in -django-storages==1.13.1 +django-storages==1.13.2 # via -r examples/requirements/django_4_0.in djangorestframework==3.13.1 # via # -r examples/requirements/django_4_0.in # drf-spectacular -drf-spectacular==0.25.1 +drf-spectacular==0.27.2 # via -r examples/requirements/django_4_0.in -edge-tts==6.0.8 +edge-tts==6.1.12 # via -r examples/requirements/common.in et-xmlfile==1.1.0 # via openpyxl -exceptiongroup==1.1.0 +exceptiongroup==1.2.2 # via pytest -factory-boy==3.2.1 +factory-boy==3.3.1 # via -r examples/requirements/test.in -faker==15.3.4 +faker==28.4.1 # via # -r examples/requirements/test.in # factory-boy -filelock==3.8.0 +filelock==3.16.0 # via # tox # virtualenv -fonttools[woff]==4.41.0 +fonttools[woff]==4.53.1 # via weasyprint -frozenlist==1.3.3 +frozenlist==1.4.1 # via # aiohttp # aiosignal fuzzywuzzy[speedup]==0.18.0 # via -r examples/requirements/test.in -google-api-core==2.11.0 +google-api-core==2.19.2 # via # google-cloud-core # google-cloud-storage -google-auth==2.15.0 +google-auth==2.34.0 # via # google-api-core # google-cloud-core # google-cloud-storage -google-cloud-core==2.3.2 +google-cloud-core==2.4.1 # via google-cloud-storage google-cloud-storage==1.44.0 # via pathy -google-crc32c==1.5.0 +google-crc32c==1.6.0 # via google-resumable-media -google-resumable-media==2.4.0 +google-resumable-media==2.7.2 # via google-cloud-storage -googleapis-common-protos==1.57.0 +googleapis-common-protos==1.65.0 # via google-api-core -gtts==2.3.1 +gtts==2.5.3 # via -r examples/requirements/common.in html5lib==1.1 # via weasyprint -idna==3.4 +idna==3.8 # via # requests # yarl -imgkit==1.2.2 +imgkit==1.2.3 # via -r examples/requirements/common.in inflection==0.5.1 # via drf-spectacular -iniconfig==1.1.1 +iniconfig==2.0.0 # via pytest isodate==0.6.1 - # via msrest -jinja2==3.1.2 + # via azure-storage-blob +jinja2==3.1.4 # via # moto # xml2epub @@ -164,91 +164,97 @@ jmespath==1.0.1 # via # boto3 # botocore -jsonschema==4.17.3 +jsonschema==4.23.0 # via drf-spectacular -levenshtein==0.21.0 +jsonschema-specifications==2023.12.1 + # via jsonschema +levenshtein==0.25.1 # via python-levenshtein -lxml==4.9.1 +lxml==5.3.0 # via # python-docx # python-pptx # xml2epub -markupsafe==2.1.1 +markdown-it-py==3.0.0 + # via rich +markupsafe==2.1.5 # via # jinja2 # werkzeug -mock==4.0.3 +mdurl==0.1.2 + # via markdown-it-py +mock==5.1.0 # via pathy -moto==4.2.5 +moto==5.0.14 # via -r examples/requirements/test.in -msrest==0.7.1 - # via azure-storage-blob -multidict==6.0.4 +multidict==6.1.0 # via # aiohttp # yarl -oauthlib==3.2.2 - # via requests-oauthlib odfpy==1.4.1 # via -r examples/requirements/common.in -openpyxl==3.0.10 +openpyxl==3.1.5 # via -r examples/requirements/common.in -packaging==21.3 +packaging==24.1 # via + # pyproject-api # pytest # pytest-rerunfailures # tox parametrize==0.1.1 # via -r examples/requirements/test.in -paramiko==3.2.0 +paramiko==3.4.1 # via -r examples/requirements/common.in -pathy[all]==0.10.1 +pathy[all]==0.10.3 # via -r examples/requirements/common.in -pdf2image==1.16.3 +pdf2image==1.17.0 # via -r examples/requirements/common.in pdfkit==1.0.0 # via -r examples/requirements/common.in -pillow==9.3.0 +pillow==9.5.0 # via # pdf2image # python-pptx # reportlab # weasyprint # xml2epub -platformdirs==2.5.4 - # via virtualenv -pluggy==1.0.0 +platformdirs==4.3.2 + # via + # tox + # virtualenv +pluggy==1.5.0 # via # pytest # tox -protobuf==4.21.11 +proto-plus==1.24.0 + # via google-api-core +protobuf==5.28.0 # via # google-api-core # google-cloud-storage # googleapis-common-protos + # proto-plus py==1.11.0 - # via - # -r examples/requirements/test.in - # tox -pyasn1==0.4.8 + # via -r examples/requirements/test.in +pyasn1==0.6.1 # via # pyasn1-modules # rsa -pyasn1-modules==0.2.8 +pyasn1-modules==0.4.1 # via google-auth -pycparser==2.21 +pycparser==2.22 # via cffi -pydyf==0.7.0 +pydyf==0.11.0 # via weasyprint +pygments==2.18.0 + # via rich pynacl==1.5.0 # via paramiko -pyparsing==3.0.9 - # via packaging -pyphen==0.14.0 +pyphen==0.16.0 # via weasyprint -pyrsistent==0.19.3 - # via jsonschema -pytest==7.2.1 +pyproject-api==1.7.1 + # via tox +pytest==8.3.3 # via # -r examples/requirements/test.in # pathy @@ -257,7 +263,7 @@ pytest==7.2.1 # pytest-ordering # pytest-parallel # pytest-rerunfailures -pytest-cov==4.0.0 +pytest-cov==5.0.0 # via # -r examples/requirements/test.in # pytest-cover @@ -265,128 +271,139 @@ pytest-cover==3.0.0 # via pytest-coverage pytest-coverage==0.0 # via pathy -pytest-django==4.5.2 +pytest-django==4.9.0 # via -r examples/requirements/test.in pytest-ordering==0.6 # via -r examples/requirements/test.in pytest-parallel==0.1.1 # via -r examples/requirements/test.in -pytest-rerunfailures==11.0 +pytest-rerunfailures==14.0 # via -r examples/requirements/test.in pytest-rst==0.1.5 # via -r examples/requirements/test.in -python-dateutil==2.8.2 +python-dateutil==2.9.0.post0 # via # botocore # faker # moto -python-docx==0.8.11 +python-docx==1.1.2 # via -r examples/requirements/common.in -python-levenshtein==0.21.0 +python-levenshtein==0.25.1 # via fuzzywuzzy -python-pptx==0.6.21 +python-pptx==1.0.2 # via -r examples/requirements/common.in -pytz==2022.7.1 - # via djangorestframework -pyyaml==6.0 +pytz==2024.1 + # via + # -r examples/requirements/common.in + # djangorestframework +pyyaml==6.0.2 # via # drf-spectacular # responses -rapidfuzz==3.1.1 +rapidfuzz==3.9.7 # via levenshtein -reportlab==3.6.12 +referencing==0.35.1 + # via + # jsonschema + # jsonschema-specifications +reportlab==4.2.2 # via -r examples/requirements/common.in -requests==2.31.0 +requests==2.32.3 # via # azure-core # google-api-core # google-cloud-storage # gtts # moto - # msrest - # requests-oauthlib # responses # xml2epub -requests-oauthlib==1.3.1 - # via msrest -responses==0.23.3 +responses==0.25.3 # via moto +rich==13.8.1 + # via typer +rpds-py==0.20.0 + # via + # jsonschema + # referencing rsa==4.9 # via google-auth -s3transfer==0.6.0 +s3transfer==0.10.2 # via boto3 -shellingham==1.5.0 - # via typer-cli +shellingham==1.5.4 + # via typer six==1.16.0 # via # azure-core - # google-auth # google-cloud-storage # html5lib # imgkit # isodate # python-dateutil - # tox -smart-open==6.3.0 +smart-open==6.4.0 # via pathy -soupsieve==2.3.2.post1 +soupsieve==2.6 # via beautifulsoup4 -sqlparse==0.4.3 +sqlparse==0.5.1 # via # django # django-debug-toolbar -tablib==3.2.1 +tablib==3.6.1 # via -r examples/requirements/common.in -tblib==1.7.0 +tblib==3.0.0 # via pytest-parallel -tinycss2==1.2.1 +tinycss2==1.3.0 # via # cssselect2 # weasyprint tomli==2.0.1 # via # coverage + # pyproject-api # pytest # tox -tox==3.27.1 +tox==4.18.1 # via -r examples/requirements/test.in -typer==0.3.2 +typer==0.12.5 # via # pathy # typer-cli -typer-cli==0.0.12 +typer-cli==0.12.5 # via pathy -types-pyyaml==6.0.12.12 - # via responses -typing-extensions==4.4.0 +typing-extensions==4.12.2 # via + # asgiref # asyncssh # azure-core + # azure-storage-blob + # multidict + # python-docx + # python-pptx + # typer uritemplate==4.1.1 # via drf-spectacular -urllib3==1.26.13 +urllib3==2.2.2 # via # botocore # requests # responses -virtualenv==20.17.0 +virtualenv==20.26.4 # via tox -weasyprint==59.0 +weasyprint==62.3 # via -r examples/requirements/common.in webencodings==0.5.1 # via # cssselect2 # html5lib # tinycss2 -werkzeug==3.0.0 +werkzeug==3.0.4 # via moto -xlsxwriter==3.0.3 +xlsxwriter==3.2.0 # via python-pptx -xml2epub==2.6.2 +xml2epub==2.6.5 # via -r examples/requirements/common.in xmltodict==0.13.0 # via moto -yarl==1.8.2 +yarl==1.11.1 # via aiohttp -zopfli==0.2.2 +zopfli==0.2.3 # via fonttools diff --git a/examples/requirements/django_4_0_and_flask.txt b/examples/requirements/django_4_0_and_flask.txt index be04ac1..8047250 100644 --- a/examples/requirements/django_4_0_and_flask.txt +++ b/examples/requirements/django_4_0_and_flask.txt @@ -1,80 +1,78 @@ -# -# This file is autogenerated by pip-compile with Python 3.10 -# by the following command: -# -# pip-compile examples/requirements/django_4_0_and_flask.in -# -aiohttp==3.8.3 +# This file was autogenerated by uv via the following command: +# uv pip compile --no-strip-extras examples/requirements/django_4_0_and_flask.in -o examples/requirements/django_4_0_and_flask.txt +aiohappyeyeballs==2.4.0 + # via aiohttp +aiohttp==3.10.5 # via edge-tts aiosignal==1.3.1 # via aiohttp -alembic==1.9.0 +alembic==1.13.2 # via -r examples/requirements/flask.in -asgiref==3.6.0 +asgiref==3.8.1 # via django -async-timeout==4.0.2 +async-timeout==4.0.3 # via aiohttp -asyncssh==2.13.1 +asyncssh==2.17.0 # via -r examples/requirements/test.in -attrs==22.2.0 +attrs==24.2.0 # via # aiohttp # jsonschema - # pytest -azure-core==1.26.1 - # via - # azure-storage-blob - # msrest -azure-storage-blob==12.14.1 + # referencing +azure-core==1.30.2 + # via azure-storage-blob +azure-storage-blob==12.22.0 # via pathy -babel==2.11.0 +babel==2.16.0 # via flask-babelex -bcrypt==4.0.1 +bcrypt==4.2.0 # via paramiko -beautifulsoup4==4.11.1 +beautifulsoup4==4.12.3 # via xml2epub -boto3==1.26.36 +blinker==1.8.2 + # via flask +boto3==1.35.16 # via # moto # pathy -botocore==1.29.36 +botocore==1.35.16 # via # boto3 # moto # s3transfer -brotli==1.0.9 +brotli==1.1.0 # via fonttools -cachetools==5.2.0 +cachetools==5.5.0 # via # google-auth # tox -certifi==2022.12.7 +certifi==2024.8.30 # via - # msrest + # edge-tts # requests -cffi==1.15.1 +cffi==1.17.1 # via # cryptography # pynacl # weasyprint -chardet==5.1.0 - # via tox -charset-normalizer==2.1.1 +chardet==5.2.0 # via - # aiohttp - # requests -click==8.1.3 + # reportlab + # tox +charset-normalizer==3.3.2 + # via requests +click==8.1.7 # via # flask # gtts # typer colorama==0.4.6 # via tox -coverage[toml]==7.0.0 +coverage[toml]==7.6.1 # via # -r examples/requirements/test.in # pytest-cov -cryptography==38.0.4 +cryptography==43.0.1 # via # asyncssh # azure-storage-blob @@ -84,9 +82,9 @@ cssselect2==0.7.0 # via weasyprint defusedxml==0.7.1 # via odfpy -distlib==0.3.6 +distlib==0.3.8 # via virtualenv -django==4.0.8 +django==4.0.10 # via # -r examples/requirements/django_4_0.in # django-debug-toolbar @@ -94,99 +92,97 @@ django==4.0.8 # django-storages # djangorestframework # drf-spectacular -django-debug-toolbar==3.8.1 +django-debug-toolbar==4.3.0 # via -r examples/requirements/django_4_0.in -django-extensions==3.2.1 +django-extensions==3.2.3 # via -r examples/requirements/django_4_0.in -django-storages==1.13.1 +django-storages==1.13.2 # via -r examples/requirements/django_4_0.in djangorestframework==3.13.1 # via # -r examples/requirements/django_4_0.in # drf-spectacular -drf-spectacular==0.25.1 +drf-spectacular==0.27.2 # via -r examples/requirements/django_4_0.in -edge-tts==6.0.8 +edge-tts==6.1.12 # via -r examples/requirements/common.in et-xmlfile==1.1.0 # via openpyxl -exceptiongroup==1.1.0 +exceptiongroup==1.2.2 # via pytest -factory-boy==3.2.1 +factory-boy==3.3.1 # via -r examples/requirements/test.in -faker==15.3.4 +faker==28.4.1 # via # -r examples/requirements/test.in # factory-boy -filelock==3.8.2 +filelock==3.16.0 # via # tox # virtualenv -flask==2.2.2 +flask==2.3.3 # via # -r examples/requirements/flask.in # flask-admin # flask-babelex # flask-sqlalchemy # flask-testing -flask-admin==1.6.0 +flask-admin==1.6.1 # via -r examples/requirements/flask.in flask-babelex==0.9.4 # via -r examples/requirements/flask.in -flask-sqlalchemy==3.0.2 +flask-sqlalchemy==3.0.5 # via -r examples/requirements/flask.in flask-testing==0.8.1 # via -r examples/requirements/flask.in -fonttools[woff]==4.41.0 +fonttools[woff]==4.53.1 # via weasyprint -frozenlist==1.3.3 +frozenlist==1.4.1 # via # aiohttp # aiosignal fuzzywuzzy[speedup]==0.18.0 # via -r examples/requirements/test.in -google-api-core==2.11.0 +google-api-core==2.19.2 # via # google-cloud-core # google-cloud-storage -google-auth==2.15.0 +google-auth==2.34.0 # via # google-api-core # google-cloud-core # google-cloud-storage -google-cloud-core==2.3.2 +google-cloud-core==2.4.1 # via google-cloud-storage google-cloud-storage==1.44.0 # via pathy -google-crc32c==1.5.0 +google-crc32c==1.6.0 # via google-resumable-media -google-resumable-media==2.4.0 +google-resumable-media==2.7.2 # via google-cloud-storage -googleapis-common-protos==1.57.0 +googleapis-common-protos==1.65.0 # via google-api-core -greenlet==2.0.1 +greenlet==3.1.0 # via sqlalchemy -gtts==2.3.1 +gtts==2.5.3 # via -r examples/requirements/common.in html5lib==1.1 # via weasyprint -idna==3.4 +idna==3.8 # via # requests # yarl -imgkit==1.2.2 +imgkit==1.2.3 # via -r examples/requirements/common.in -importlib-metadata==1.7.0 - # via typer-cli inflection==0.5.1 # via drf-spectacular -iniconfig==1.1.1 +iniconfig==2.0.0 # via pytest isodate==0.6.1 - # via msrest -itsdangerous==2.1.2 + # via azure-storage-blob +itsdangerous==2.2.0 # via flask -jinja2==3.1.2 +jinja2==3.1.4 # via # flask # flask-babelex @@ -196,40 +192,42 @@ jmespath==1.0.1 # via # boto3 # botocore -jsonschema==4.17.3 +jsonschema==4.23.0 # via drf-spectacular -levenshtein==0.21.0 +jsonschema-specifications==2023.12.1 + # via jsonschema +levenshtein==0.25.1 # via python-levenshtein -lxml==4.9.2 +lxml==5.3.0 # via # python-docx # python-pptx # xml2epub -mako==1.2.4 +mako==1.3.5 # via alembic -markupsafe==2.1.1 +markdown-it-py==3.0.0 + # via rich +markupsafe==2.1.5 # via # jinja2 # mako # werkzeug # wtforms -mock==4.0.3 +mdurl==0.1.2 + # via markdown-it-py +mock==5.1.0 # via pathy -moto==4.2.5 +moto==5.0.14 # via -r examples/requirements/test.in -msrest==0.7.1 - # via azure-storage-blob -multidict==6.0.4 +multidict==6.1.0 # via # aiohttp # yarl -oauthlib==3.2.2 - # via requests-oauthlib odfpy==1.4.1 # via -r examples/requirements/common.in -openpyxl==3.0.10 +openpyxl==3.1.5 # via -r examples/requirements/common.in -packaging==22.0 +packaging==24.1 # via # pyproject-api # pytest @@ -237,55 +235,58 @@ packaging==22.0 # tox parametrize==0.1.1 # via -r examples/requirements/test.in -paramiko==3.2.0 +paramiko==3.4.1 # via -r examples/requirements/common.in -pathy[all]==0.10.1 +pathy[all]==0.10.3 # via -r examples/requirements/common.in -pdf2image==1.16.3 +pdf2image==1.17.0 # via -r examples/requirements/common.in pdfkit==1.0.0 # via -r examples/requirements/common.in -pillow==9.3.0 +pillow==9.5.0 # via # pdf2image # python-pptx # reportlab # weasyprint # xml2epub -platformdirs==2.6.0 +platformdirs==4.3.2 # via # tox # virtualenv -pluggy==1.0.0 +pluggy==1.5.0 # via # pytest # tox -protobuf==4.21.12 +proto-plus==1.24.0 + # via google-api-core +protobuf==5.28.0 # via # google-api-core # google-cloud-storage # googleapis-common-protos + # proto-plus py==1.11.0 # via -r examples/requirements/test.in -pyasn1==0.4.8 +pyasn1==0.6.1 # via # pyasn1-modules # rsa -pyasn1-modules==0.2.8 +pyasn1-modules==0.4.1 # via google-auth -pycparser==2.21 +pycparser==2.22 # via cffi -pydyf==0.7.0 +pydyf==0.11.0 # via weasyprint +pygments==2.18.0 + # via rich pynacl==1.5.0 # via paramiko -pyphen==0.14.0 +pyphen==0.16.0 # via weasyprint -pyproject-api==1.2.1 +pyproject-api==1.7.1 # via tox -pyrsistent==0.19.3 - # via jsonschema -pytest==7.2.1 +pytest==8.3.3 # via # -r examples/requirements/test.in # pathy @@ -294,7 +295,7 @@ pytest==7.2.1 # pytest-ordering # pytest-parallel # pytest-rerunfailures -pytest-cov==4.0.0 +pytest-cov==5.0.0 # via # -r examples/requirements/test.in # pytest-cover @@ -302,90 +303,97 @@ pytest-cover==3.0.0 # via pytest-coverage pytest-coverage==0.0 # via pathy -pytest-django==4.5.2 +pytest-django==4.9.0 # via -r examples/requirements/test.in pytest-ordering==0.6 # via -r examples/requirements/test.in pytest-parallel==0.1.1 # via -r examples/requirements/test.in -pytest-rerunfailures==11.0 +pytest-rerunfailures==14.0 # via -r examples/requirements/test.in pytest-rst==0.1.5 # via -r examples/requirements/test.in -python-dateutil==2.8.2 +python-dateutil==2.9.0.post0 # via # botocore # faker # moto -python-docx==0.8.11 +python-docx==1.1.2 # via -r examples/requirements/common.in -python-levenshtein==0.21.0 +python-levenshtein==0.25.1 # via fuzzywuzzy -python-pptx==0.6.21 +python-pptx==1.0.2 # via -r examples/requirements/common.in -pytz==2022.7 +pytz==2024.1 # via - # babel + # -r examples/requirements/common.in # djangorestframework -pyyaml==6.0 +pyyaml==6.0.2 # via # drf-spectacular # responses -rapidfuzz==3.1.1 +rapidfuzz==3.9.7 # via levenshtein -reportlab==3.6.12 +referencing==0.35.1 + # via + # jsonschema + # jsonschema-specifications +reportlab==4.2.2 # via -r examples/requirements/common.in -requests==2.31.0 +requests==2.32.3 # via # azure-core # google-api-core # google-cloud-storage # gtts # moto - # msrest - # requests-oauthlib # responses # xml2epub -requests-oauthlib==1.3.1 - # via msrest -responses==0.23.3 +responses==0.25.3 # via moto +rich==13.8.1 + # via typer +rpds-py==0.20.0 + # via + # jsonschema + # referencing rsa==4.9 # via google-auth -s3transfer==0.6.0 +s3transfer==0.10.2 # via boto3 +shellingham==1.5.4 + # via typer six==1.16.0 # via # azure-core - # google-auth # google-cloud-storage # html5lib # imgkit # isodate # python-dateutil -smart-open==6.3.0 +smart-open==6.4.0 # via pathy -soupsieve==2.3.2.post1 +soupsieve==2.6 # via beautifulsoup4 speaklater==1.3 # via flask-babelex -sqlalchemy==1.4.45 +sqlalchemy==1.4.54 # via # -r examples/requirements/flask.in # alembic # flask-sqlalchemy # sqlalchemy-utils -sqlalchemy-utils==0.38.3 +sqlalchemy-utils==0.41.2 # via -r examples/requirements/flask.in -sqlparse==0.4.3 +sqlparse==0.5.1 # via # django # django-debug-toolbar -tablib==3.3.0 +tablib==3.6.1 # via -r examples/requirements/common.in -tblib==1.7.0 +tblib==3.0.0 # via pytest-parallel -tinycss2==1.2.1 +tinycss2==1.3.0 # via # cssselect2 # weasyprint @@ -395,49 +403,54 @@ tomli==2.0.1 # pyproject-api # pytest # tox -tox==4.0.16 +tox==4.18.1 # via -r examples/requirements/test.in -typer==0.7.0 - # via pathy -typer-cli==0.0.1 +typer==0.12.5 + # via + # pathy + # typer-cli +typer-cli==0.12.5 # via pathy -types-pyyaml==6.0.12.12 - # via responses -typing-extensions==4.4.0 +typing-extensions==4.12.2 # via + # alembic + # asgiref # asyncssh # azure-core + # azure-storage-blob + # multidict + # python-docx + # python-pptx + # typer uritemplate==4.1.1 # via drf-spectacular -urllib3==1.26.13 +urllib3==2.2.2 # via # botocore # requests # responses -virtualenv==20.17.1 +virtualenv==20.26.4 # via tox -weasyprint==59.0 +weasyprint==62.3 # via -r examples/requirements/common.in webencodings==0.5.1 # via # cssselect2 # html5lib # tinycss2 -werkzeug==2.2.3 +werkzeug==3.0.4 # via # flask # moto -wtforms==3.0.1 +wtforms==3.1.2 # via flask-admin -xlsxwriter==3.0.3 +xlsxwriter==3.2.0 # via python-pptx -xml2epub==2.6.2 +xml2epub==2.6.5 # via -r examples/requirements/common.in xmltodict==0.13.0 # via moto -yarl==1.8.2 +yarl==1.11.1 # via aiohttp -zipp==3.11.0 - # via importlib-metadata -zopfli==0.2.2 +zopfli==0.2.3 # via fonttools diff --git a/examples/requirements/django_4_1.txt b/examples/requirements/django_4_1.txt index 51b4558..10448c4 100644 --- a/examples/requirements/django_4_1.txt +++ b/examples/requirements/django_4_1.txt @@ -1,71 +1,71 @@ -# -# This file is autogenerated by pip-compile with Python 3.10 -# by the following command: -# -# pip-compile examples/requirements/django_4_1.in -# -aiohttp==3.8.3 +# This file was autogenerated by uv via the following command: +# uv pip compile --no-strip-extras examples/requirements/django_4_1.in -o examples/requirements/django_4_1.txt +aiohappyeyeballs==2.4.0 + # via aiohttp +aiohttp==3.10.5 # via edge-tts aiosignal==1.3.1 # via aiohttp -asgiref==3.5.2 +asgiref==3.8.1 # via django -async-timeout==4.0.2 +async-timeout==4.0.3 # via aiohttp -asyncssh==2.13.1 +asyncssh==2.17.0 # via -r examples/requirements/test.in -attrs==22.1.0 +attrs==24.2.0 # via # aiohttp # jsonschema - # pytest -azure-core==1.26.1 - # via - # azure-storage-blob - # msrest -azure-storage-blob==12.14.1 + # referencing +azure-core==1.30.2 + # via azure-storage-blob +azure-storage-blob==12.22.0 # via pathy -bcrypt==4.0.1 +bcrypt==4.2.0 # via paramiko -beautifulsoup4==4.11.1 +beautifulsoup4==4.12.3 # via xml2epub -boto3==1.26.29 +boto3==1.35.16 # via # moto # pathy -botocore==1.29.29 +botocore==1.35.16 # via # boto3 # moto # s3transfer -brotli==1.0.9 +brotli==1.1.0 # via fonttools -cachetools==5.2.0 - # via google-auth -certifi==2022.12.7 +cachetools==5.5.0 # via - # msrest + # google-auth + # tox +certifi==2024.8.30 + # via + # edge-tts # requests -cffi==1.15.1 +cffi==1.17.1 # via # cryptography # pynacl # weasyprint -charset-normalizer==2.1.1 +chardet==5.2.0 # via - # aiohttp - # requests -click==7.1.2 + # reportlab + # tox +charset-normalizer==3.3.2 + # via requests +click==8.1.7 # via # gtts # typer colorama==0.4.6 - # via typer-cli -coverage[toml]==6.5.0 + # via tox +coverage[toml]==7.6.1 # via # -r examples/requirements/test.in # pytest-cov -cryptography==38.0.4 +cryptography==43.0.1 # via # asyncssh # azure-storage-blob @@ -75,9 +75,9 @@ cssselect2==0.7.0 # via weasyprint defusedxml==0.7.1 # via odfpy -distlib==0.3.6 +distlib==0.3.8 # via virtualenv -django==4.1.9 +django==4.1.13 # via # -r examples/requirements/django_4_1.in # django-debug-toolbar @@ -85,78 +85,78 @@ django==4.1.9 # django-storages # djangorestframework # drf-spectacular -django-debug-toolbar==3.8.1 +django-debug-toolbar==4.3.0 # via -r examples/requirements/django_4_1.in -django-extensions==3.2.1 +django-extensions==3.2.3 # via -r examples/requirements/django_4_1.in -django-storages==1.13.1 +django-storages==1.13.2 # via -r examples/requirements/django_4_1.in djangorestframework==3.13.1 # via # -r examples/requirements/django_4_1.in # drf-spectacular -drf-spectacular==0.25.1 +drf-spectacular==0.27.2 # via -r examples/requirements/django_4_1.in -edge-tts==6.0.8 +edge-tts==6.1.12 # via -r examples/requirements/common.in et-xmlfile==1.1.0 # via openpyxl -exceptiongroup==1.1.0 +exceptiongroup==1.2.2 # via pytest -factory-boy==3.2.1 +factory-boy==3.3.1 # via -r examples/requirements/test.in -faker==15.3.4 +faker==28.4.1 # via # -r examples/requirements/test.in # factory-boy -filelock==3.8.0 +filelock==3.16.0 # via # tox # virtualenv -fonttools[woff]==4.41.0 +fonttools[woff]==4.53.1 # via weasyprint -frozenlist==1.3.3 +frozenlist==1.4.1 # via # aiohttp # aiosignal fuzzywuzzy[speedup]==0.18.0 # via -r examples/requirements/test.in -google-api-core==2.11.0 +google-api-core==2.19.2 # via # google-cloud-core # google-cloud-storage -google-auth==2.15.0 +google-auth==2.34.0 # via # google-api-core # google-cloud-core # google-cloud-storage -google-cloud-core==2.3.2 +google-cloud-core==2.4.1 # via google-cloud-storage google-cloud-storage==1.44.0 # via pathy -google-crc32c==1.5.0 +google-crc32c==1.6.0 # via google-resumable-media -google-resumable-media==2.4.0 +google-resumable-media==2.7.2 # via google-cloud-storage -googleapis-common-protos==1.57.0 +googleapis-common-protos==1.65.0 # via google-api-core -gtts==2.3.1 +gtts==2.5.3 # via -r examples/requirements/common.in html5lib==1.1 # via weasyprint -idna==3.4 +idna==3.8 # via # requests # yarl -imgkit==1.2.2 +imgkit==1.2.3 # via -r examples/requirements/common.in inflection==0.5.1 # via drf-spectacular -iniconfig==1.1.1 +iniconfig==2.0.0 # via pytest isodate==0.6.1 - # via msrest -jinja2==3.1.2 + # via azure-storage-blob +jinja2==3.1.4 # via # moto # xml2epub @@ -164,91 +164,97 @@ jmespath==1.0.1 # via # boto3 # botocore -jsonschema==4.17.3 +jsonschema==4.23.0 # via drf-spectacular -levenshtein==0.21.0 +jsonschema-specifications==2023.12.1 + # via jsonschema +levenshtein==0.25.1 # via python-levenshtein -lxml==4.9.1 +lxml==5.3.0 # via # python-docx # python-pptx # xml2epub -markupsafe==2.1.1 +markdown-it-py==3.0.0 + # via rich +markupsafe==2.1.5 # via # jinja2 # werkzeug -mock==4.0.3 +mdurl==0.1.2 + # via markdown-it-py +mock==5.1.0 # via pathy -moto==4.2.5 +moto==5.0.14 # via -r examples/requirements/test.in -msrest==0.7.1 - # via azure-storage-blob -multidict==6.0.4 +multidict==6.1.0 # via # aiohttp # yarl -oauthlib==3.2.2 - # via requests-oauthlib odfpy==1.4.1 # via -r examples/requirements/common.in -openpyxl==3.0.10 +openpyxl==3.1.5 # via -r examples/requirements/common.in -packaging==21.3 +packaging==24.1 # via + # pyproject-api # pytest # pytest-rerunfailures # tox parametrize==0.1.1 # via -r examples/requirements/test.in -paramiko==3.2.0 +paramiko==3.4.1 # via -r examples/requirements/common.in -pathy[all]==0.10.1 +pathy[all]==0.10.3 # via -r examples/requirements/common.in -pdf2image==1.16.3 +pdf2image==1.17.0 # via -r examples/requirements/common.in pdfkit==1.0.0 # via -r examples/requirements/common.in -pillow==9.3.0 +pillow==9.5.0 # via # pdf2image # python-pptx # reportlab # weasyprint # xml2epub -platformdirs==2.5.4 - # via virtualenv -pluggy==1.0.0 +platformdirs==4.3.2 + # via + # tox + # virtualenv +pluggy==1.5.0 # via # pytest # tox -protobuf==4.21.11 +proto-plus==1.24.0 + # via google-api-core +protobuf==5.28.0 # via # google-api-core # google-cloud-storage # googleapis-common-protos + # proto-plus py==1.11.0 - # via - # -r examples/requirements/test.in - # tox -pyasn1==0.4.8 + # via -r examples/requirements/test.in +pyasn1==0.6.1 # via # pyasn1-modules # rsa -pyasn1-modules==0.2.8 +pyasn1-modules==0.4.1 # via google-auth -pycparser==2.21 +pycparser==2.22 # via cffi -pydyf==0.7.0 +pydyf==0.11.0 # via weasyprint +pygments==2.18.0 + # via rich pynacl==1.5.0 # via paramiko -pyparsing==3.0.9 - # via packaging -pyphen==0.14.0 +pyphen==0.16.0 # via weasyprint -pyrsistent==0.19.3 - # via jsonschema -pytest==7.2.1 +pyproject-api==1.7.1 + # via tox +pytest==8.3.3 # via # -r examples/requirements/test.in # pathy @@ -257,7 +263,7 @@ pytest==7.2.1 # pytest-ordering # pytest-parallel # pytest-rerunfailures -pytest-cov==4.0.0 +pytest-cov==5.0.0 # via # -r examples/requirements/test.in # pytest-cover @@ -265,128 +271,139 @@ pytest-cover==3.0.0 # via pytest-coverage pytest-coverage==0.0 # via pathy -pytest-django==4.5.2 +pytest-django==4.9.0 # via -r examples/requirements/test.in pytest-ordering==0.6 # via -r examples/requirements/test.in pytest-parallel==0.1.1 # via -r examples/requirements/test.in -pytest-rerunfailures==11.0 +pytest-rerunfailures==14.0 # via -r examples/requirements/test.in pytest-rst==0.1.5 # via -r examples/requirements/test.in -python-dateutil==2.8.2 +python-dateutil==2.9.0.post0 # via # botocore # faker # moto -python-docx==0.8.11 +python-docx==1.1.2 # via -r examples/requirements/common.in -python-levenshtein==0.21.0 +python-levenshtein==0.25.1 # via fuzzywuzzy -python-pptx==0.6.21 +python-pptx==1.0.2 # via -r examples/requirements/common.in -pytz==2022.7.1 - # via djangorestframework -pyyaml==6.0 +pytz==2024.1 + # via + # -r examples/requirements/common.in + # djangorestframework +pyyaml==6.0.2 # via # drf-spectacular # responses -rapidfuzz==3.1.1 +rapidfuzz==3.9.7 # via levenshtein -reportlab==3.6.12 +referencing==0.35.1 + # via + # jsonschema + # jsonschema-specifications +reportlab==4.2.2 # via -r examples/requirements/common.in -requests==2.31.0 +requests==2.32.3 # via # azure-core # google-api-core # google-cloud-storage # gtts # moto - # msrest - # requests-oauthlib # responses # xml2epub -requests-oauthlib==1.3.1 - # via msrest -responses==0.23.3 +responses==0.25.3 # via moto +rich==13.8.1 + # via typer +rpds-py==0.20.0 + # via + # jsonschema + # referencing rsa==4.9 # via google-auth -s3transfer==0.6.0 +s3transfer==0.10.2 # via boto3 -shellingham==1.5.0 - # via typer-cli +shellingham==1.5.4 + # via typer six==1.16.0 # via # azure-core - # google-auth # google-cloud-storage # html5lib # imgkit # isodate # python-dateutil - # tox -smart-open==6.3.0 +smart-open==6.4.0 # via pathy -soupsieve==2.3.2.post1 +soupsieve==2.6 # via beautifulsoup4 -sqlparse==0.4.3 +sqlparse==0.5.1 # via # django # django-debug-toolbar -tablib==3.2.1 +tablib==3.6.1 # via -r examples/requirements/common.in -tblib==1.7.0 +tblib==3.0.0 # via pytest-parallel -tinycss2==1.2.1 +tinycss2==1.3.0 # via # cssselect2 # weasyprint tomli==2.0.1 # via # coverage + # pyproject-api # pytest # tox -tox==3.27.1 +tox==4.18.1 # via -r examples/requirements/test.in -typer==0.3.2 +typer==0.12.5 # via # pathy # typer-cli -typer-cli==0.0.12 +typer-cli==0.12.5 # via pathy -types-pyyaml==6.0.12.12 - # via responses -typing-extensions==4.4.0 +typing-extensions==4.12.2 # via + # asgiref # asyncssh # azure-core + # azure-storage-blob + # multidict + # python-docx + # python-pptx + # typer uritemplate==4.1.1 # via drf-spectacular -urllib3==1.26.13 +urllib3==2.2.2 # via # botocore # requests # responses -virtualenv==20.17.0 +virtualenv==20.26.4 # via tox -weasyprint==59.0 +weasyprint==62.3 # via -r examples/requirements/common.in webencodings==0.5.1 # via # cssselect2 # html5lib # tinycss2 -werkzeug==3.0.0 +werkzeug==3.0.4 # via moto -xlsxwriter==3.0.3 +xlsxwriter==3.2.0 # via python-pptx -xml2epub==2.6.2 +xml2epub==2.6.5 # via -r examples/requirements/common.in xmltodict==0.13.0 # via moto -yarl==1.8.2 +yarl==1.11.1 # via aiohttp -zopfli==0.2.2 +zopfli==0.2.3 # via fonttools diff --git a/examples/requirements/django_4_1_and_flask.txt b/examples/requirements/django_4_1_and_flask.txt index 44f796c..b9e54a4 100644 --- a/examples/requirements/django_4_1_and_flask.txt +++ b/examples/requirements/django_4_1_and_flask.txt @@ -1,80 +1,78 @@ -# -# This file is autogenerated by pip-compile with Python 3.10 -# by the following command: -# -# pip-compile examples/requirements/django_4_1_and_flask.in -# -aiohttp==3.8.3 +# This file was autogenerated by uv via the following command: +# uv pip compile --no-strip-extras examples/requirements/django_4_1_and_flask.in -o examples/requirements/django_4_1_and_flask.txt +aiohappyeyeballs==2.4.0 + # via aiohttp +aiohttp==3.10.5 # via edge-tts aiosignal==1.3.1 # via aiohttp -alembic==1.9.0 +alembic==1.13.2 # via -r examples/requirements/flask.in -asgiref==3.6.0 +asgiref==3.8.1 # via django -async-timeout==4.0.2 +async-timeout==4.0.3 # via aiohttp -asyncssh==2.13.1 +asyncssh==2.17.0 # via -r examples/requirements/test.in -attrs==22.2.0 +attrs==24.2.0 # via # aiohttp # jsonschema - # pytest -azure-core==1.26.1 - # via - # azure-storage-blob - # msrest -azure-storage-blob==12.14.1 + # referencing +azure-core==1.30.2 + # via azure-storage-blob +azure-storage-blob==12.22.0 # via pathy -babel==2.11.0 +babel==2.16.0 # via flask-babelex -bcrypt==4.0.1 +bcrypt==4.2.0 # via paramiko -beautifulsoup4==4.11.1 +beautifulsoup4==4.12.3 # via xml2epub -boto3==1.26.36 +blinker==1.8.2 + # via flask +boto3==1.35.16 # via # moto # pathy -botocore==1.29.36 +botocore==1.35.16 # via # boto3 # moto # s3transfer -brotli==1.0.9 +brotli==1.1.0 # via fonttools -cachetools==5.2.0 +cachetools==5.5.0 # via # google-auth # tox -certifi==2022.12.7 +certifi==2024.8.30 # via - # msrest + # edge-tts # requests -cffi==1.15.1 +cffi==1.17.1 # via # cryptography # pynacl # weasyprint -chardet==5.1.0 - # via tox -charset-normalizer==2.1.1 +chardet==5.2.0 # via - # aiohttp - # requests -click==8.1.3 + # reportlab + # tox +charset-normalizer==3.3.2 + # via requests +click==8.1.7 # via # flask # gtts # typer colorama==0.4.6 # via tox -coverage[toml]==7.0.0 +coverage[toml]==7.6.1 # via # -r examples/requirements/test.in # pytest-cov -cryptography==38.0.4 +cryptography==43.0.1 # via # asyncssh # azure-storage-blob @@ -84,9 +82,9 @@ cssselect2==0.7.0 # via weasyprint defusedxml==0.7.1 # via odfpy -distlib==0.3.6 +distlib==0.3.8 # via virtualenv -django==4.1.9 +django==4.1.13 # via # -r examples/requirements/django_4_1.in # django-debug-toolbar @@ -94,99 +92,97 @@ django==4.1.9 # django-storages # djangorestframework # drf-spectacular -django-debug-toolbar==3.8.1 +django-debug-toolbar==4.3.0 # via -r examples/requirements/django_4_1.in -django-extensions==3.2.1 +django-extensions==3.2.3 # via -r examples/requirements/django_4_1.in -django-storages==1.13.1 +django-storages==1.13.2 # via -r examples/requirements/django_4_1.in djangorestframework==3.13.1 # via # -r examples/requirements/django_4_1.in # drf-spectacular -drf-spectacular==0.25.1 +drf-spectacular==0.27.2 # via -r examples/requirements/django_4_1.in -edge-tts==6.0.8 +edge-tts==6.1.12 # via -r examples/requirements/common.in et-xmlfile==1.1.0 # via openpyxl -exceptiongroup==1.1.0 +exceptiongroup==1.2.2 # via pytest -factory-boy==3.2.1 +factory-boy==3.3.1 # via -r examples/requirements/test.in -faker==15.3.4 +faker==28.4.1 # via # -r examples/requirements/test.in # factory-boy -filelock==3.8.2 +filelock==3.16.0 # via # tox # virtualenv -flask==2.2.2 +flask==2.3.3 # via # -r examples/requirements/flask.in # flask-admin # flask-babelex # flask-sqlalchemy # flask-testing -flask-admin==1.6.0 +flask-admin==1.6.1 # via -r examples/requirements/flask.in flask-babelex==0.9.4 # via -r examples/requirements/flask.in -flask-sqlalchemy==3.0.2 +flask-sqlalchemy==3.0.5 # via -r examples/requirements/flask.in flask-testing==0.8.1 # via -r examples/requirements/flask.in -fonttools[woff]==4.41.0 +fonttools[woff]==4.53.1 # via weasyprint -frozenlist==1.3.3 +frozenlist==1.4.1 # via # aiohttp # aiosignal fuzzywuzzy[speedup]==0.18.0 # via -r examples/requirements/test.in -google-api-core==2.11.0 +google-api-core==2.19.2 # via # google-cloud-core # google-cloud-storage -google-auth==2.15.0 +google-auth==2.34.0 # via # google-api-core # google-cloud-core # google-cloud-storage -google-cloud-core==2.3.2 +google-cloud-core==2.4.1 # via google-cloud-storage google-cloud-storage==1.44.0 # via pathy -google-crc32c==1.5.0 +google-crc32c==1.6.0 # via google-resumable-media -google-resumable-media==2.4.0 +google-resumable-media==2.7.2 # via google-cloud-storage -googleapis-common-protos==1.57.0 +googleapis-common-protos==1.65.0 # via google-api-core -greenlet==2.0.1 +greenlet==3.1.0 # via sqlalchemy -gtts==2.3.1 +gtts==2.5.3 # via -r examples/requirements/common.in html5lib==1.1 # via weasyprint -idna==3.4 +idna==3.8 # via # requests # yarl -imgkit==1.2.2 +imgkit==1.2.3 # via -r examples/requirements/common.in -importlib-metadata==1.7.0 - # via typer-cli inflection==0.5.1 # via drf-spectacular -iniconfig==1.1.1 +iniconfig==2.0.0 # via pytest isodate==0.6.1 - # via msrest -itsdangerous==2.1.2 + # via azure-storage-blob +itsdangerous==2.2.0 # via flask -jinja2==3.1.2 +jinja2==3.1.4 # via # flask # flask-babelex @@ -196,40 +192,42 @@ jmespath==1.0.1 # via # boto3 # botocore -jsonschema==4.17.3 +jsonschema==4.23.0 # via drf-spectacular -levenshtein==0.21.0 +jsonschema-specifications==2023.12.1 + # via jsonschema +levenshtein==0.25.1 # via python-levenshtein -lxml==4.9.2 +lxml==5.3.0 # via # python-docx # python-pptx # xml2epub -mako==1.2.4 +mako==1.3.5 # via alembic -markupsafe==2.1.1 +markdown-it-py==3.0.0 + # via rich +markupsafe==2.1.5 # via # jinja2 # mako # werkzeug # wtforms -mock==4.0.3 +mdurl==0.1.2 + # via markdown-it-py +mock==5.1.0 # via pathy -moto==4.2.5 +moto==5.0.14 # via -r examples/requirements/test.in -msrest==0.7.1 - # via azure-storage-blob -multidict==6.0.4 +multidict==6.1.0 # via # aiohttp # yarl -oauthlib==3.2.2 - # via requests-oauthlib odfpy==1.4.1 # via -r examples/requirements/common.in -openpyxl==3.0.10 +openpyxl==3.1.5 # via -r examples/requirements/common.in -packaging==22.0 +packaging==24.1 # via # pyproject-api # pytest @@ -237,55 +235,58 @@ packaging==22.0 # tox parametrize==0.1.1 # via -r examples/requirements/test.in -paramiko==3.2.0 +paramiko==3.4.1 # via -r examples/requirements/common.in -pathy[all]==0.10.1 +pathy[all]==0.10.3 # via -r examples/requirements/common.in -pdf2image==1.16.3 +pdf2image==1.17.0 # via -r examples/requirements/common.in pdfkit==1.0.0 # via -r examples/requirements/common.in -pillow==9.3.0 +pillow==9.5.0 # via # pdf2image # python-pptx # reportlab # weasyprint # xml2epub -platformdirs==2.6.0 +platformdirs==4.3.2 # via # tox # virtualenv -pluggy==1.0.0 +pluggy==1.5.0 # via # pytest # tox -protobuf==4.21.12 +proto-plus==1.24.0 + # via google-api-core +protobuf==5.28.0 # via # google-api-core # google-cloud-storage # googleapis-common-protos + # proto-plus py==1.11.0 # via -r examples/requirements/test.in -pyasn1==0.4.8 +pyasn1==0.6.1 # via # pyasn1-modules # rsa -pyasn1-modules==0.2.8 +pyasn1-modules==0.4.1 # via google-auth -pycparser==2.21 +pycparser==2.22 # via cffi -pydyf==0.7.0 +pydyf==0.11.0 # via weasyprint +pygments==2.18.0 + # via rich pynacl==1.5.0 # via paramiko -pyphen==0.14.0 +pyphen==0.16.0 # via weasyprint -pyproject-api==1.2.1 +pyproject-api==1.7.1 # via tox -pyrsistent==0.19.3 - # via jsonschema -pytest==7.2.1 +pytest==8.3.3 # via # -r examples/requirements/test.in # pathy @@ -294,7 +295,7 @@ pytest==7.2.1 # pytest-ordering # pytest-parallel # pytest-rerunfailures -pytest-cov==4.0.0 +pytest-cov==5.0.0 # via # -r examples/requirements/test.in # pytest-cover @@ -302,90 +303,97 @@ pytest-cover==3.0.0 # via pytest-coverage pytest-coverage==0.0 # via pathy -pytest-django==4.5.2 +pytest-django==4.9.0 # via -r examples/requirements/test.in pytest-ordering==0.6 # via -r examples/requirements/test.in pytest-parallel==0.1.1 # via -r examples/requirements/test.in -pytest-rerunfailures==11.0 +pytest-rerunfailures==14.0 # via -r examples/requirements/test.in pytest-rst==0.1.5 # via -r examples/requirements/test.in -python-dateutil==2.8.2 +python-dateutil==2.9.0.post0 # via # botocore # faker # moto -python-docx==0.8.11 +python-docx==1.1.2 # via -r examples/requirements/common.in -python-levenshtein==0.21.0 +python-levenshtein==0.25.1 # via fuzzywuzzy -python-pptx==0.6.21 +python-pptx==1.0.2 # via -r examples/requirements/common.in -pytz==2022.7 +pytz==2024.1 # via - # babel + # -r examples/requirements/common.in # djangorestframework -pyyaml==6.0 +pyyaml==6.0.2 # via # drf-spectacular # responses -rapidfuzz==3.1.1 +rapidfuzz==3.9.7 # via levenshtein -reportlab==3.6.12 +referencing==0.35.1 + # via + # jsonschema + # jsonschema-specifications +reportlab==4.2.2 # via -r examples/requirements/common.in -requests==2.31.0 +requests==2.32.3 # via # azure-core # google-api-core # google-cloud-storage # gtts # moto - # msrest - # requests-oauthlib # responses # xml2epub -requests-oauthlib==1.3.1 - # via msrest -responses==0.23.3 +responses==0.25.3 # via moto +rich==13.8.1 + # via typer +rpds-py==0.20.0 + # via + # jsonschema + # referencing rsa==4.9 # via google-auth -s3transfer==0.6.0 +s3transfer==0.10.2 # via boto3 +shellingham==1.5.4 + # via typer six==1.16.0 # via # azure-core - # google-auth # google-cloud-storage # html5lib # imgkit # isodate # python-dateutil -smart-open==6.3.0 +smart-open==6.4.0 # via pathy -soupsieve==2.3.2.post1 +soupsieve==2.6 # via beautifulsoup4 speaklater==1.3 # via flask-babelex -sqlalchemy==1.4.45 +sqlalchemy==1.4.54 # via # -r examples/requirements/flask.in # alembic # flask-sqlalchemy # sqlalchemy-utils -sqlalchemy-utils==0.38.3 +sqlalchemy-utils==0.41.2 # via -r examples/requirements/flask.in -sqlparse==0.4.3 +sqlparse==0.5.1 # via # django # django-debug-toolbar -tablib==3.3.0 +tablib==3.6.1 # via -r examples/requirements/common.in -tblib==1.7.0 +tblib==3.0.0 # via pytest-parallel -tinycss2==1.2.1 +tinycss2==1.3.0 # via # cssselect2 # weasyprint @@ -395,49 +403,54 @@ tomli==2.0.1 # pyproject-api # pytest # tox -tox==4.0.16 +tox==4.18.1 # via -r examples/requirements/test.in -typer==0.7.0 - # via pathy -typer-cli==0.0.1 +typer==0.12.5 + # via + # pathy + # typer-cli +typer-cli==0.12.5 # via pathy -types-pyyaml==6.0.12.12 - # via responses -typing-extensions==4.4.0 +typing-extensions==4.12.2 # via + # alembic + # asgiref # asyncssh # azure-core + # azure-storage-blob + # multidict + # python-docx + # python-pptx + # typer uritemplate==4.1.1 # via drf-spectacular -urllib3==1.26.13 +urllib3==2.2.2 # via # botocore # requests # responses -virtualenv==20.17.1 +virtualenv==20.26.4 # via tox -weasyprint==59.0 +weasyprint==62.3 # via -r examples/requirements/common.in webencodings==0.5.1 # via # cssselect2 # html5lib # tinycss2 -werkzeug==2.2.3 +werkzeug==3.0.4 # via # flask # moto -wtforms==3.0.1 +wtforms==3.1.2 # via flask-admin -xlsxwriter==3.0.3 +xlsxwriter==3.2.0 # via python-pptx -xml2epub==2.6.2 +xml2epub==2.6.5 # via -r examples/requirements/common.in xmltodict==0.13.0 # via moto -yarl==1.8.2 +yarl==1.11.1 # via aiohttp -zipp==3.11.0 - # via importlib-metadata -zopfli==0.2.2 +zopfli==0.2.3 # via fonttools diff --git a/examples/requirements/django_4_2.in b/examples/requirements/django_4_2.in index f5bf2f6..c43b7f7 100644 --- a/examples/requirements/django_4_2.in +++ b/examples/requirements/django_4_2.in @@ -4,7 +4,6 @@ Django>=4.2,<4.3 django-debug-toolbar>=3.5.0 django-extensions -#djangorestframework>=3.13.0,<3.14 -https://github.com/encode/django-rest-framework/archive/refs/heads/master.zip +djangorestframework>=3.15.0,<3.16 django-storages>=1.13,<1.14 drf_spectacular diff --git a/examples/requirements/django_4_2.txt b/examples/requirements/django_4_2.txt index a2b788c..2579086 100644 --- a/examples/requirements/django_4_2.txt +++ b/examples/requirements/django_4_2.txt @@ -1,72 +1,71 @@ -# -# This file is autogenerated by pip-compile with Python 3.10 -# by the following command: -# -# pip-compile examples/requirements/django_4_2.in -# -aiohttp==3.8.4 +# This file was autogenerated by uv via the following command: +# uv pip compile --no-strip-extras examples/requirements/django_4_2.in -o examples/requirements/django_4_2.txt +aiohappyeyeballs==2.4.0 + # via aiohttp +aiohttp==3.10.5 # via edge-tts aiosignal==1.3.1 # via aiohttp -asgiref==3.7.2 +asgiref==3.8.1 # via django -async-timeout==4.0.2 +async-timeout==4.0.3 # via aiohttp -asyncssh==2.13.1 +asyncssh==2.17.0 # via -r examples/requirements/test.in -attrs==23.1.0 +attrs==24.2.0 # via # aiohttp # jsonschema -azure-core==1.26.4 + # referencing +azure-core==1.30.2 # via azure-storage-blob -azure-storage-blob==12.16.0 +azure-storage-blob==12.22.0 # via pathy -bcrypt==4.0.1 +bcrypt==4.2.0 # via paramiko -beautifulsoup4==4.12.2 +beautifulsoup4==4.12.3 # via xml2epub -boto3==1.26.142 +boto3==1.35.16 # via # moto # pathy -botocore==1.29.142 +botocore==1.35.16 # via # boto3 # moto # s3transfer -brotli==1.0.9 +brotli==1.1.0 # via fonttools -cachetools==5.3.1 +cachetools==5.5.0 # via # google-auth # tox -certifi==2023.5.7 - # via requests -cffi==1.15.1 +certifi==2024.8.30 + # via + # edge-tts + # requests +cffi==1.17.1 # via # cryptography # pynacl # weasyprint -chardet==5.1.0 - # via tox -charset-normalizer==3.1.0 +chardet==5.2.0 # via - # aiohttp - # requests -click==8.1.3 + # reportlab + # tox +charset-normalizer==3.3.2 + # via requests +click==8.1.7 # via # gtts # typer colorama==0.4.6 - # via - # tox - # typer-cli -coverage[toml]==7.2.6 + # via tox +coverage[toml]==7.6.1 # via # -r examples/requirements/test.in # pytest-cov -cryptography==40.0.2 +cryptography==43.0.1 # via # asyncssh # azure-storage-blob @@ -76,9 +75,9 @@ cssselect2==0.7.0 # via weasyprint defusedxml==0.7.1 # via odfpy -distlib==0.3.6 +distlib==0.3.8 # via virtualenv -django==4.2.1 +django==4.2.16 # via # -r examples/requirements/django_4_2.in # django-debug-toolbar @@ -86,66 +85,66 @@ django==4.2.1 # django-storages # djangorestframework # drf-spectacular -django-debug-toolbar==4.1.0 +django-debug-toolbar==4.4.6 # via -r examples/requirements/django_4_2.in -django-extensions==3.2.1 +django-extensions==3.2.3 # via -r examples/requirements/django_4_2.in django-storages==1.13.2 # via -r examples/requirements/django_4_2.in -djangorestframework @ https://github.com/encode/django-rest-framework/archive/refs/heads/master.zip +djangorestframework==3.15.2 # via # -r examples/requirements/django_4_2.in # drf-spectacular -drf-spectacular==0.26.2 +drf-spectacular==0.27.2 # via -r examples/requirements/django_4_2.in -edge-tts==6.1.5 +edge-tts==6.1.12 # via -r examples/requirements/common.in et-xmlfile==1.1.0 # via openpyxl -exceptiongroup==1.1.1 +exceptiongroup==1.2.2 # via pytest -factory-boy==3.2.1 +factory-boy==3.3.1 # via -r examples/requirements/test.in -faker==18.9.0 +faker==28.4.1 # via # -r examples/requirements/test.in # factory-boy -filelock==3.12.0 +filelock==3.16.0 # via # tox # virtualenv -fonttools[woff]==4.41.0 +fonttools[woff]==4.53.1 # via weasyprint -frozenlist==1.3.3 +frozenlist==1.4.1 # via # aiohttp # aiosignal fuzzywuzzy[speedup]==0.18.0 # via -r examples/requirements/test.in -google-api-core==2.11.0 +google-api-core==2.19.2 # via # google-cloud-core # google-cloud-storage -google-auth==2.19.0 +google-auth==2.34.0 # via # google-api-core # google-cloud-core # google-cloud-storage -google-cloud-core==2.3.2 +google-cloud-core==2.4.1 # via google-cloud-storage google-cloud-storage==1.44.0 # via pathy -google-crc32c==1.5.0 +google-crc32c==1.6.0 # via google-resumable-media -google-resumable-media==2.5.0 +google-resumable-media==2.7.2 # via google-cloud-storage -googleapis-common-protos==1.59.0 +googleapis-common-protos==1.65.0 # via google-api-core -gtts==2.3.2 +gtts==2.5.3 # via -r examples/requirements/common.in html5lib==1.1 # via weasyprint -idna==3.4 +idna==3.8 # via # requests # yarl @@ -157,7 +156,7 @@ iniconfig==2.0.0 # via pytest isodate==0.6.1 # via azure-storage-blob -jinja2==3.1.2 +jinja2==3.1.4 # via # moto # xml2epub @@ -165,32 +164,38 @@ jmespath==1.0.1 # via # boto3 # botocore -jsonschema==4.17.3 +jsonschema==4.23.0 # via drf-spectacular -levenshtein==0.21.0 +jsonschema-specifications==2023.12.1 + # via jsonschema +levenshtein==0.25.1 # via python-levenshtein -lxml==4.9.2 +lxml==5.3.0 # via # python-docx # python-pptx # xml2epub -markupsafe==2.1.2 +markdown-it-py==3.0.0 + # via rich +markupsafe==2.1.5 # via # jinja2 # werkzeug -mock==5.0.2 +mdurl==0.1.2 + # via markdown-it-py +mock==5.1.0 # via pathy -moto==4.2.5 +moto==5.0.14 # via -r examples/requirements/test.in -multidict==6.0.4 +multidict==6.1.0 # via # aiohttp # yarl odfpy==1.4.1 # via -r examples/requirements/common.in -openpyxl==3.1.2 +openpyxl==3.1.5 # via -r examples/requirements/common.in -packaging==23.1 +packaging==24.1 # via # pyproject-api # pytest @@ -198,11 +203,11 @@ packaging==23.1 # tox parametrize==0.1.1 # via -r examples/requirements/test.in -paramiko==3.2.0 +paramiko==3.4.1 # via -r examples/requirements/common.in -pathy[all]==0.10.1 +pathy[all]==0.10.3 # via -r examples/requirements/common.in -pdf2image==1.16.3 +pdf2image==1.17.0 # via -r examples/requirements/common.in pdfkit==1.0.0 # via -r examples/requirements/common.in @@ -213,40 +218,43 @@ pillow==9.5.0 # reportlab # weasyprint # xml2epub -platformdirs==3.5.1 +platformdirs==4.3.2 # via # tox # virtualenv -pluggy==1.0.0 +pluggy==1.5.0 # via # pytest # tox -protobuf==4.23.2 +proto-plus==1.24.0 + # via google-api-core +protobuf==5.28.0 # via # google-api-core # google-cloud-storage # googleapis-common-protos + # proto-plus py==1.11.0 # via -r examples/requirements/test.in -pyasn1==0.5.0 +pyasn1==0.6.1 # via # pyasn1-modules # rsa -pyasn1-modules==0.3.0 +pyasn1-modules==0.4.1 # via google-auth -pycparser==2.21 +pycparser==2.22 # via cffi -pydyf==0.7.0 +pydyf==0.11.0 # via weasyprint +pygments==2.18.0 + # via rich pynacl==1.5.0 # via paramiko -pyphen==0.14.0 +pyphen==0.16.0 # via weasyprint -pyproject-api==1.5.1 +pyproject-api==1.7.1 # via tox -pyrsistent==0.19.3 - # via jsonschema -pytest==7.3.1 +pytest==8.3.3 # via # -r examples/requirements/test.in # pathy @@ -255,7 +263,7 @@ pytest==7.3.1 # pytest-ordering # pytest-parallel # pytest-rerunfailures -pytest-cov==4.1.0 +pytest-cov==5.0.0 # via # -r examples/requirements/test.in # pytest-cover @@ -263,36 +271,42 @@ pytest-cover==3.0.0 # via pytest-coverage pytest-coverage==0.0 # via pathy -pytest-django==4.5.2 +pytest-django==4.9.0 # via -r examples/requirements/test.in pytest-ordering==0.6 # via -r examples/requirements/test.in pytest-parallel==0.1.1 # via -r examples/requirements/test.in -pytest-rerunfailures==11.1.2 +pytest-rerunfailures==14.0 # via -r examples/requirements/test.in pytest-rst==0.1.5 # via -r examples/requirements/test.in -python-dateutil==2.8.2 +python-dateutil==2.9.0.post0 # via # botocore # faker # moto -python-docx==0.8.11 +python-docx==1.1.2 # via -r examples/requirements/common.in -python-levenshtein==0.21.0 +python-levenshtein==0.25.1 # via fuzzywuzzy -python-pptx==0.6.21 +python-pptx==1.0.2 + # via -r examples/requirements/common.in +pytz==2024.1 # via -r examples/requirements/common.in -pyyaml==6.0 +pyyaml==6.0.2 # via # drf-spectacular # responses -rapidfuzz==3.1.1 +rapidfuzz==3.9.7 # via levenshtein -reportlab==3.6.12 +referencing==0.35.1 + # via + # jsonschema + # jsonschema-specifications +reportlab==4.2.2 # via -r examples/requirements/common.in -requests==2.31.0 +requests==2.32.3 # via # azure-core # google-api-core @@ -301,36 +315,41 @@ requests==2.31.0 # moto # responses # xml2epub -responses==0.23.3 +responses==0.25.3 # via moto +rich==13.8.1 + # via typer +rpds-py==0.20.0 + # via + # jsonschema + # referencing rsa==4.9 # via google-auth -s3transfer==0.6.1 +s3transfer==0.10.2 # via boto3 -shellingham==1.4.0 - # via typer-cli +shellingham==1.5.4 + # via typer six==1.16.0 # via # azure-core - # google-auth # google-cloud-storage # html5lib # imgkit # isodate # python-dateutil -smart-open==6.3.0 +smart-open==6.4.0 # via pathy -soupsieve==2.4.1 +soupsieve==2.6 # via beautifulsoup4 -sqlparse==0.4.4 +sqlparse==0.5.1 # via # django # django-debug-toolbar -tablib==3.4.0 +tablib==3.6.1 # via -r examples/requirements/common.in -tblib==1.7.0 +tblib==3.0.0 # via pytest-parallel -tinycss2==1.2.1 +tinycss2==1.3.0 # via # cssselect2 # weasyprint @@ -340,48 +359,49 @@ tomli==2.0.1 # pyproject-api # pytest # tox -tox==4.5.2 +tox==4.18.1 # via -r examples/requirements/test.in -typer==0.7.0 +typer==0.12.5 # via # pathy # typer-cli -typer-cli==0.0.13 +typer-cli==0.12.5 # via pathy -types-pyyaml==6.0.12.12 - # via responses -typing-extensions==4.6.2 +typing-extensions==4.12.2 # via # asgiref # asyncssh # azure-core # azure-storage-blob + # multidict + # python-docx + # python-pptx + # typer uritemplate==4.1.1 # via drf-spectacular -urllib3==1.26.16 +urllib3==2.2.2 # via # botocore - # google-auth # requests # responses -virtualenv==20.23.0 +virtualenv==20.26.4 # via tox -weasyprint==59.0 +weasyprint==62.3 # via -r examples/requirements/common.in webencodings==0.5.1 # via # cssselect2 # html5lib # tinycss2 -werkzeug==3.0.0 +werkzeug==3.0.4 # via moto -xlsxwriter==3.1.2 +xlsxwriter==3.2.0 # via python-pptx -xml2epub==2.6.2 +xml2epub==2.6.5 # via -r examples/requirements/common.in xmltodict==0.13.0 # via moto -yarl==1.9.2 +yarl==1.11.1 # via aiohttp -zopfli==0.2.2 +zopfli==0.2.3 # via fonttools diff --git a/examples/requirements/django_4_2_and_flask.txt b/examples/requirements/django_4_2_and_flask.txt index aefac44..fbe7e9c 100644 --- a/examples/requirements/django_4_2_and_flask.txt +++ b/examples/requirements/django_4_2_and_flask.txt @@ -1,79 +1,78 @@ -# -# This file is autogenerated by pip-compile with Python 3.10 -# by the following command: -# -# pip-compile examples/requirements/django_4_2_and_flask.in -# -aiohttp==3.8.4 +# This file was autogenerated by uv via the following command: +# uv pip compile --no-strip-extras examples/requirements/django_4_2_and_flask.in -o examples/requirements/django_4_2_and_flask.txt +aiohappyeyeballs==2.4.0 + # via aiohttp +aiohttp==3.10.5 # via edge-tts aiosignal==1.3.1 # via aiohttp -alembic==1.11.1 +alembic==1.13.2 # via -r examples/requirements/flask.in -asgiref==3.7.2 +asgiref==3.8.1 # via django -async-timeout==4.0.2 +async-timeout==4.0.3 # via aiohttp -asyncssh==2.13.1 +asyncssh==2.17.0 # via -r examples/requirements/test.in -attrs==23.1.0 +attrs==24.2.0 # via # aiohttp # jsonschema -azure-core==1.26.4 + # referencing +azure-core==1.30.2 # via azure-storage-blob -azure-storage-blob==12.16.0 +azure-storage-blob==12.22.0 # via pathy -babel==2.12.1 +babel==2.16.0 # via flask-babelex -bcrypt==4.0.1 +bcrypt==4.2.0 # via paramiko -beautifulsoup4==4.12.2 +beautifulsoup4==4.12.3 # via xml2epub -blinker==1.6.2 +blinker==1.8.2 # via flask -boto3==1.26.142 +boto3==1.35.16 # via # moto # pathy -botocore==1.29.142 +botocore==1.35.16 # via # boto3 # moto # s3transfer -brotli==1.0.9 +brotli==1.1.0 # via fonttools -cachetools==5.3.1 +cachetools==5.5.0 # via # google-auth # tox -certifi==2023.5.7 - # via requests -cffi==1.15.1 +certifi==2024.8.30 + # via + # edge-tts + # requests +cffi==1.17.1 # via # cryptography # pynacl # weasyprint -chardet==5.1.0 - # via tox -charset-normalizer==3.1.0 +chardet==5.2.0 # via - # aiohttp - # requests -click==8.1.3 + # reportlab + # tox +charset-normalizer==3.3.2 + # via requests +click==8.1.7 # via # flask # gtts # typer colorama==0.4.6 - # via - # tox - # typer-cli -coverage[toml]==7.2.6 + # via tox +coverage[toml]==7.6.1 # via # -r examples/requirements/test.in # pytest-cov -cryptography==40.0.2 +cryptography==43.0.1 # via # asyncssh # azure-storage-blob @@ -83,9 +82,9 @@ cssselect2==0.7.0 # via weasyprint defusedxml==0.7.1 # via odfpy -distlib==0.3.6 +distlib==0.3.8 # via virtualenv -django==4.2.1 +django==4.2.16 # via # -r examples/requirements/django_4_2.in # django-debug-toolbar @@ -93,35 +92,35 @@ django==4.2.1 # django-storages # djangorestframework # drf-spectacular -django-debug-toolbar==4.1.0 +django-debug-toolbar==4.4.6 # via -r examples/requirements/django_4_2.in -django-extensions==3.2.1 +django-extensions==3.2.3 # via -r examples/requirements/django_4_2.in django-storages==1.13.2 # via -r examples/requirements/django_4_2.in -djangorestframework @ https://github.com/encode/django-rest-framework/archive/refs/heads/master.zip +djangorestframework==3.15.2 # via # -r examples/requirements/django_4_2.in # drf-spectacular -drf-spectacular==0.26.2 +drf-spectacular==0.27.2 # via -r examples/requirements/django_4_2.in -edge-tts==6.1.5 +edge-tts==6.1.12 # via -r examples/requirements/common.in et-xmlfile==1.1.0 # via openpyxl -exceptiongroup==1.1.1 +exceptiongroup==1.2.2 # via pytest -factory-boy==3.2.1 +factory-boy==3.3.1 # via -r examples/requirements/test.in -faker==18.9.0 +faker==28.4.1 # via # -r examples/requirements/test.in # factory-boy -filelock==3.12.0 +filelock==3.16.0 # via # tox # virtualenv -flask==2.3.2 +flask==2.3.3 # via # -r examples/requirements/flask.in # flask-admin @@ -132,44 +131,44 @@ flask-admin==1.6.1 # via -r examples/requirements/flask.in flask-babelex==0.9.4 # via -r examples/requirements/flask.in -flask-sqlalchemy==3.0.3 +flask-sqlalchemy==3.0.5 # via -r examples/requirements/flask.in flask-testing==0.8.1 # via -r examples/requirements/flask.in -fonttools[woff]==4.41.0 +fonttools[woff]==4.53.1 # via weasyprint -frozenlist==1.3.3 +frozenlist==1.4.1 # via # aiohttp # aiosignal fuzzywuzzy[speedup]==0.18.0 # via -r examples/requirements/test.in -google-api-core==2.11.0 +google-api-core==2.19.2 # via # google-cloud-core # google-cloud-storage -google-auth==2.19.0 +google-auth==2.34.0 # via # google-api-core # google-cloud-core # google-cloud-storage -google-cloud-core==2.3.2 +google-cloud-core==2.4.1 # via google-cloud-storage google-cloud-storage==1.44.0 # via pathy -google-crc32c==1.5.0 +google-crc32c==1.6.0 # via google-resumable-media -google-resumable-media==2.5.0 +google-resumable-media==2.7.2 # via google-cloud-storage -googleapis-common-protos==1.59.0 +googleapis-common-protos==1.65.0 # via google-api-core -greenlet==2.0.2 +greenlet==3.1.0 # via sqlalchemy -gtts==2.3.2 +gtts==2.5.3 # via -r examples/requirements/common.in html5lib==1.1 # via weasyprint -idna==3.4 +idna==3.8 # via # requests # yarl @@ -181,9 +180,9 @@ iniconfig==2.0.0 # via pytest isodate==0.6.1 # via azure-storage-blob -itsdangerous==2.1.2 +itsdangerous==2.2.0 # via flask -jinja2==3.1.2 +jinja2==3.1.4 # via # flask # flask-babelex @@ -193,36 +192,42 @@ jmespath==1.0.1 # via # boto3 # botocore -jsonschema==4.17.3 +jsonschema==4.23.0 # via drf-spectacular -levenshtein==0.21.0 +jsonschema-specifications==2023.12.1 + # via jsonschema +levenshtein==0.25.1 # via python-levenshtein -lxml==4.9.2 +lxml==5.3.0 # via # python-docx # python-pptx # xml2epub -mako==1.2.4 +mako==1.3.5 # via alembic -markupsafe==2.1.2 +markdown-it-py==3.0.0 + # via rich +markupsafe==2.1.5 # via # jinja2 # mako # werkzeug # wtforms -mock==5.0.2 +mdurl==0.1.2 + # via markdown-it-py +mock==5.1.0 # via pathy -moto==4.2.5 +moto==5.0.14 # via -r examples/requirements/test.in -multidict==6.0.4 +multidict==6.1.0 # via # aiohttp # yarl odfpy==1.4.1 # via -r examples/requirements/common.in -openpyxl==3.1.2 +openpyxl==3.1.5 # via -r examples/requirements/common.in -packaging==23.1 +packaging==24.1 # via # pyproject-api # pytest @@ -230,11 +235,11 @@ packaging==23.1 # tox parametrize==0.1.1 # via -r examples/requirements/test.in -paramiko==3.2.0 +paramiko==3.4.1 # via -r examples/requirements/common.in -pathy[all]==0.10.1 +pathy[all]==0.10.3 # via -r examples/requirements/common.in -pdf2image==1.16.3 +pdf2image==1.17.0 # via -r examples/requirements/common.in pdfkit==1.0.0 # via -r examples/requirements/common.in @@ -245,40 +250,43 @@ pillow==9.5.0 # reportlab # weasyprint # xml2epub -platformdirs==3.5.1 +platformdirs==4.3.2 # via # tox # virtualenv -pluggy==1.0.0 +pluggy==1.5.0 # via # pytest # tox -protobuf==4.23.2 +proto-plus==1.24.0 + # via google-api-core +protobuf==5.28.0 # via # google-api-core # google-cloud-storage # googleapis-common-protos + # proto-plus py==1.11.0 # via -r examples/requirements/test.in -pyasn1==0.5.0 +pyasn1==0.6.1 # via # pyasn1-modules # rsa -pyasn1-modules==0.3.0 +pyasn1-modules==0.4.1 # via google-auth -pycparser==2.21 +pycparser==2.22 # via cffi -pydyf==0.7.0 +pydyf==0.11.0 # via weasyprint +pygments==2.18.0 + # via rich pynacl==1.5.0 # via paramiko -pyphen==0.14.0 +pyphen==0.16.0 # via weasyprint -pyproject-api==1.5.1 +pyproject-api==1.7.1 # via tox -pyrsistent==0.19.3 - # via jsonschema -pytest==7.3.1 +pytest==8.3.3 # via # -r examples/requirements/test.in # pathy @@ -287,7 +295,7 @@ pytest==7.3.1 # pytest-ordering # pytest-parallel # pytest-rerunfailures -pytest-cov==4.1.0 +pytest-cov==5.0.0 # via # -r examples/requirements/test.in # pytest-cover @@ -295,36 +303,42 @@ pytest-cover==3.0.0 # via pytest-coverage pytest-coverage==0.0 # via pathy -pytest-django==4.5.2 +pytest-django==4.9.0 # via -r examples/requirements/test.in pytest-ordering==0.6 # via -r examples/requirements/test.in pytest-parallel==0.1.1 # via -r examples/requirements/test.in -pytest-rerunfailures==11.1.2 +pytest-rerunfailures==14.0 # via -r examples/requirements/test.in pytest-rst==0.1.5 # via -r examples/requirements/test.in -python-dateutil==2.8.2 +python-dateutil==2.9.0.post0 # via # botocore # faker # moto -python-docx==0.8.11 +python-docx==1.1.2 # via -r examples/requirements/common.in -python-levenshtein==0.21.0 +python-levenshtein==0.25.1 # via fuzzywuzzy -python-pptx==0.6.21 +python-pptx==1.0.2 + # via -r examples/requirements/common.in +pytz==2024.1 # via -r examples/requirements/common.in -pyyaml==6.0 +pyyaml==6.0.2 # via # drf-spectacular # responses -rapidfuzz==3.1.1 +rapidfuzz==3.9.7 # via levenshtein -reportlab==3.6.12 +referencing==0.35.1 + # via + # jsonschema + # jsonschema-specifications +reportlab==4.2.2 # via -r examples/requirements/common.in -requests==2.31.0 +requests==2.32.3 # via # azure-core # google-api-core @@ -333,46 +347,51 @@ requests==2.31.0 # moto # responses # xml2epub -responses==0.23.3 +responses==0.25.3 # via moto +rich==13.8.1 + # via typer +rpds-py==0.20.0 + # via + # jsonschema + # referencing rsa==4.9 # via google-auth -s3transfer==0.6.1 +s3transfer==0.10.2 # via boto3 -shellingham==1.4.0 - # via typer-cli +shellingham==1.5.4 + # via typer six==1.16.0 # via # azure-core - # google-auth # google-cloud-storage # html5lib # imgkit # isodate # python-dateutil -smart-open==6.3.0 +smart-open==6.4.0 # via pathy -soupsieve==2.4.1 +soupsieve==2.6 # via beautifulsoup4 speaklater==1.3 # via flask-babelex -sqlalchemy==2.0.15 +sqlalchemy==1.4.54 # via # -r examples/requirements/flask.in # alembic # flask-sqlalchemy # sqlalchemy-utils -sqlalchemy-utils==0.41.1 +sqlalchemy-utils==0.41.2 # via -r examples/requirements/flask.in -sqlparse==0.4.4 +sqlparse==0.5.1 # via # django # django-debug-toolbar -tablib==3.4.0 +tablib==3.6.1 # via -r examples/requirements/common.in -tblib==1.7.0 +tblib==3.0.0 # via pytest-parallel -tinycss2==1.2.1 +tinycss2==1.3.0 # via # cssselect2 # weasyprint @@ -382,54 +401,54 @@ tomli==2.0.1 # pyproject-api # pytest # tox -tox==4.5.2 +tox==4.18.1 # via -r examples/requirements/test.in -typer==0.7.0 +typer==0.12.5 # via # pathy # typer-cli -typer-cli==0.0.13 +typer-cli==0.12.5 # via pathy -types-pyyaml==6.0.12.12 - # via responses -typing-extensions==4.6.2 +typing-extensions==4.12.2 # via # alembic # asgiref # asyncssh # azure-core # azure-storage-blob - # sqlalchemy + # multidict + # python-docx + # python-pptx + # typer uritemplate==4.1.1 # via drf-spectacular -urllib3==1.26.16 +urllib3==2.2.2 # via # botocore - # google-auth # requests # responses -virtualenv==20.23.0 +virtualenv==20.26.4 # via tox -weasyprint==59.0 +weasyprint==62.3 # via -r examples/requirements/common.in webencodings==0.5.1 # via # cssselect2 # html5lib # tinycss2 -werkzeug==2.3.4 +werkzeug==3.0.4 # via # flask # moto -wtforms==3.0.1 +wtforms==3.1.2 # via flask-admin -xlsxwriter==3.1.2 +xlsxwriter==3.2.0 # via python-pptx -xml2epub==2.6.2 +xml2epub==2.6.5 # via -r examples/requirements/common.in xmltodict==0.13.0 # via moto -yarl==1.9.2 +yarl==1.11.1 # via aiohttp -zopfli==0.2.2 +zopfli==0.2.3 # via fonttools diff --git a/examples/requirements/docs.txt b/examples/requirements/docs.txt index b27ec58..8259bfd 100644 --- a/examples/requirements/docs.txt +++ b/examples/requirements/docs.txt @@ -1,75 +1,73 @@ -# -# This file is autogenerated by pip-compile with Python 3.10 -# by the following command: -# -# pip-compile examples/requirements/docs.in -# -aiohttp==3.8.3 +# This file was autogenerated by uv via the following command: +# uv pip compile --no-strip-extras examples/requirements/docs.in -o examples/requirements/docs.txt +aiohappyeyeballs==2.4.0 + # via aiohttp +aiohttp==3.10.5 # via edge-tts aiosignal==1.3.1 # via aiohttp -alabaster==0.7.12 +alabaster==1.0.0 # via sphinx -asgiref==3.5.2 +asgiref==3.8.1 # via django -async-timeout==4.0.2 +async-timeout==4.0.3 # via aiohttp -asyncssh==2.13.1 +asyncssh==2.17.0 # via -r examples/requirements/test.in -attrs==22.1.0 +attrs==24.2.0 # via # aiohttp # jsonschema - # pytest -azure-core==1.26.1 - # via - # azure-storage-blob - # msrest -azure-storage-blob==12.14.1 + # referencing +azure-core==1.30.2 + # via azure-storage-blob +azure-storage-blob==12.22.0 # via pathy -babel==2.11.0 +babel==2.16.0 # via sphinx -bcrypt==4.0.1 +bcrypt==4.2.0 # via paramiko -beautifulsoup4==4.11.1 +beautifulsoup4==4.12.3 # via xml2epub -boto3==1.26.29 +boto3==1.35.16 # via # moto # pathy -botocore==1.29.29 +botocore==1.35.16 # via # boto3 # moto # s3transfer -brotli==1.0.9 +brotli==1.1.0 # via fonttools -cachetools==5.2.0 - # via google-auth -certifi==2022.9.24 +cachetools==5.5.0 # via - # msrest + # google-auth + # tox +certifi==2024.8.30 + # via + # edge-tts # requests -cffi==1.15.1 +cffi==1.17.1 # via # cryptography # pynacl # weasyprint -charset-normalizer==2.1.1 - # via - # aiohttp - # requests -click==7.1.2 +chardet==5.2.0 + # via tox +charset-normalizer==3.3.2 + # via requests +click==8.1.7 # via # gtts # typer colorama==0.4.6 - # via typer-cli -coverage[toml]==6.5.0 + # via tox +coverage[toml]==7.6.1 # via # -r examples/requirements/test.in # pytest-cov -cryptography==38.0.4 +cryptography==43.0.1 # via # asyncssh # azure-storage-blob @@ -79,9 +77,9 @@ cssselect2==0.7.0 # via weasyprint defusedxml==0.7.1 # via odfpy -distlib==0.3.6 +distlib==0.3.8 # via virtualenv -django==3.2.16 +django==3.2.25 # via # -r examples/requirements/django_3_2.in # django-debug-toolbar @@ -89,87 +87,86 @@ django==3.2.16 # django-storages # djangorestframework # drf-spectacular -django-debug-toolbar==3.8.1 +django-debug-toolbar==4.3.0 # via -r examples/requirements/django_3_2.in -django-extensions==3.2.1 +django-extensions==3.2.3 # via -r examples/requirements/django_3_2.in -django-storages==1.13.1 +django-storages==1.13.2 # via -r examples/requirements/django_3_2.in djangorestframework==3.12.4 # via # -r examples/requirements/django_3_2.in # drf-spectacular -docutils==0.18.1 +docutils==0.21.2 # via # rst2pdf # sphinx - # sphinx-rtd-theme -drf-spectacular==0.25.1 +drf-spectacular==0.27.2 # via -r examples/requirements/django_3_2.in -edge-tts==6.0.8 +edge-tts==6.1.12 # via -r examples/requirements/common.in et-xmlfile==1.1.0 # via openpyxl -exceptiongroup==1.1.0 +exceptiongroup==1.2.2 # via pytest -factory-boy==3.2.1 +factory-boy==3.3.1 # via -r examples/requirements/test.in -faker==15.3.4 +faker==28.4.1 # via # -r examples/requirements/test.in # factory-boy -filelock==3.8.0 +filelock==3.16.0 # via # tox # virtualenv -fonttools[woff]==4.41.0 +fonttools[woff]==4.53.1 # via weasyprint -frozenlist==1.3.3 +frozenlist==1.4.1 # via # aiohttp # aiosignal fuzzywuzzy[speedup]==0.18.0 # via -r examples/requirements/test.in -google-api-core==2.11.0 +google-api-core==2.19.2 # via # google-cloud-core # google-cloud-storage -google-auth==2.15.0 +google-auth==2.34.0 # via # google-api-core # google-cloud-core # google-cloud-storage -google-cloud-core==2.3.2 +google-cloud-core==2.4.1 # via google-cloud-storage google-cloud-storage==1.44.0 # via pathy -google-crc32c==1.5.0 +google-crc32c==1.6.0 # via google-resumable-media -google-resumable-media==2.4.0 +google-resumable-media==2.7.2 # via google-cloud-storage -googleapis-common-protos==1.57.0 +googleapis-common-protos==1.65.0 # via google-api-core -gtts==2.3.1 +gtts==2.5.3 # via -r examples/requirements/common.in html5lib==1.1 # via weasyprint -idna==3.4 +idna==3.8 # via # requests # yarl imagesize==1.4.1 # via sphinx -imgkit==1.2.2 +imgkit==1.2.3 # via -r examples/requirements/common.in -importlib-metadata==5.1.0 +importlib-metadata==8.4.0 # via rst2pdf inflection==0.5.1 # via drf-spectacular -iniconfig==1.1.1 +iniconfig==2.0.0 # via pytest isodate==0.6.1 - # via msrest -jinja2==3.1.2 + # via azure-storage-blob +jinja2==3.1.4 # via # moto # rst2pdf @@ -179,37 +176,40 @@ jmespath==1.0.1 # via # boto3 # botocore -jsonschema==4.17.3 +jsonschema==4.23.0 # via drf-spectacular -levenshtein==0.21.0 +jsonschema-specifications==2023.12.1 + # via jsonschema +levenshtein==0.25.1 # via python-levenshtein -lxml==4.9.1 +lxml==5.3.0 # via # python-docx # python-pptx # xml2epub -markupsafe==2.1.1 +markdown-it-py==3.0.0 + # via rich +markupsafe==2.1.5 # via # jinja2 # werkzeug -mock==4.0.3 +mdurl==0.1.2 + # via markdown-it-py +mock==5.1.0 # via pathy -moto==4.2.5 +moto==5.0.14 # via -r examples/requirements/test.in -msrest==0.7.1 - # via azure-storage-blob -multidict==6.0.4 +multidict==6.1.0 # via # aiohttp # yarl -oauthlib==3.2.2 - # via requests-oauthlib odfpy==1.4.1 # via -r examples/requirements/common.in -openpyxl==3.0.10 +openpyxl==3.1.5 # via -r examples/requirements/common.in -packaging==21.3 +packaging==24.1 # via + # pyproject-api # pytest # pytest-rerunfailures # rst2pdf @@ -217,59 +217,63 @@ packaging==21.3 # tox parametrize==0.1.1 # via -r examples/requirements/test.in -paramiko==3.2.0 +paramiko==3.4.1 # via -r examples/requirements/common.in -pathy[all]==0.10.1 +pathy[all]==0.10.3 # via -r examples/requirements/common.in -pdf2image==1.16.3 +pdf2image==1.17.0 # via -r examples/requirements/common.in pdfkit==1.0.0 # via -r examples/requirements/common.in -pillow==9.3.0 +pillow==9.5.0 # via # pdf2image # python-pptx # reportlab # weasyprint # xml2epub -platformdirs==2.5.4 - # via virtualenv -pluggy==1.0.0 +pip==24.2 + # via reportlab +platformdirs==4.3.2 + # via + # tox + # virtualenv +pluggy==1.5.0 # via # pytest # tox -protobuf==4.21.11 +proto-plus==1.24.0 + # via google-api-core +protobuf==5.28.0 # via # google-api-core # google-cloud-storage # googleapis-common-protos + # proto-plus py==1.11.0 - # via - # -r examples/requirements/test.in - # tox -pyasn1==0.4.8 + # via -r examples/requirements/test.in +pyasn1==0.6.1 # via # pyasn1-modules # rsa -pyasn1-modules==0.2.8 +pyasn1-modules==0.4.1 # via google-auth -pycparser==2.21 +pycparser==2.22 # via cffi -pydyf==0.7.0 +pydyf==0.11.0 # via weasyprint -pygments==2.13.0 +pygments==2.18.0 # via + # rich # rst2pdf # sphinx pynacl==1.5.0 # via paramiko -pyparsing==3.0.9 - # via packaging -pyphen==0.14.0 +pyphen==0.16.0 # via weasyprint -pyrsistent==0.19.3 - # via jsonschema -pytest==7.2.1 +pyproject-api==1.7.1 + # via tox +pytest==8.3.3 # via # -r examples/requirements/test.in # pathy @@ -278,7 +282,7 @@ pytest==7.2.1 # pytest-ordering # pytest-parallel # pytest-rerunfailures -pytest-cov==4.0.0 +pytest-cov==5.0.0 # via # -r examples/requirements/test.in # pytest-cover @@ -286,168 +290,173 @@ pytest-cover==3.0.0 # via pytest-coverage pytest-coverage==0.0 # via pathy -pytest-django==4.5.2 +pytest-django==4.9.0 # via -r examples/requirements/test.in pytest-ordering==0.6 # via -r examples/requirements/test.in pytest-parallel==0.1.1 # via -r examples/requirements/test.in -pytest-rerunfailures==11.0 +pytest-rerunfailures==14.0 # via -r examples/requirements/test.in pytest-rst==0.1.5 # via -r examples/requirements/test.in -python-dateutil==2.8.2 +python-dateutil==2.9.0.post0 # via # botocore # faker # moto -python-docx==0.8.11 +python-docx==1.1.2 # via -r examples/requirements/common.in -python-levenshtein==0.21.0 +python-levenshtein==0.25.1 # via fuzzywuzzy -python-pptx==0.6.21 +python-pptx==1.0.2 # via -r examples/requirements/common.in -pytz==2022.6 +pytz==2024.1 # via - # babel + # -r examples/requirements/common.in # django -pyyaml==6.0 +pyyaml==6.0.2 # via # drf-spectacular # responses # rst2pdf -rapidfuzz==3.1.1 +rapidfuzz==3.9.7 # via levenshtein +referencing==0.35.1 + # via + # jsonschema + # jsonschema-specifications reportlab==3.3.0 # via # -r examples/requirements/common.in # -r examples/requirements/docs.in # rst2pdf -requests==2.31.0 +requests==2.32.3 # via # azure-core # google-api-core # google-cloud-storage # gtts # moto - # msrest - # requests-oauthlib # responses # sphinx # xml2epub -requests-oauthlib==1.3.1 - # via msrest -responses==0.23.3 +responses==0.25.3 # via moto +rich==13.8.1 + # via typer +rpds-py==0.20.0 + # via + # jsonschema + # referencing rsa==4.9 # via google-auth -rst2pdf==0.99 +rst2pdf==0.102 # via -r examples/requirements/docs.in -s3transfer==0.6.0 +s3transfer==0.10.2 # via boto3 -shellingham==1.5.0 - # via typer-cli +setuptools==74.1.2 + # via reportlab +shellingham==1.5.4 + # via typer six==1.16.0 # via # azure-core - # google-auth # google-cloud-storage # html5lib # imgkit # isodate # python-dateutil - # tox -smart-open==6.3.0 +smart-open==6.4.0 # via pathy smartypants==2.0.1 # via rst2pdf snowballstemmer==2.2.0 # via sphinx -soupsieve==2.3.2.post1 +soupsieve==2.6 # via beautifulsoup4 -sphinx==5.3.0 +sphinx==8.0.2 # via # -r examples/requirements/docs.in # sphinx-rtd-theme - # sphinxcontrib-jquery -sphinx-rtd-theme==1.3.0 +sphinx-rtd-theme==0.5.1 # via -r examples/requirements/docs.in -sphinxcontrib-applehelp==1.0.2 +sphinxcontrib-applehelp==2.0.0 # via sphinx -sphinxcontrib-devhelp==1.0.2 +sphinxcontrib-devhelp==2.0.0 # via sphinx -sphinxcontrib-htmlhelp==2.0.0 +sphinxcontrib-htmlhelp==2.1.0 # via sphinx -sphinxcontrib-jquery==4.1 - # via sphinx-rtd-theme sphinxcontrib-jsmath==1.0.1 # via sphinx -sphinxcontrib-qthelp==1.0.3 +sphinxcontrib-qthelp==2.0.0 # via sphinx -sphinxcontrib-serializinghtml==1.1.5 +sphinxcontrib-serializinghtml==2.0.0 # via sphinx -sqlparse==0.4.3 +sqlparse==0.5.1 # via # django # django-debug-toolbar -tablib==3.2.1 +tablib==3.6.1 # via -r examples/requirements/common.in -tblib==1.7.0 +tblib==3.0.0 # via pytest-parallel -tinycss2==1.2.1 +tinycss2==1.3.0 # via # cssselect2 # weasyprint tomli==2.0.1 # via # coverage + # pyproject-api # pytest + # sphinx # tox -tox==3.27.1 +tox==4.18.1 # via -r examples/requirements/test.in -typer==0.3.2 +typer==0.12.5 # via # pathy # typer-cli -typer-cli==0.0.12 +typer-cli==0.12.5 # via pathy -types-pyyaml==6.0.12.12 - # via responses -typing-extensions==4.4.0 +typing-extensions==4.12.2 # via + # asgiref # asyncssh # azure-core + # azure-storage-blob + # multidict + # python-docx + # python-pptx + # typer uritemplate==4.1.1 # via drf-spectacular -urllib3==1.26.13 +urllib3==2.2.2 # via # botocore # requests # responses -virtualenv==20.17.0 +virtualenv==20.26.4 # via tox -weasyprint==59.0 +weasyprint==62.3 # via -r examples/requirements/common.in webencodings==0.5.1 # via # cssselect2 # html5lib # tinycss2 -werkzeug==3.0.0 +werkzeug==3.0.4 # via moto -xlsxwriter==3.0.3 +xlsxwriter==3.2.0 # via python-pptx -xml2epub==2.6.2 +xml2epub==2.6.5 # via -r examples/requirements/common.in xmltodict==0.13.0 # via moto -yarl==1.8.2 +yarl==1.11.1 # via aiohttp -zipp==3.11.0 +zipp==3.20.1 # via importlib-metadata -zopfli==0.2.2 +zopfli==0.2.3 # via fonttools - -# The following packages are considered to be unsafe in a requirements file: -# pip -# setuptools diff --git a/examples/requirements/flask.in b/examples/requirements/flask.in index d05ef38..7dcce95 100644 --- a/examples/requirements/flask.in +++ b/examples/requirements/flask.in @@ -2,7 +2,7 @@ -r test.in alembic -Flask +Flask>=2.0,<3.0 #Flask<=2.1.0; python_version < '3.10' # For Python 3.7, 3.8 and 3.9 #Flask; python_version >= '3.10' # For Python 3.10 and 3.11 Flask-Admin @@ -11,5 +11,5 @@ Flask-SQLAlchemy #Flask-SQLAlchemy<3.0.0; ; python_version < '3.8' # For Python 3.7 #Flask-SQLAlchemy>3.0.0; ; python_version >= '3.8' # For Python 3.8, 3.9, 3.10 and 3.11 Flask-Testing -SQLAlchemy +SQLAlchemy>=1.0,<2.0 sqlalchemy_utils diff --git a/examples/requirements/flask.txt b/examples/requirements/flask.txt index c406d3f..4c393b7 100644 --- a/examples/requirements/flask.txt +++ b/examples/requirements/flask.txt @@ -1,77 +1,73 @@ -# -# This file is autogenerated by pip-compile with Python 3.10 -# by the following command: -# -# pip-compile examples/requirements/flask.in -# -aiohttp==3.8.3 +# This file was autogenerated by uv via the following command: +# uv pip compile --no-strip-extras examples/requirements/flask.in -o examples/requirements/flask.txt +aiohappyeyeballs==2.4.0 + # via aiohttp +aiohttp==3.10.5 # via edge-tts aiosignal==1.3.1 # via aiohttp -alembic==1.9.0 +alembic==1.13.2 # via -r examples/requirements/flask.in -async-timeout==4.0.2 +async-timeout==4.0.3 # via aiohttp -asyncssh==2.13.1 +asyncssh==2.17.0 # via -r examples/requirements/test.in -attrs==22.2.0 - # via - # aiohttp - # pytest -azure-core==1.26.1 - # via - # azure-storage-blob - # msrest -azure-storage-blob==12.14.1 +attrs==24.2.0 + # via aiohttp +azure-core==1.30.2 + # via azure-storage-blob +azure-storage-blob==12.22.0 # via pathy -babel==2.11.0 +babel==2.16.0 # via flask-babelex -bcrypt==4.0.1 +bcrypt==4.2.0 # via paramiko -beautifulsoup4==4.11.1 +beautifulsoup4==4.12.3 # via xml2epub -boto3==1.26.36 +blinker==1.8.2 + # via flask +boto3==1.35.16 # via # moto # pathy -botocore==1.29.36 +botocore==1.35.16 # via # boto3 # moto # s3transfer -brotli==1.0.9 +brotli==1.1.0 # via fonttools -cachetools==5.2.0 +cachetools==5.5.0 # via # google-auth # tox -certifi==2022.12.7 +certifi==2024.8.30 # via - # msrest + # edge-tts # requests -cffi==1.15.1 +cffi==1.17.1 # via # cryptography # pynacl # weasyprint -chardet==5.1.0 - # via tox -charset-normalizer==2.1.1 +chardet==5.2.0 # via - # aiohttp - # requests -click==8.1.3 + # reportlab + # tox +charset-normalizer==3.3.2 + # via requests +click==8.1.7 # via # flask # gtts # typer colorama==0.4.6 # via tox -coverage[toml]==7.0.0 +coverage[toml]==7.6.1 # via # -r examples/requirements/test.in # pytest-cov -cryptography==38.0.4 +cryptography==43.0.1 # via # asyncssh # azure-storage-blob @@ -81,87 +77,85 @@ cssselect2==0.7.0 # via weasyprint defusedxml==0.7.1 # via odfpy -distlib==0.3.6 +distlib==0.3.8 # via virtualenv -edge-tts==6.0.8 +edge-tts==6.1.12 # via -r examples/requirements/common.in et-xmlfile==1.1.0 # via openpyxl -exceptiongroup==1.1.0 +exceptiongroup==1.2.2 # via pytest -factory-boy==3.2.1 +factory-boy==3.3.1 # via -r examples/requirements/test.in -faker==15.3.4 +faker==28.4.1 # via # -r examples/requirements/test.in # factory-boy -filelock==3.8.2 +filelock==3.16.0 # via # tox # virtualenv -flask==2.2.2 +flask==2.3.3 # via # -r examples/requirements/flask.in # flask-admin # flask-babelex # flask-sqlalchemy # flask-testing -flask-admin==1.6.0 +flask-admin==1.6.1 # via -r examples/requirements/flask.in flask-babelex==0.9.4 # via -r examples/requirements/flask.in -flask-sqlalchemy==3.0.2 +flask-sqlalchemy==3.0.5 # via -r examples/requirements/flask.in flask-testing==0.8.1 # via -r examples/requirements/flask.in -fonttools[woff]==4.41.0 +fonttools[woff]==4.53.1 # via weasyprint -frozenlist==1.3.3 +frozenlist==1.4.1 # via # aiohttp # aiosignal fuzzywuzzy[speedup]==0.18.0 # via -r examples/requirements/test.in -google-api-core==2.11.0 +google-api-core==2.19.2 # via # google-cloud-core # google-cloud-storage -google-auth==2.15.0 +google-auth==2.34.0 # via # google-api-core # google-cloud-core # google-cloud-storage -google-cloud-core==2.3.2 +google-cloud-core==2.4.1 # via google-cloud-storage google-cloud-storage==1.44.0 # via pathy -google-crc32c==1.5.0 +google-crc32c==1.6.0 # via google-resumable-media -google-resumable-media==2.4.0 +google-resumable-media==2.7.2 # via google-cloud-storage -googleapis-common-protos==1.57.0 +googleapis-common-protos==1.65.0 # via google-api-core -greenlet==2.0.1 +greenlet==3.1.0 # via sqlalchemy -gtts==2.3.1 +gtts==2.5.3 # via -r examples/requirements/common.in html5lib==1.1 # via weasyprint -idna==3.4 +idna==3.8 # via # requests # yarl -imgkit==1.2.2 +imgkit==1.2.3 # via -r examples/requirements/common.in -importlib-metadata==1.7.0 - # via typer-cli -iniconfig==1.1.1 +iniconfig==2.0.0 # via pytest isodate==0.6.1 - # via msrest -itsdangerous==2.1.2 + # via azure-storage-blob +itsdangerous==2.2.0 # via flask -jinja2==3.1.2 +jinja2==3.1.4 # via # flask # flask-babelex @@ -171,38 +165,38 @@ jmespath==1.0.1 # via # boto3 # botocore -levenshtein==0.21.0 +levenshtein==0.25.1 # via python-levenshtein -lxml==4.9.2 +lxml==5.3.0 # via # python-docx # python-pptx # xml2epub -mako==1.2.4 +mako==1.3.5 # via alembic -markupsafe==2.1.1 +markdown-it-py==3.0.0 + # via rich +markupsafe==2.1.5 # via # jinja2 # mako # werkzeug # wtforms -mock==4.0.3 +mdurl==0.1.2 + # via markdown-it-py +mock==5.1.0 # via pathy -moto==4.2.5 +moto==5.0.14 # via -r examples/requirements/test.in -msrest==0.7.1 - # via azure-storage-blob -multidict==6.0.4 +multidict==6.1.0 # via # aiohttp # yarl -oauthlib==3.2.2 - # via requests-oauthlib odfpy==1.4.1 # via -r examples/requirements/common.in -openpyxl==3.0.10 +openpyxl==3.1.5 # via -r examples/requirements/common.in -packaging==22.0 +packaging==24.1 # via # pyproject-api # pytest @@ -210,53 +204,58 @@ packaging==22.0 # tox parametrize==0.1.1 # via -r examples/requirements/test.in -paramiko==3.2.0 +paramiko==3.4.1 # via -r examples/requirements/common.in -pathy[all]==0.10.1 +pathy[all]==0.10.3 # via -r examples/requirements/common.in -pdf2image==1.16.3 +pdf2image==1.17.0 # via -r examples/requirements/common.in pdfkit==1.0.0 # via -r examples/requirements/common.in -pillow==9.3.0 +pillow==9.5.0 # via # pdf2image # python-pptx # reportlab # weasyprint # xml2epub -platformdirs==2.6.0 +platformdirs==4.3.2 # via # tox # virtualenv -pluggy==1.0.0 +pluggy==1.5.0 # via # pytest # tox -protobuf==4.21.12 +proto-plus==1.24.0 + # via google-api-core +protobuf==5.28.0 # via # google-api-core # google-cloud-storage # googleapis-common-protos + # proto-plus py==1.11.0 # via -r examples/requirements/test.in -pyasn1==0.4.8 +pyasn1==0.6.1 # via # pyasn1-modules # rsa -pyasn1-modules==0.2.8 +pyasn1-modules==0.4.1 # via google-auth -pycparser==2.21 +pycparser==2.22 # via cffi -pydyf==0.7.0 +pydyf==0.11.0 # via weasyprint +pygments==2.18.0 + # via rich pynacl==1.5.0 # via paramiko -pyphen==0.14.0 +pyphen==0.16.0 # via weasyprint -pyproject-api==1.2.1 +pyproject-api==1.7.1 # via tox -pytest==7.2.1 +pytest==8.3.3 # via # -r examples/requirements/test.in # pathy @@ -265,7 +264,7 @@ pytest==7.2.1 # pytest-ordering # pytest-parallel # pytest-rerunfailures -pytest-cov==4.0.0 +pytest-cov==5.0.0 # via # -r examples/requirements/test.in # pytest-cover @@ -273,82 +272,81 @@ pytest-cover==3.0.0 # via pytest-coverage pytest-coverage==0.0 # via pathy -pytest-django==4.5.2 +pytest-django==4.9.0 # via -r examples/requirements/test.in pytest-ordering==0.6 # via -r examples/requirements/test.in pytest-parallel==0.1.1 # via -r examples/requirements/test.in -pytest-rerunfailures==11.0 +pytest-rerunfailures==14.0 # via -r examples/requirements/test.in pytest-rst==0.1.5 # via -r examples/requirements/test.in -python-dateutil==2.8.2 +python-dateutil==2.9.0.post0 # via # botocore # faker # moto -python-docx==0.8.11 +python-docx==1.1.2 # via -r examples/requirements/common.in -python-levenshtein==0.21.0 +python-levenshtein==0.25.1 # via fuzzywuzzy -python-pptx==0.6.21 +python-pptx==1.0.2 + # via -r examples/requirements/common.in +pytz==2024.1 # via -r examples/requirements/common.in -pytz==2022.7 - # via babel -pyyaml==6.0.1 +pyyaml==6.0.2 # via responses -rapidfuzz==3.1.1 +rapidfuzz==3.9.7 # via levenshtein -reportlab==3.6.12 +reportlab==4.2.2 # via -r examples/requirements/common.in -requests==2.31.0 +requests==2.32.3 # via # azure-core # google-api-core # google-cloud-storage # gtts # moto - # msrest - # requests-oauthlib # responses # xml2epub -requests-oauthlib==1.3.1 - # via msrest -responses==0.23.3 +responses==0.25.3 # via moto +rich==13.8.1 + # via typer rsa==4.9 # via google-auth -s3transfer==0.6.0 +s3transfer==0.10.2 # via boto3 +shellingham==1.5.4 + # via typer six==1.16.0 # via # azure-core - # google-auth # google-cloud-storage # html5lib # imgkit # isodate # python-dateutil -smart-open==6.3.0 +smart-open==6.4.0 # via pathy -soupsieve==2.3.2.post1 +soupsieve==2.6 # via beautifulsoup4 speaklater==1.3 # via flask-babelex -sqlalchemy==1.4.45 +sqlalchemy==1.4.54 # via # -r examples/requirements/flask.in # alembic # flask-sqlalchemy # sqlalchemy-utils -sqlalchemy-utils==0.38.3 +sqlalchemy-utils==0.41.2 # via -r examples/requirements/flask.in -tablib==3.3.0 +tablib==3.6.1 # via -r examples/requirements/common.in -tblib==1.7.0 +tblib==3.0.0 # via pytest-parallel -tinycss2==1.2.1 +tinycss2==1.3.0 # via # cssselect2 # weasyprint @@ -358,47 +356,51 @@ tomli==2.0.1 # pyproject-api # pytest # tox -tox==4.0.16 +tox==4.18.1 # via -r examples/requirements/test.in -typer==0.7.0 - # via pathy -typer-cli==0.0.1 +typer==0.12.5 + # via + # pathy + # typer-cli +typer-cli==0.12.5 # via pathy -types-pyyaml==6.0.12.12 - # via responses -typing-extensions==4.4.0 +typing-extensions==4.12.2 # via + # alembic # asyncssh # azure-core -urllib3==1.26.13 + # azure-storage-blob + # multidict + # python-docx + # python-pptx + # typer +urllib3==2.2.2 # via # botocore # requests # responses -virtualenv==20.17.1 +virtualenv==20.26.4 # via tox -weasyprint==59.0 +weasyprint==62.3 # via -r examples/requirements/common.in webencodings==0.5.1 # via # cssselect2 # html5lib # tinycss2 -werkzeug==2.2.3 +werkzeug==3.0.4 # via # flask # moto -wtforms==3.0.1 +wtforms==3.1.2 # via flask-admin -xlsxwriter==3.0.3 +xlsxwriter==3.2.0 # via python-pptx -xml2epub==2.6.2 +xml2epub==2.6.5 # via -r examples/requirements/common.in xmltodict==0.13.0 # via moto -yarl==1.8.2 +yarl==1.11.1 # via aiohttp -zipp==3.11.0 - # via importlib-metadata -zopfli==0.2.2 +zopfli==0.2.3 # via fonttools diff --git a/examples/requirements/ml.in b/examples/requirements/ml.in index debc765..e9f07e1 100644 --- a/examples/requirements/ml.in +++ b/examples/requirements/ml.in @@ -7,6 +7,8 @@ tika # Data augmentation nlpaug nltk +scipy<=1.12.0 textaugment +textblob>=0.17,<0.18 torch transformers diff --git a/examples/requirements/ml.txt b/examples/requirements/ml.txt index 78abcb3..f6c0e72 100644 --- a/examples/requirements/ml.txt +++ b/examples/requirements/ml.txt @@ -1,73 +1,67 @@ -# -# This file is autogenerated by pip-compile with Python 3.10 -# by the following command: -# -# pip-compile examples/requirements/ml.in -# -aiohttp==3.8.6 +# This file was autogenerated by uv via the following command: +# uv pip compile --no-strip-extras examples/requirements/ml.in -o examples/requirements/ml.txt +aiohappyeyeballs==2.4.0 + # via aiohttp +aiohttp==3.10.5 # via edge-tts aiosignal==1.3.1 # via aiohttp -async-timeout==4.0.3 - # via aiohttp -asyncssh==2.14.1 +asyncssh==2.17.0 # via -r examples/requirements/test.in -attrs==23.1.0 +attrs==24.2.0 # via aiohttp -azure-core==1.29.5 +azure-core==1.30.2 # via azure-storage-blob -azure-storage-blob==12.19.0 +azure-storage-blob==12.22.0 # via pathy -bcrypt==4.0.1 +bcrypt==4.2.0 # via paramiko -beautifulsoup4==4.12.2 +beautifulsoup4==4.12.3 # via # gdown # xml2epub -boto3==1.29.2 +boto3==1.35.16 # via # moto # pathy -botocore==1.32.2 +botocore==1.35.16 # via # boto3 # moto # s3transfer brotli==1.1.0 # via fonttools -cachetools==5.3.2 +cachetools==5.5.0 # via # google-auth # tox -certifi==2023.7.22 +certifi==2024.8.30 # via # edge-tts # requests -cffi==1.16.0 +cffi==1.17.1 # via # cryptography # pynacl # weasyprint chardet==5.2.0 - # via tox -charset-normalizer==3.3.2 # via - # aiohttp - # requests + # reportlab + # tox +charset-normalizer==3.3.2 + # via requests click==8.1.7 # via # gtts # nltk # typer colorama==0.4.6 - # via - # tox - # typer-cli -coverage[toml]==7.3.2 + # via tox +coverage[toml]==7.6.1 # via # -r examples/requirements/test.in # pytest-cov -cryptography==41.0.5 +cryptography==43.0.1 # via # asyncssh # azure-storage-blob @@ -77,21 +71,19 @@ cssselect2==0.7.0 # via weasyprint defusedxml==0.7.1 # via odfpy -distlib==0.3.7 +distlib==0.3.8 # via virtualenv -edge-tts==6.1.9 +edge-tts==6.1.12 # via -r examples/requirements/common.in et-xmlfile==1.1.0 # via openpyxl -exceptiongroup==1.1.3 - # via pytest -factory-boy==3.3.0 +factory-boy==3.3.1 # via -r examples/requirements/test.in -faker==20.0.3 +faker==28.4.1 # via # -r examples/requirements/test.in # factory-boy -filelock==3.13.1 +filelock==3.16.0 # via # gdown # huggingface-hub @@ -100,52 +92,52 @@ filelock==3.13.1 # transformers # triton # virtualenv -fonttools[woff]==4.44.3 +fonttools[woff]==4.53.1 # via weasyprint -frozenlist==1.4.0 +frozenlist==1.4.1 # via # aiohttp # aiosignal -fsspec==2023.10.0 +fsspec==2024.9.0 # via # huggingface-hub # torch fuzzywuzzy[speedup]==0.18.0 # via -r examples/requirements/test.in -gdown==4.7.1 +gdown==5.2.0 # via nlpaug gensim==4.3.2 # via textaugment -google-api-core==2.14.0 +google-api-core==2.19.2 # via # google-cloud-core # google-cloud-storage -google-auth==2.23.4 +google-auth==2.34.0 # via # google-api-core # google-cloud-core # google-cloud-storage -google-cloud-core==2.3.3 +google-cloud-core==2.4.1 # via google-cloud-storage google-cloud-storage==1.44.0 # via pathy -google-crc32c==1.5.0 +google-crc32c==1.6.0 # via google-resumable-media -google-resumable-media==2.6.0 +google-resumable-media==2.7.2 # via google-cloud-storage -googleapis-common-protos==1.61.0 +googleapis-common-protos==1.65.0 # via google-api-core googletrans==2.4.0 # via textaugment -gtts==2.4.0 +gtts==2.5.3 # via -r examples/requirements/common.in html5lib==1.1 # via weasyprint -huggingface-hub==0.19.4 +huggingface-hub==0.24.6 # via # tokenizers # transformers -idna==3.4 +idna==3.8 # via # requests # yarl @@ -155,7 +147,7 @@ iniconfig==2.0.0 # via pytest isodate==0.6.1 # via azure-storage-blob -jinja2==3.1.2 +jinja2==3.1.4 # via # moto # torch @@ -164,39 +156,43 @@ jmespath==1.0.1 # via # boto3 # botocore -joblib==1.3.2 +joblib==1.4.2 # via nltk -levenshtein==0.23.0 +levenshtein==0.25.1 # via python-levenshtein -lxml==4.9.3 +lxml==5.3.0 # via # python-docx # python-pptx # xml2epub -markupsafe==2.1.3 +markdown-it-py==3.0.0 + # via rich +markupsafe==2.1.5 # via # jinja2 # werkzeug +mdurl==0.1.2 + # via markdown-it-py mock==5.1.0 # via pathy -moto==4.2.9 +moto==5.0.14 # via -r examples/requirements/test.in mpmath==1.3.0 # via sympy -multidict==6.0.4 +multidict==6.1.0 # via # aiohttp # yarl -networkx==3.2.1 +networkx==3.3 # via torch nlpaug==1.1.11 # via -r examples/requirements/ml.in -nltk==3.8.1 +nltk==3.9.1 # via # -r examples/requirements/ml.in # textaugment # textblob -numpy==1.26.2 +numpy==1.26.4 # via # gensim # nlpaug @@ -215,7 +211,7 @@ nvidia-cuda-nvrtc-cu12==12.1.105 # via torch nvidia-cuda-runtime-cu12==12.1.105 # via torch -nvidia-cudnn-cu12==8.9.2.26 +nvidia-cudnn-cu12==9.1.0.70 # via torch nvidia-cufft-cu12==11.0.2.54 # via torch @@ -227,9 +223,9 @@ nvidia-cusparse-cu12==12.1.0.106 # via # nvidia-cusolver-cu12 # torch -nvidia-nccl-cu12==2.18.1 +nvidia-nccl-cu12==2.20.5 # via torch -nvidia-nvjitlink-cu12==12.3.101 +nvidia-nvjitlink-cu12==12.6.68 # via # nvidia-cusolver-cu12 # nvidia-cusparse-cu12 @@ -237,9 +233,9 @@ nvidia-nvtx-cu12==12.1.105 # via torch odfpy==1.4.1 # via -r examples/requirements/common.in -openpyxl==3.1.2 +openpyxl==3.1.5 # via -r examples/requirements/common.in -packaging==23.2 +packaging==24.1 # via # huggingface-hub # pyproject-api @@ -247,15 +243,15 @@ packaging==23.2 # pytest-rerunfailures # tox # transformers -pandas==2.1.3 +pandas==2.2.2 # via nlpaug parametrize==0.1.1 # via -r examples/requirements/test.in -paramiko==3.3.1 +paramiko==3.4.1 # via -r examples/requirements/common.in pathy[all]==0.10.3 # via -r examples/requirements/common.in -pdf2image==1.16.3 +pdf2image==1.17.0 # via -r examples/requirements/common.in pdfkit==1.0.0 # via -r examples/requirements/common.in @@ -266,40 +262,45 @@ pillow==9.5.0 # reportlab # weasyprint # xml2epub -platformdirs==3.11.0 +platformdirs==4.3.2 # via # tox # virtualenv -pluggy==1.3.0 +pluggy==1.5.0 # via # pytest # tox -protobuf==4.25.1 +proto-plus==1.24.0 + # via google-api-core +protobuf==5.28.0 # via # google-api-core # google-cloud-storage # googleapis-common-protos + # proto-plus py==1.11.0 # via -r examples/requirements/test.in -pyasn1==0.5.0 +pyasn1==0.6.1 # via # pyasn1-modules # rsa -pyasn1-modules==0.3.0 +pyasn1-modules==0.4.1 # via google-auth -pycparser==2.21 +pycparser==2.22 # via cffi -pydyf==0.8.0 +pydyf==0.11.0 # via weasyprint +pygments==2.18.0 + # via rich pynacl==1.5.0 # via paramiko -pyphen==0.14.0 +pyphen==0.16.0 # via weasyprint -pyproject-api==1.6.1 +pyproject-api==1.7.1 # via tox pysocks==1.7.1 # via requests -pytest==7.4.3 +pytest==8.3.3 # via # -r examples/requirements/test.in # pathy @@ -308,7 +309,7 @@ pytest==7.4.3 # pytest-ordering # pytest-parallel # pytest-rerunfailures -pytest-cov==4.1.0 +pytest-cov==5.0.0 # via # -r examples/requirements/test.in # pytest-cover @@ -316,44 +317,46 @@ pytest-cover==3.0.0 # via pytest-coverage pytest-coverage==0.0 # via pathy -pytest-django==4.7.0 +pytest-django==4.9.0 # via -r examples/requirements/test.in pytest-ordering==0.6 # via -r examples/requirements/test.in pytest-parallel==0.1.1 # via -r examples/requirements/test.in -pytest-rerunfailures==12.0 +pytest-rerunfailures==14.0 # via -r examples/requirements/test.in pytest-rst==0.1.5 # via -r examples/requirements/test.in -python-dateutil==2.8.2 +python-dateutil==2.9.0.post0 # via # botocore # faker # moto # pandas -python-docx==1.1.0 +python-docx==1.1.2 # via -r examples/requirements/common.in -python-levenshtein==0.23.0 +python-levenshtein==0.25.1 # via fuzzywuzzy -python-pptx==0.6.23 +python-pptx==1.0.2 # via -r examples/requirements/common.in -pytz==2023.3.post1 - # via pandas -pyyaml==6.0.1 +pytz==2024.1 + # via + # -r examples/requirements/common.in + # pandas +pyyaml==6.0.2 # via # huggingface-hub # responses # transformers -rapidfuzz==3.5.2 +rapidfuzz==3.9.7 # via levenshtein -regex==2023.10.3 +regex==2024.7.24 # via # nltk # transformers -reportlab==4.0.7 +reportlab==4.2.2 # via -r examples/requirements/common.in -requests[socks]==2.31.0 +requests[socks]==2.32.3 # via # azure-core # gdown @@ -368,22 +371,27 @@ requests[socks]==2.31.0 # tika # transformers # xml2epub -responses==0.24.1 +responses==0.25.3 # via moto +rich==13.8.1 + # via typer rsa==4.9 # via google-auth -s3transfer==0.7.0 +s3transfer==0.10.2 # via boto3 -safetensors==0.4.0 +safetensors==0.4.5 # via transformers -scipy==1.11.3 - # via gensim -shellingham==1.4.0 - # via typer-cli +scipy==1.12.0 + # via + # -r examples/requirements/ml.in + # gensim +setuptools==74.1.2 + # via tika +shellingham==1.5.4 + # via typer six==1.16.0 # via # azure-core - # gdown # google-cloud-storage # html5lib # imgkit @@ -393,88 +401,83 @@ smart-open==6.4.0 # via # gensim # pathy -soupsieve==2.5 +soupsieve==2.6 # via beautifulsoup4 -sympy==1.12 +sympy==1.13.2 # via torch -tablib==3.5.0 +tablib==3.6.1 # via -r examples/requirements/common.in tblib==3.0.0 # via pytest-parallel textaugment==2.0.0 # via -r examples/requirements/ml.in textblob==0.17.1 - # via textaugment + # via + # -r examples/requirements/ml.in + # textaugment tika==2.6.0 # via -r examples/requirements/ml.in -tinycss2==1.2.1 +tinycss2==1.3.0 # via # cssselect2 # weasyprint -tokenizers==0.15.0 +tokenizers==0.19.1 # via transformers -tomli==2.0.1 - # via - # coverage - # pyproject-api - # pytest - # tox -torch==2.1.1 +torch==2.4.1 # via -r examples/requirements/ml.in -tox==4.11.3 +tox==4.18.1 # via -r examples/requirements/test.in -tqdm==4.66.1 +tqdm==4.66.5 # via # gdown # huggingface-hub # nltk # transformers -transformers==4.35.2 +transformers==4.44.2 # via -r examples/requirements/ml.in -triton==2.1.0 +triton==3.0.0 # via torch -typer==0.7.0 +typer==0.12.5 # via # pathy # typer-cli -typer-cli==0.0.13 +typer-cli==0.12.5 # via pathy -typing-extensions==4.8.0 +typing-extensions==4.12.2 # via # asyncssh # azure-core # azure-storage-blob # huggingface-hub # python-docx + # python-pptx # torch -tzdata==2023.3 + # typer +tzdata==2024.1 # via pandas -urllib3==2.0.7 +urllib3==2.2.2 # via # botocore # requests # responses -virtualenv==20.24.6 +virtualenv==20.26.4 # via tox -weasyprint==60.1 +weasyprint==62.3 # via -r examples/requirements/common.in webencodings==0.5.1 # via # cssselect2 # html5lib # tinycss2 -werkzeug==3.0.1 +werkzeug==3.0.4 # via moto -xlsxwriter==3.1.9 +xlsxwriter==3.2.0 # via python-pptx -xml2epub==2.6.3 +xml2epub==2.6.5 # via -r examples/requirements/common.in xmltodict==0.13.0 # via moto -yarl==1.9.2 +yarl==1.11.1 # via aiohttp zopfli==0.2.3 # via fonttools - -# The following packages are considered to be unsafe in a requirements file: -# setuptools diff --git a/examples/requirements/style_checkers.txt b/examples/requirements/style_checkers.txt index fe81f27..248a059 100644 --- a/examples/requirements/style_checkers.txt +++ b/examples/requirements/style_checkers.txt @@ -1,85 +1,78 @@ -# -# This file is autogenerated by pip-compile with Python 3.10 -# by the following command: -# -# pip-compile examples/requirements/style_checkers.in -# -astroid==2.12.13 +# This file was autogenerated by uv via the following command: +# uv pip compile --no-strip-extras examples/requirements/style_checkers.in -o examples/requirements/style_checkers.txt +astroid==3.2.4 # via pylint -black==22.10.0 +black==24.8.0 # via -r examples/requirements/style_checkers.in -cfgv==3.3.1 +cfgv==3.4.0 # via pre-commit -click==8.1.3 +click==8.1.7 # via black -dill==0.3.6 +dill==0.3.8 # via pylint -distlib==0.3.6 +distlib==0.3.8 # via virtualenv -doc8==1.0.0 +doc8==1.1.2 # via -r examples/requirements/style_checkers.in -docutils==0.19 +docutils==0.21.2 # via # doc8 # restructuredtext-lint -filelock==3.8.0 +filelock==3.16.0 # via virtualenv -identify==2.5.9 +identify==2.6.0 # via pre-commit -isort==5.11.5 +isort==5.13.2 # via # -r examples/requirements/style_checkers.in # pylint -lazy-object-proxy==1.8.0 - # via astroid mccabe==0.7.0 # via pylint -mypy-extensions==0.4.3 +mypy-extensions==1.0.0 # via black -nodeenv==1.7.0 +nodeenv==1.9.1 # via pre-commit -pathspec==0.10.2 +packaging==24.1 # via black -pbr==5.11.0 +pathspec==0.12.1 + # via black +pbr==6.1.0 # via stevedore -platformdirs==2.5.4 +platformdirs==4.3.2 # via # black # pylint # virtualenv -pre-commit==2.20.0 +pre-commit==3.8.0 # via -r examples/requirements/style_checkers.in -pydocstyle==6.1.1 +pydocstyle==6.3.0 # via -r examples/requirements/style_checkers.in -pyflakes==3.0.1 +pyflakes==3.2.0 # via -r examples/requirements/style_checkers.in -pygments==2.13.0 +pygments==2.18.0 # via doc8 -pylint==2.15.7 +pylint==3.2.7 # via -r examples/requirements/style_checkers.in -pyyaml==6.0 +pyyaml==6.0.2 # via pre-commit restructuredtext-lint==1.4.0 # via doc8 -ruff==0.0.157 +ruff==0.6.4 # via -r examples/requirements/style_checkers.in snowballstemmer==2.2.0 # via pydocstyle -stevedore==4.1.1 +stevedore==5.3.0 # via doc8 -toml==0.10.2 - # via pre-commit tomli==2.0.1 # via # black # doc8 # pylint -tomlkit==0.11.6 +tomlkit==0.13.2 # via pylint -virtualenv==20.17.0 +typing-extensions==4.12.2 + # via + # astroid + # black +virtualenv==20.26.4 # via pre-commit -wrapt==1.14.1 - # via astroid - -# The following packages are considered to be unsafe in a requirements file: -# setuptools diff --git a/examples/requirements/test.in b/examples/requirements/test.in index 74c9d02..a7e85ee 100644 --- a/examples/requirements/test.in +++ b/examples/requirements/test.in @@ -3,7 +3,7 @@ asyncssh coverage factory_boy fuzzywuzzy[speedup] -moto +moto>=5.0.0 parametrize py pytest-cov diff --git a/examples/requirements/test.txt b/examples/requirements/test.txt index deb99bf..6ca3bf7 100644 --- a/examples/requirements/test.txt +++ b/examples/requirements/test.txt @@ -1,90 +1,91 @@ -# -# This file is autogenerated by pip-compile with Python 3.10 -# by the following command: -# -# pip-compile examples/requirements/test.in -# -asyncssh==2.13.1 +# This file was autogenerated by uv via the following command: +# uv pip compile --no-strip-extras examples/requirements/test.in -o examples/requirements/test.txt +asyncssh==2.17.0 # via -r examples/requirements/test.in -attrs==22.1.0 - # via pytest -boto3==1.28.62 +boto3==1.35.16 # via moto -botocore==1.31.62 +botocore==1.35.16 # via # boto3 # moto # s3transfer -certifi==2023.7.22 +cachetools==5.5.0 + # via tox +certifi==2024.8.30 # via requests -cffi==1.15.1 +cffi==1.17.1 # via cryptography -charset-normalizer==3.3.0 +chardet==5.2.0 + # via tox +charset-normalizer==3.3.2 # via requests -coverage[toml]==6.5.0 +colorama==0.4.6 + # via tox +coverage[toml]==7.6.1 # via # -r examples/requirements/test.in # pytest-cov -cryptography==41.0.1 +cryptography==43.0.1 # via # asyncssh # moto -distlib==0.3.6 +distlib==0.3.8 # via virtualenv -exceptiongroup==1.1.0 +exceptiongroup==1.2.2 # via pytest -factory-boy==3.2.1 +factory-boy==3.3.1 # via -r examples/requirements/test.in -faker==15.3.4 +faker==28.4.1 # via # -r examples/requirements/test.in # factory-boy -filelock==3.8.0 +filelock==3.16.0 # via # tox # virtualenv fuzzywuzzy[speedup]==0.18.0 # via -r examples/requirements/test.in -idna==3.4 +idna==3.8 # via requests -iniconfig==1.1.1 +iniconfig==2.0.0 # via pytest -jinja2==3.1.2 +jinja2==3.1.4 # via moto jmespath==1.0.1 # via # boto3 # botocore -levenshtein==0.21.0 +levenshtein==0.25.1 # via python-levenshtein -markupsafe==2.1.3 +markupsafe==2.1.5 # via # jinja2 # werkzeug -moto==4.2.5 +moto==5.0.14 # via -r examples/requirements/test.in -packaging==21.3 +packaging==24.1 # via + # pyproject-api # pytest # pytest-rerunfailures # tox parametrize==0.1.1 # via -r examples/requirements/test.in -platformdirs==2.5.4 - # via virtualenv -pluggy==1.0.0 +platformdirs==4.3.2 # via - # pytest # tox -py==1.11.0 + # virtualenv +pluggy==1.5.0 # via - # -r examples/requirements/test.in + # pytest # tox -pycparser==2.21 +py==1.11.0 + # via -r examples/requirements/test.in +pycparser==2.22 # via cffi -pyparsing==3.0.9 - # via packaging -pytest==7.2.1 +pyproject-api==1.7.1 + # via tox +pytest==8.3.3 # via # -r examples/requirements/test.in # pytest-cov @@ -92,62 +93,59 @@ pytest==7.2.1 # pytest-ordering # pytest-parallel # pytest-rerunfailures -pytest-cov==4.0.0 +pytest-cov==5.0.0 # via -r examples/requirements/test.in -pytest-django==4.5.2 +pytest-django==4.9.0 # via -r examples/requirements/test.in pytest-ordering==0.6 # via -r examples/requirements/test.in pytest-parallel==0.1.1 # via -r examples/requirements/test.in -pytest-rerunfailures==11.0 +pytest-rerunfailures==14.0 # via -r examples/requirements/test.in pytest-rst==0.1.5 # via -r examples/requirements/test.in -python-dateutil==2.8.2 +python-dateutil==2.9.0.post0 # via # botocore # faker # moto -python-levenshtein==0.21.0 +python-levenshtein==0.25.1 # via fuzzywuzzy -pyyaml==6.0.1 +pyyaml==6.0.2 # via responses -rapidfuzz==3.1.1 +rapidfuzz==3.9.7 # via levenshtein -requests==2.31.0 +requests==2.32.3 # via # moto # responses -responses==0.23.3 +responses==0.25.3 # via moto -s3transfer==0.7.0 +s3transfer==0.10.2 # via boto3 six==1.16.0 - # via - # python-dateutil - # tox -tblib==1.7.0 + # via python-dateutil +tblib==3.0.0 # via pytest-parallel tomli==2.0.1 # via # coverage + # pyproject-api # pytest # tox -tox==3.27.1 +tox==4.18.1 # via -r examples/requirements/test.in -types-pyyaml==6.0.12.12 - # via responses -typing-extensions==4.6.3 +typing-extensions==4.12.2 # via asyncssh -urllib3==2.0.6 +urllib3==2.2.2 # via # botocore # requests # responses -virtualenv==20.17.0 +virtualenv==20.26.4 # via tox -werkzeug==3.0.0 +werkzeug==3.0.4 # via moto xmltodict==0.13.0 # via moto diff --git a/examples/requirements/testing.txt b/examples/requirements/testing.txt index 7c8396e..e142428 100644 --- a/examples/requirements/testing.txt +++ b/examples/requirements/testing.txt @@ -1,71 +1,71 @@ -# -# This file is autogenerated by pip-compile with Python 3.10 -# by the following command: -# -# pip-compile examples/requirements/testing.in -# -aiohttp==3.8.3 +# This file was autogenerated by uv via the following command: +# uv pip compile --no-strip-extras examples/requirements/testing.in -o examples/requirements/testing.txt +aiohappyeyeballs==2.4.0 + # via aiohttp +aiohttp==3.10.5 # via edge-tts aiosignal==1.3.1 # via aiohttp -asgiref==3.5.2 +asgiref==3.8.1 # via django -async-timeout==4.0.2 +async-timeout==4.0.3 # via aiohttp -asyncssh==2.13.1 +asyncssh==2.17.0 # via -r examples/requirements/test.in -attrs==22.1.0 +attrs==24.2.0 # via # aiohttp # jsonschema - # pytest -azure-core==1.26.1 - # via - # azure-storage-blob - # msrest -azure-storage-blob==12.14.1 + # referencing +azure-core==1.30.2 + # via azure-storage-blob +azure-storage-blob==12.22.0 # via pathy -bcrypt==4.0.1 +bcrypt==4.2.0 # via paramiko -beautifulsoup4==4.11.1 +beautifulsoup4==4.12.3 # via xml2epub -boto3==1.26.29 +boto3==1.35.16 # via # moto # pathy -botocore==1.29.29 +botocore==1.35.16 # via # boto3 # moto # s3transfer -brotli==1.0.9 +brotli==1.1.0 # via fonttools -cachetools==5.2.0 - # via google-auth -certifi==2022.12.7 +cachetools==5.5.0 # via - # msrest + # google-auth + # tox +certifi==2024.8.30 + # via + # edge-tts # requests -cffi==1.15.1 +cffi==1.17.1 # via # cryptography # pynacl # weasyprint -charset-normalizer==2.1.1 +chardet==5.2.0 # via - # aiohttp - # requests -click==7.1.2 + # reportlab + # tox +charset-normalizer==3.3.2 + # via requests +click==8.1.7 # via # gtts # typer colorama==0.4.6 - # via typer-cli -coverage[toml]==6.5.0 + # via tox +coverage[toml]==7.6.1 # via # -r examples/requirements/test.in # pytest-cov -cryptography==38.0.4 +cryptography==43.0.1 # via # asyncssh # azure-storage-blob @@ -75,9 +75,9 @@ cssselect2==0.7.0 # via weasyprint defusedxml==0.7.1 # via odfpy -distlib==0.3.6 +distlib==0.3.8 # via virtualenv -django==3.2.16 +django==3.2.25 # via # -r examples/requirements/django_3_2.in # django-debug-toolbar @@ -85,78 +85,78 @@ django==3.2.16 # django-storages # djangorestframework # drf-spectacular -django-debug-toolbar==3.8.1 +django-debug-toolbar==4.3.0 # via -r examples/requirements/django_3_2.in -django-extensions==3.2.1 +django-extensions==3.2.3 # via -r examples/requirements/django_3_2.in -django-storages==1.13.1 +django-storages==1.13.2 # via -r examples/requirements/django_3_2.in djangorestframework==3.12.4 # via # -r examples/requirements/django_3_2.in # drf-spectacular -drf-spectacular==0.25.1 +drf-spectacular==0.27.2 # via -r examples/requirements/django_3_2.in -edge-tts==6.0.8 +edge-tts==6.1.12 # via -r examples/requirements/common.in et-xmlfile==1.1.0 # via openpyxl -exceptiongroup==1.1.0 +exceptiongroup==1.2.2 # via pytest -factory-boy==3.2.1 +factory-boy==3.3.1 # via -r examples/requirements/test.in -faker==15.3.4 +faker==28.4.1 # via # -r examples/requirements/test.in # factory-boy -filelock==3.8.0 +filelock==3.16.0 # via # tox # virtualenv -fonttools[woff]==4.41.0 +fonttools[woff]==4.53.1 # via weasyprint -frozenlist==1.3.3 +frozenlist==1.4.1 # via # aiohttp # aiosignal fuzzywuzzy[speedup]==0.18.0 # via -r examples/requirements/test.in -google-api-core==2.11.0 +google-api-core==2.19.2 # via # google-cloud-core # google-cloud-storage -google-auth==2.15.0 +google-auth==2.34.0 # via # google-api-core # google-cloud-core # google-cloud-storage -google-cloud-core==2.3.2 +google-cloud-core==2.4.1 # via google-cloud-storage google-cloud-storage==1.44.0 # via pathy -google-crc32c==1.5.0 +google-crc32c==1.6.0 # via google-resumable-media -google-resumable-media==2.4.0 +google-resumable-media==2.7.2 # via google-cloud-storage -googleapis-common-protos==1.57.0 +googleapis-common-protos==1.65.0 # via google-api-core -gtts==2.3.1 +gtts==2.5.3 # via -r examples/requirements/common.in html5lib==1.1 # via weasyprint -idna==3.4 +idna==3.8 # via # requests # yarl -imgkit==1.2.2 +imgkit==1.2.3 # via -r examples/requirements/common.in inflection==0.5.1 # via drf-spectacular -iniconfig==1.1.1 +iniconfig==2.0.0 # via pytest isodate==0.6.1 - # via msrest -jinja2==3.1.2 + # via azure-storage-blob +jinja2==3.1.4 # via # moto # xml2epub @@ -164,91 +164,97 @@ jmespath==1.0.1 # via # boto3 # botocore -jsonschema==4.17.3 +jsonschema==4.23.0 # via drf-spectacular -levenshtein==0.21.0 +jsonschema-specifications==2023.12.1 + # via jsonschema +levenshtein==0.25.1 # via python-levenshtein -lxml==4.9.1 +lxml==5.3.0 # via # python-docx # python-pptx # xml2epub -markupsafe==2.1.1 +markdown-it-py==3.0.0 + # via rich +markupsafe==2.1.5 # via # jinja2 # werkzeug -mock==4.0.3 +mdurl==0.1.2 + # via markdown-it-py +mock==5.1.0 # via pathy -moto==4.2.5 +moto==5.0.14 # via -r examples/requirements/test.in -msrest==0.7.1 - # via azure-storage-blob -multidict==6.0.4 +multidict==6.1.0 # via # aiohttp # yarl -oauthlib==3.2.2 - # via requests-oauthlib odfpy==1.4.1 # via -r examples/requirements/common.in -openpyxl==3.0.10 +openpyxl==3.1.5 # via -r examples/requirements/common.in -packaging==21.3 +packaging==24.1 # via + # pyproject-api # pytest # pytest-rerunfailures # tox parametrize==0.1.1 # via -r examples/requirements/test.in -paramiko==3.2.0 +paramiko==3.4.1 # via -r examples/requirements/common.in -pathy[all]==0.10.1 +pathy[all]==0.10.3 # via -r examples/requirements/common.in -pdf2image==1.16.3 +pdf2image==1.17.0 # via -r examples/requirements/common.in pdfkit==1.0.0 # via -r examples/requirements/common.in -pillow==9.3.0 +pillow==9.5.0 # via # pdf2image # python-pptx # reportlab # weasyprint # xml2epub -platformdirs==2.5.4 - # via virtualenv -pluggy==1.0.0 +platformdirs==4.3.2 + # via + # tox + # virtualenv +pluggy==1.5.0 # via # pytest # tox -protobuf==4.21.11 +proto-plus==1.24.0 + # via google-api-core +protobuf==5.28.0 # via # google-api-core # google-cloud-storage # googleapis-common-protos + # proto-plus py==1.11.0 - # via - # -r examples/requirements/test.in - # tox -pyasn1==0.4.8 + # via -r examples/requirements/test.in +pyasn1==0.6.1 # via # pyasn1-modules # rsa -pyasn1-modules==0.2.8 +pyasn1-modules==0.4.1 # via google-auth -pycparser==2.21 +pycparser==2.22 # via cffi -pydyf==0.7.0 +pydyf==0.11.0 # via weasyprint +pygments==2.18.0 + # via rich pynacl==1.5.0 # via paramiko -pyparsing==3.0.9 - # via packaging -pyphen==0.14.0 +pyphen==0.16.0 # via weasyprint -pyrsistent==0.19.3 - # via jsonschema -pytest==7.2.1 +pyproject-api==1.7.1 + # via tox +pytest==8.3.3 # via # -r examples/requirements/test.in # pathy @@ -257,7 +263,7 @@ pytest==7.2.1 # pytest-ordering # pytest-parallel # pytest-rerunfailures -pytest-cov==4.0.0 +pytest-cov==5.0.0 # via # -r examples/requirements/test.in # pytest-cover @@ -265,128 +271,139 @@ pytest-cover==3.0.0 # via pytest-coverage pytest-coverage==0.0 # via pathy -pytest-django==4.5.2 +pytest-django==4.9.0 # via -r examples/requirements/test.in pytest-ordering==0.6 # via -r examples/requirements/test.in pytest-parallel==0.1.1 # via -r examples/requirements/test.in -pytest-rerunfailures==11.0 +pytest-rerunfailures==14.0 # via -r examples/requirements/test.in pytest-rst==0.1.5 # via -r examples/requirements/test.in -python-dateutil==2.8.2 +python-dateutil==2.9.0.post0 # via # botocore # faker # moto -python-docx==0.8.11 +python-docx==1.1.2 # via -r examples/requirements/common.in -python-levenshtein==0.21.0 +python-levenshtein==0.25.1 # via fuzzywuzzy -python-pptx==0.6.21 +python-pptx==1.0.2 # via -r examples/requirements/common.in -pytz==2022.6 - # via django -pyyaml==6.0 +pytz==2024.1 + # via + # -r examples/requirements/common.in + # django +pyyaml==6.0.2 # via # drf-spectacular # responses -rapidfuzz==3.1.1 +rapidfuzz==3.9.7 # via levenshtein -reportlab==3.6.12 +referencing==0.35.1 + # via + # jsonschema + # jsonschema-specifications +reportlab==4.2.2 # via -r examples/requirements/common.in -requests==2.31.0 +requests==2.32.3 # via # azure-core # google-api-core # google-cloud-storage # gtts # moto - # msrest - # requests-oauthlib # responses # xml2epub -requests-oauthlib==1.3.1 - # via msrest -responses==0.23.3 +responses==0.25.3 # via moto +rich==13.8.1 + # via typer +rpds-py==0.20.0 + # via + # jsonschema + # referencing rsa==4.9 # via google-auth -s3transfer==0.6.0 +s3transfer==0.10.2 # via boto3 -shellingham==1.5.0 - # via typer-cli +shellingham==1.5.4 + # via typer six==1.16.0 # via # azure-core - # google-auth # google-cloud-storage # html5lib # imgkit # isodate # python-dateutil - # tox -smart-open==6.3.0 +smart-open==6.4.0 # via pathy -soupsieve==2.3.2.post1 +soupsieve==2.6 # via beautifulsoup4 -sqlparse==0.4.3 +sqlparse==0.5.1 # via # django # django-debug-toolbar -tablib==3.2.1 +tablib==3.6.1 # via -r examples/requirements/common.in -tblib==1.7.0 +tblib==3.0.0 # via pytest-parallel -tinycss2==1.2.1 +tinycss2==1.3.0 # via # cssselect2 # weasyprint tomli==2.0.1 # via # coverage + # pyproject-api # pytest # tox -tox==3.27.1 +tox==4.18.1 # via -r examples/requirements/test.in -typer==0.3.2 +typer==0.12.5 # via # pathy # typer-cli -typer-cli==0.0.12 +typer-cli==0.12.5 # via pathy -types-pyyaml==6.0.12.12 - # via responses -typing-extensions==4.4.0 +typing-extensions==4.12.2 # via + # asgiref # asyncssh # azure-core + # azure-storage-blob + # multidict + # python-docx + # python-pptx + # typer uritemplate==4.1.1 # via drf-spectacular -urllib3==1.26.13 +urllib3==2.2.2 # via # botocore # requests # responses -virtualenv==20.17.0 +virtualenv==20.26.4 # via tox -weasyprint==59.0 +weasyprint==62.3 # via -r examples/requirements/common.in webencodings==0.5.1 # via # cssselect2 # html5lib # tinycss2 -werkzeug==3.0.0 +werkzeug==3.0.4 # via moto -xlsxwriter==3.0.3 +xlsxwriter==3.2.0 # via python-pptx -xml2epub==2.6.2 +xml2epub==2.6.5 # via -r examples/requirements/common.in xmltodict==0.13.0 # via moto -yarl==1.8.2 +yarl==1.11.1 # via aiohttp -zopfli==0.2.2 +zopfli==0.2.3 # via fonttools diff --git a/examples/sqlalchemy_example/faker_file_admin/alembic/versions/2695cb77cdf2_create_product_table.py b/examples/sqlalchemy_example/faker_file_admin/alembic/versions/2695cb77cdf2_create_product_table.py index 70dab23..2df0534 100644 --- a/examples/sqlalchemy_example/faker_file_admin/alembic/versions/2695cb77cdf2_create_product_table.py +++ b/examples/sqlalchemy_example/faker_file_admin/alembic/versions/2695cb77cdf2_create_product_table.py @@ -5,6 +5,7 @@ Create Date: 2022-12-06 23:46:09.000000 """ + import sqlalchemy as sa from alembic import op diff --git a/pyproject.toml b/pyproject.toml index f7bfd16..825efd8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -51,8 +51,8 @@ skip = ["wsgi.py", "builddocs/"] line-length = 80 # Enable Pyflakes `E` and `F` codes by default. -select = ["E", "F"] -ignore = [] +lint.select = ["E", "F"] +lint.ignore = [] # Exclude a variety of commonly ignored directories. exclude = [ @@ -78,10 +78,10 @@ exclude = [ "examples/django_example/project/wsgi.py", "docs", ] -per-file-ignores = {} +lint.per-file-ignores = {} # Allow unused variables when underscore-prefixed. -dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$" +lint.dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$" # Assume Python 3.10. target-version = "py310" diff --git a/setup.py b/setup.py index 5d5dc58..de7ddb4 100644 --- a/setup.py +++ b/setup.py @@ -16,7 +16,7 @@ def clean_readme(text: str) -> str: return text -version = "0.17.11" +version = "0.17.12" try: readme = open(os.path.join(os.path.dirname(__file__), "README.rst")).read() @@ -43,7 +43,7 @@ def clean_readme(text: str) -> str: "pytest-ordering", # pytest add-on "pytest-pythonpath", # pytest add-on "pytest-rst", # pytest add-on - "moto", # testing documentation + "moto>=5.0.0", # testing documentation ] _common = [ @@ -52,7 +52,7 @@ def clean_readme(text: str) -> str: "imgkit", # images: ICO, JPEG, PNG, SVG, WEBP "odfpy", # ODP, ODS, ODT "openpyxl", # XLSX - "pathy[all]", # remote storages: Azure, GCS, S3 + "pathy[all]>=0.10.0,<0.11.0", # remote storages: Azure, GCS, S3 "paramiko", # SFTP storage "pdf2image", # BMP, GIF, TIFF "pdfkit", # PDF @@ -69,6 +69,7 @@ def clean_readme(text: str) -> str: "nlpaug", # data-augmentation "nltk", # data-augmentation "textaugment", # data-augmentation + "textblob>=0.17,<0.18", "tika", # data-augmentation "torch", # data-augmentation "transformers", # data-augmentation @@ -77,12 +78,12 @@ def clean_readme(text: str) -> str: extras_require = { "all": _common + _ml, "common": _common, - "azure": ["pathy[azure]"], + "azure": ["pathy[azure]>=0.10.0,<0.11.0"], "bmp": ["WeasyPrint", "pdf2image"], "django": ["Django>=2.2"], "docx": ["python-docx"], "epub": ["xml2epub"], - "gcs": ["pathy[gcs]"], + "gcs": ["pathy[gcs]>=0.10.0,<0.11.0"], "gif": ["WeasyPrint", "pdf2image"], "images": ["imgkit"], "mp3": ["gtts", "edge-tts"], @@ -91,7 +92,7 @@ def clean_readme(text: str) -> str: "odt": ["odfpy"], "pdf": ["pdfkit", "reportlab"], "pptx": ["python-pptx"], - "s3": ["pathy[s3]"], + "s3": ["pathy[s3]>=0.10.0,<0.11.0"], "sftp": ["paramiko"], "sqlalchemy": ["SQLAlchemy>=1.0", "SQLAlchemy-Utils>=0.37.0"], "tiff": ["WeasyPrint", "pdf2image"], diff --git a/src/faker_file/__init__.py b/src/faker_file/__init__.py index cf74353..85bd6d2 100644 --- a/src/faker_file/__init__.py +++ b/src/faker_file/__init__.py @@ -1,5 +1,5 @@ __title__ = "faker_file" -__version__ = "0.17.11" +__version__ = "0.17.12" __author__ = "Artur Barseghyan " -__copyright__ = "2022-2023 Artur Barseghyan" +__copyright__ = "2022-2024 Artur Barseghyan" __license__ = "MIT" diff --git a/src/faker_file/contrib/pdf_file/pil_snippets.py b/src/faker_file/contrib/pdf_file/pil_snippets.py index 3bcfa55..0c109e1 100644 --- a/src/faker_file/contrib/pdf_file/pil_snippets.py +++ b/src/faker_file/contrib/pdf_file/pil_snippets.py @@ -87,6 +87,7 @@ ) ) """ + import logging import textwrap from collections import namedtuple diff --git a/src/faker_file/providers/augment_file_from_dir/__init__.py b/src/faker_file/providers/augment_file_from_dir/__init__.py index 571f8f2..74329fb 100644 --- a/src/faker_file/providers/augment_file_from_dir/__init__.py +++ b/src/faker_file/providers/augment_file_from_dir/__init__.py @@ -155,8 +155,7 @@ def augment_file_from_dir( text_augmenter_kwargs: Optional[Dict[str, Any]] = None, raw: bool = True, **kwargs, - ) -> BytesValue: - ... + ) -> BytesValue: ... @overload def augment_file_from_dir( @@ -176,8 +175,7 @@ def augment_file_from_dir( ] = DEFAULT_AUGMENTER, text_augmenter_kwargs: Optional[Dict[str, Any]] = None, **kwargs, - ) -> StringValue: - ... + ) -> StringValue: ... def augment_file_from_dir( self: "AugmentFileFromDirProvider", diff --git a/src/faker_file/providers/augment_image_from_path.py b/src/faker_file/providers/augment_image_from_path.py index 9df6675..adeb635 100644 --- a/src/faker_file/providers/augment_image_from_path.py +++ b/src/faker_file/providers/augment_image_from_path.py @@ -59,8 +59,7 @@ def augment_image_from_path( pop_func: Callable = random_pop, raw: bool = True, **kwargs, - ) -> BytesValue: - ... + ) -> BytesValue: ... @overload def augment_image_from_path( @@ -73,8 +72,7 @@ def augment_image_from_path( num_steps: Optional[int] = None, pop_func: Callable = random_pop, **kwargs, - ) -> StringValue: - ... + ) -> StringValue: ... def augment_image_from_path( self: "AugmentImageFromPathProvider", diff --git a/src/faker_file/providers/augment_random_image_from_dir.py b/src/faker_file/providers/augment_random_image_from_dir.py index 5ddcb28..d98f54c 100644 --- a/src/faker_file/providers/augment_random_image_from_dir.py +++ b/src/faker_file/providers/augment_random_image_from_dir.py @@ -88,8 +88,7 @@ def augment_random_image_from_dir( pop_func: Callable = random_pop, raw: bool = True, **kwargs, - ) -> BytesValue: - ... + ) -> BytesValue: ... @overload def augment_random_image_from_dir( @@ -103,8 +102,7 @@ def augment_random_image_from_dir( num_steps: Optional[int] = None, pop_func: Callable = random_pop, **kwargs, - ) -> StringValue: - ... + ) -> StringValue: ... def augment_random_image_from_dir( self: "AugmentRandomImageFromDirProvider", diff --git a/src/faker_file/providers/bin_file.py b/src/faker_file/providers/bin_file.py index 579d363..6825923 100644 --- a/src/faker_file/providers/bin_file.py +++ b/src/faker_file/providers/bin_file.py @@ -79,8 +79,7 @@ def bin_file( content: Optional[bytes] = None, raw: bool = True, **kwargs, - ) -> BytesValue: - ... + ) -> BytesValue: ... @overload def bin_file( @@ -91,8 +90,7 @@ def bin_file( length: int = (1 * 1024 * 1024), content: Optional[bytes] = None, **kwargs, - ) -> StringValue: - ... + ) -> StringValue: ... def bin_file( self: "BinFileProvider", diff --git a/src/faker_file/providers/bmp_file.py b/src/faker_file/providers/bmp_file.py index ad826c7..e31eb5a 100644 --- a/src/faker_file/providers/bmp_file.py +++ b/src/faker_file/providers/bmp_file.py @@ -95,8 +95,7 @@ def bmp_file( ] = DEFAULT_FORMAT_FUNC, raw: bool = True, **kwargs, - ) -> BytesValue: - ... + ) -> BytesValue: ... @overload def bmp_file( @@ -115,8 +114,7 @@ def bmp_file( [Union[Faker, Generator, Provider], str], str ] = DEFAULT_FORMAT_FUNC, **kwargs, - ) -> StringValue: - ... + ) -> StringValue: ... def bmp_file( self: "BmpFileProvider", @@ -226,8 +224,7 @@ def graphic_bmp_file( luminosity: Optional[str] = None, raw: bool = True, **kwargs, - ) -> BytesValue: - ... + ) -> BytesValue: ... @overload def graphic_bmp_file( @@ -239,8 +236,7 @@ def graphic_bmp_file( hue: Union[int, Sequence[int], str, None] = None, luminosity: Optional[str] = None, **kwargs, - ) -> StringValue: - ... + ) -> StringValue: ... def graphic_bmp_file( self: "GraphicBmpFileProvider", diff --git a/src/faker_file/providers/csv_file.py b/src/faker_file/providers/csv_file.py index e0adff3..72d3b1b 100644 --- a/src/faker_file/providers/csv_file.py +++ b/src/faker_file/providers/csv_file.py @@ -81,8 +81,7 @@ def csv_file( ] = DEFAULT_FORMAT_FUNC, raw: bool = True, **kwargs, - ) -> BytesValue: - ... + ) -> BytesValue: ... @overload def csv_file( @@ -100,8 +99,7 @@ def csv_file( [Union[Faker, Generator, Provider], str], str ] = DEFAULT_FORMAT_FUNC, **kwargs, - ) -> StringValue: - ... + ) -> StringValue: ... def csv_file( self: "CsvFileProvider", diff --git a/src/faker_file/providers/docx_file.py b/src/faker_file/providers/docx_file.py index c0b63ca..8760414 100644 --- a/src/faker_file/providers/docx_file.py +++ b/src/faker_file/providers/docx_file.py @@ -124,8 +124,7 @@ def docx_file( ] = DEFAULT_FORMAT_FUNC, raw: bool = True, **kwargs, - ) -> BytesValue: - ... + ) -> BytesValue: ... @overload def docx_file( @@ -140,8 +139,7 @@ def docx_file( [Union[Faker, Generator, Provider], str], str ] = DEFAULT_FORMAT_FUNC, **kwargs, - ) -> StringValue: - ... + ) -> StringValue: ... def docx_file( self: "DocxFileProvider", diff --git a/src/faker_file/providers/eml_file.py b/src/faker_file/providers/eml_file.py index 2d565b5..f5c32e3 100644 --- a/src/faker_file/providers/eml_file.py +++ b/src/faker_file/providers/eml_file.py @@ -100,8 +100,7 @@ def eml_file( ] = DEFAULT_FORMAT_FUNC, raw: bool = True, **kwargs, - ) -> BytesValue: - ... + ) -> BytesValue: ... @overload def eml_file( @@ -118,8 +117,7 @@ def eml_file( [Union[Faker, Generator, Provider], str], str ] = DEFAULT_FORMAT_FUNC, **kwargs, - ) -> StringValue: - ... + ) -> StringValue: ... def eml_file( self: "EmlFileProvider", diff --git a/src/faker_file/providers/epub_file.py b/src/faker_file/providers/epub_file.py index 9a4b154..4f2563c 100644 --- a/src/faker_file/providers/epub_file.py +++ b/src/faker_file/providers/epub_file.py @@ -82,8 +82,7 @@ def epub_file( ] = DEFAULT_FORMAT_FUNC, raw: bool = True, **kwargs, - ) -> BytesValue: - ... + ) -> BytesValue: ... @overload def epub_file( @@ -100,8 +99,7 @@ def epub_file( [Union[Faker, Generator, Provider], str], str ] = DEFAULT_FORMAT_FUNC, **kwargs, - ) -> StringValue: - ... + ) -> StringValue: ... def epub_file( self: "EpubFileProvider", diff --git a/src/faker_file/providers/file_from_path.py b/src/faker_file/providers/file_from_path.py index 1ecec9b..7083167 100644 --- a/src/faker_file/providers/file_from_path.py +++ b/src/faker_file/providers/file_from_path.py @@ -54,8 +54,7 @@ def file_from_path( prefix: Optional[str] = None, raw: bool = True, **kwargs, - ) -> BytesValue: - ... + ) -> BytesValue: ... @overload def file_from_path( @@ -65,8 +64,7 @@ def file_from_path( basename: Optional[str] = None, prefix: Optional[str] = None, **kwargs, - ) -> StringValue: - ... + ) -> StringValue: ... def file_from_path( self: "FileFromPathProvider", diff --git a/src/faker_file/providers/generic_file.py b/src/faker_file/providers/generic_file.py index cda328c..8c85293 100644 --- a/src/faker_file/providers/generic_file.py +++ b/src/faker_file/providers/generic_file.py @@ -89,8 +89,7 @@ def generic_file( ] = DEFAULT_FORMAT_FUNC, raw: bool = True, **kwargs, - ) -> BytesValue: - ... + ) -> BytesValue: ... @overload def generic_file( @@ -104,8 +103,7 @@ def generic_file( [Union[Faker, Generator, Provider], str], str ] = DEFAULT_FORMAT_FUNC, **kwargs, - ) -> StringValue: - ... + ) -> StringValue: ... def generic_file( self: "GenericFileProvider", diff --git a/src/faker_file/providers/gif_file.py b/src/faker_file/providers/gif_file.py index 2e7633c..26aa35b 100644 --- a/src/faker_file/providers/gif_file.py +++ b/src/faker_file/providers/gif_file.py @@ -95,8 +95,7 @@ def gif_file( ] = DEFAULT_FORMAT_FUNC, raw: bool = True, **kwargs, - ) -> BytesValue: - ... + ) -> BytesValue: ... @overload def gif_file( @@ -115,8 +114,7 @@ def gif_file( [Union[Faker, Generator, Provider], str], str ] = DEFAULT_FORMAT_FUNC, **kwargs, - ) -> StringValue: - ... + ) -> StringValue: ... def gif_file( self: "GifFileProvider", @@ -226,8 +224,7 @@ def graphic_gif_file( luminosity: Optional[str] = None, raw: bool = True, **kwargs, - ) -> BytesValue: - ... + ) -> BytesValue: ... @overload def graphic_gif_file( @@ -239,8 +236,7 @@ def graphic_gif_file( hue: Union[int, Sequence[int], str, None] = None, luminosity: Optional[str] = None, **kwargs, - ) -> StringValue: - ... + ) -> StringValue: ... def graphic_gif_file( self: "GraphicGifFileProvider", diff --git a/src/faker_file/providers/helpers/inner.py b/src/faker_file/providers/helpers/inner.py index cc5204b..017260f 100644 --- a/src/faker_file/providers/helpers/inner.py +++ b/src/faker_file/providers/helpers/inner.py @@ -87,8 +87,7 @@ def create_inner_augment_image_from_path( pop_func: Callable = random_pop, raw: bool = True, **kwargs, -) -> BytesValue: - ... +) -> BytesValue: ... @overload @@ -102,8 +101,7 @@ def create_inner_augment_image_from_path( num_steps: Optional[int] = None, pop_func: Callable = random_pop, **kwargs, -) -> StringValue: - ... +) -> StringValue: ... def create_inner_augment_image_from_path( @@ -155,8 +153,7 @@ def create_inner_augment_random_image_from_dir( pop_func: Callable = random_pop, raw: bool = True, **kwargs, -) -> BytesValue: - ... +) -> BytesValue: ... @overload @@ -171,8 +168,7 @@ def create_inner_augment_random_image_from_dir( num_steps: Optional[int] = None, pop_func: Callable = random_pop, **kwargs, -) -> StringValue: - ... +) -> StringValue: ... def create_inner_augment_random_image_from_dir( @@ -227,8 +223,7 @@ def create_inner_bin_file( content: Optional[bytes] = None, raw: bool = True, **kwargs, -) -> BytesValue: - ... +) -> BytesValue: ... @overload @@ -240,8 +235,7 @@ def create_inner_bin_file( length: int = (1 * 1024 * 1024), content: Optional[bytes] = None, **kwargs, -) -> StringValue: - ... +) -> StringValue: ... def create_inner_bin_file( @@ -292,8 +286,7 @@ def create_inner_csv_file( ] = DEFAULT_FORMAT_FUNC, raw: bool = True, **kwargs, -) -> BytesValue: - ... +) -> BytesValue: ... @overload @@ -311,8 +304,7 @@ def create_inner_csv_file( [Union[Faker, Generator, Provider], str], str ] = DEFAULT_FORMAT_FUNC, **kwargs, -) -> StringValue: - ... +) -> StringValue: ... def create_inner_csv_file( @@ -371,8 +363,7 @@ def create_inner_docx_file( ] = DEFAULT_FORMAT_FUNC, raw: bool = True, **kwargs, -) -> BytesValue: - ... +) -> BytesValue: ... @overload @@ -388,8 +379,7 @@ def create_inner_docx_file( [Union[Faker, Generator, Provider], str], str ] = DEFAULT_FORMAT_FUNC, **kwargs, -) -> StringValue: - ... +) -> StringValue: ... def create_inner_docx_file( @@ -445,8 +435,7 @@ def create_inner_eml_file( ] = DEFAULT_FORMAT_FUNC, raw: bool = True, **kwargs, -) -> BytesValue: - ... +) -> BytesValue: ... @overload @@ -463,8 +452,7 @@ def create_inner_eml_file( [Union[Faker, Generator, Provider], str], str ] = DEFAULT_FORMAT_FUNC, **kwargs, -) -> StringValue: - ... +) -> StringValue: ... def create_inner_eml_file( @@ -522,8 +510,7 @@ def create_inner_epub_file( ] = DEFAULT_FORMAT_FUNC, raw: bool = True, **kwargs, -) -> BytesValue: - ... +) -> BytesValue: ... @overload @@ -541,8 +528,7 @@ def create_inner_epub_file( [Union[Faker, Generator, Provider], str], str ] = DEFAULT_FORMAT_FUNC, **kwargs, -) -> StringValue: - ... +) -> StringValue: ... def create_inner_epub_file( @@ -596,8 +582,7 @@ def create_inner_file_from_path( generator: Optional[Union[Faker, Generator, Provider]] = None, raw: bool = True, **kwargs, -) -> BytesValue: - ... +) -> BytesValue: ... @overload @@ -608,8 +593,7 @@ def create_inner_file_from_path( prefix: Optional[str] = None, generator: Optional[Union[Faker, Generator, Provider]] = None, **kwargs, -) -> StringValue: - ... +) -> StringValue: ... def create_inner_file_from_path( @@ -655,8 +639,7 @@ def create_inner_generic_file( ] = DEFAULT_FORMAT_FUNC, raw: bool = True, **kwargs, -) -> BytesValue: - ... +) -> BytesValue: ... @overload @@ -671,8 +654,7 @@ def create_inner_generic_file( [Union[Faker, Generator, Provider], str], str ] = DEFAULT_FORMAT_FUNC, **kwargs, -) -> StringValue: - ... +) -> StringValue: ... def create_inner_generic_file( @@ -727,8 +709,7 @@ def create_inner_ico_file( ] = DEFAULT_FORMAT_FUNC, raw: bool = True, **kwargs, -) -> BytesValue: - ... +) -> BytesValue: ... @overload @@ -744,8 +725,7 @@ def create_inner_ico_file( [Union[Faker, Generator, Provider], str], str ] = DEFAULT_FORMAT_FUNC, **kwargs, -) -> StringValue: - ... +) -> StringValue: ... def create_inner_ico_file( @@ -795,8 +775,7 @@ def create_inner_graphic_ico_file( luminosity: Optional[str] = None, raw: bool = True, **kwargs, -) -> BytesValue: - ... +) -> BytesValue: ... @overload @@ -809,8 +788,7 @@ def create_inner_graphic_ico_file( hue: Union[int, Sequence[int], str, None] = None, luminosity: Optional[str] = None, **kwargs, -) -> StringValue: - ... +) -> StringValue: ... def create_inner_graphic_ico_file( @@ -861,8 +839,7 @@ def create_inner_jpeg_file( ] = DEFAULT_FORMAT_FUNC, raw: bool = True, **kwargs, -) -> BytesValue: - ... +) -> BytesValue: ... @overload @@ -878,8 +855,7 @@ def create_inner_jpeg_file( [Union[Faker, Generator, Provider], str], str ] = DEFAULT_FORMAT_FUNC, **kwargs, -) -> StringValue: - ... +) -> StringValue: ... def create_inner_jpeg_file( @@ -929,8 +905,7 @@ def create_inner_graphic_jpeg_file( luminosity: Optional[str] = None, raw: bool = True, **kwargs, -) -> BytesValue: - ... +) -> BytesValue: ... @overload @@ -943,8 +918,7 @@ def create_inner_graphic_jpeg_file( hue: Union[int, Sequence[int], str, None] = None, luminosity: Optional[str] = None, **kwargs, -) -> StringValue: - ... +) -> StringValue: ... def create_inner_graphic_jpeg_file( @@ -996,8 +970,7 @@ def create_inner_json_file( ] = DEFAULT_FORMAT_FUNC, raw: bool = True, **kwargs, -) -> BytesValue: - ... +) -> BytesValue: ... @overload @@ -1014,8 +987,7 @@ def create_inner_json_file( [Union[Faker, Generator, Provider], str], str ] = DEFAULT_FORMAT_FUNC, **kwargs, -) -> StringValue: - ... +) -> StringValue: ... def create_inner_json_file( @@ -1073,8 +1045,7 @@ def create_inner_mp3_file( ] = DEFAULT_FORMAT_FUNC, raw: bool = True, **kwargs, -) -> BytesValue: - ... +) -> BytesValue: ... @overload @@ -1091,8 +1062,7 @@ def create_inner_mp3_file( [Union[Faker, Generator, Provider], str], str ] = DEFAULT_FORMAT_FUNC, **kwargs, -) -> StringValue: - ... +) -> StringValue: ... def create_inner_mp3_file( @@ -1149,8 +1119,7 @@ def create_inner_odp_file( ] = DEFAULT_FORMAT_FUNC, raw: bool = True, **kwargs, -) -> BytesValue: - ... +) -> BytesValue: ... @overload @@ -1166,8 +1135,7 @@ def create_inner_odp_file( [Union[Faker, Generator, Provider], str], str ] = DEFAULT_FORMAT_FUNC, **kwargs, -) -> Union[BytesValue, StringValue]: - ... +) -> Union[BytesValue, StringValue]: ... def create_inner_odp_file( @@ -1222,8 +1190,7 @@ def create_inner_ods_file( ] = DEFAULT_FORMAT_FUNC, raw: bool = True, **kwargs, -) -> BytesValue: - ... +) -> BytesValue: ... @overload @@ -1239,8 +1206,7 @@ def create_inner_ods_file( [Union[Faker, Generator, Provider], str], str ] = DEFAULT_FORMAT_FUNC, **kwargs, -) -> StringValue: - ... +) -> StringValue: ... def create_inner_ods_file( @@ -1295,8 +1261,7 @@ def create_inner_odt_file( ] = DEFAULT_FORMAT_FUNC, raw: bool = True, **kwargs, -) -> BytesValue: - ... +) -> BytesValue: ... @overload @@ -1312,8 +1277,7 @@ def create_inner_odt_file( [Union[Faker, Generator, Provider], str], str ] = DEFAULT_FORMAT_FUNC, **kwargs, -) -> StringValue: - ... +) -> StringValue: ... def create_inner_odt_file( @@ -1370,8 +1334,7 @@ def create_inner_pdf_file( ] = DEFAULT_FORMAT_FUNC, raw: bool = True, **kwargs, -) -> BytesValue: - ... +) -> BytesValue: ... @overload @@ -1389,8 +1352,7 @@ def create_inner_pdf_file( [Union[Faker, Generator, Provider], str], str ] = DEFAULT_FORMAT_FUNC, **kwargs, -) -> StringValue: - ... +) -> StringValue: ... def create_inner_pdf_file( @@ -1444,8 +1406,7 @@ def create_inner_graphic_pdf_file( luminosity: Optional[str] = None, raw: bool = True, **kwargs, -) -> BytesValue: - ... +) -> BytesValue: ... @overload @@ -1458,8 +1419,7 @@ def create_inner_graphic_pdf_file( hue: Union[int, Sequence[int], str, None] = None, luminosity: Optional[str] = None, **kwargs, -) -> StringValue: - ... +) -> StringValue: ... def create_inner_graphic_pdf_file( @@ -1510,8 +1470,7 @@ def create_inner_png_file( ] = DEFAULT_FORMAT_FUNC, raw: bool = True, **kwargs, -) -> BytesValue: - ... +) -> BytesValue: ... @overload @@ -1527,8 +1486,7 @@ def create_inner_png_file( [Union[Faker, Generator, Provider], str], str ] = DEFAULT_FORMAT_FUNC, **kwargs, -) -> StringValue: - ... +) -> StringValue: ... def create_inner_png_file( @@ -1578,8 +1536,7 @@ def create_inner_graphic_png_file( luminosity: Optional[str] = None, raw: bool = True, **kwargs, -) -> BytesValue: - ... +) -> BytesValue: ... @overload @@ -1592,8 +1549,7 @@ def create_inner_graphic_png_file( hue: Union[int, Sequence[int], str, None] = None, luminosity: Optional[str] = None, **kwargs, -) -> StringValue: - ... +) -> StringValue: ... def create_inner_graphic_png_file( @@ -1644,8 +1600,7 @@ def create_inner_pptx_file( ] = DEFAULT_FORMAT_FUNC, raw: bool = True, **kwargs, -) -> BytesValue: - ... +) -> BytesValue: ... @overload @@ -1661,8 +1616,7 @@ def create_inner_pptx_file( [Union[Faker, Generator, Provider], str], str ] = DEFAULT_FORMAT_FUNC, **kwargs, -) -> StringValue: - ... +) -> StringValue: ... def create_inner_pptx_file( @@ -1712,8 +1666,7 @@ def create_inner_random_file_from_dir( generator: Optional[Union[Faker, Generator, Provider]] = None, raw: bool = True, **kwargs, -) -> BytesValue: - ... +) -> BytesValue: ... @overload @@ -1724,8 +1677,7 @@ def create_inner_random_file_from_dir( prefix: Optional[str] = None, generator: Optional[Union[Faker, Generator, Provider]] = None, **kwargs, -) -> StringValue: - ... +) -> StringValue: ... def create_inner_random_file_from_dir( @@ -1774,8 +1726,7 @@ def create_inner_rtf_file( ] = DEFAULT_FORMAT_FUNC, raw: bool = True, **kwargs, -) -> BytesValue: - ... +) -> BytesValue: ... @overload @@ -1791,8 +1742,7 @@ def create_inner_rtf_file( [Union[Faker, Generator, Provider], str], str ] = DEFAULT_FORMAT_FUNC, **kwargs, -) -> StringValue: - ... +) -> StringValue: ... def create_inner_rtf_file( @@ -1847,8 +1797,7 @@ def create_inner_svg_file( ] = DEFAULT_FORMAT_FUNC, raw: bool = True, **kwargs, -) -> BytesValue: - ... +) -> BytesValue: ... @overload @@ -1864,8 +1813,7 @@ def create_inner_svg_file( [Union[Faker, Generator, Provider], str], str ] = DEFAULT_FORMAT_FUNC, **kwargs, -) -> StringValue: - ... +) -> StringValue: ... def create_inner_svg_file( @@ -1916,8 +1864,7 @@ def create_inner_tar_file( compression: Optional[str] = None, raw: bool = True, **kwargs, -) -> BytesValue: - ... +) -> BytesValue: ... @overload @@ -1929,8 +1876,7 @@ def create_inner_tar_file( options: Optional[Dict[str, Any]] = None, compression: Optional[str] = None, **kwargs, -) -> StringValue: - ... +) -> StringValue: ... def create_inner_tar_file( @@ -1978,8 +1924,7 @@ def create_inner_txt_file( ] = DEFAULT_FORMAT_FUNC, raw: bool = True, **kwargs, -) -> BytesValue: - ... +) -> BytesValue: ... @overload @@ -1995,8 +1940,7 @@ def create_inner_txt_file( [Union[Faker, Generator, Provider], str], str ] = DEFAULT_FORMAT_FUNC, **kwargs, -) -> StringValue: - ... +) -> StringValue: ... def create_inner_txt_file( @@ -2051,8 +1995,7 @@ def create_inner_webp_file( ] = DEFAULT_FORMAT_FUNC, raw: bool = True, **kwargs, -) -> BytesValue: - ... +) -> BytesValue: ... @overload @@ -2068,8 +2011,7 @@ def create_inner_webp_file( [Union[Faker, Generator, Provider], str], str ] = DEFAULT_FORMAT_FUNC, **kwargs, -) -> StringValue: - ... +) -> StringValue: ... def create_inner_webp_file( @@ -2119,8 +2061,7 @@ def create_inner_graphic_webp_file( luminosity: Optional[str] = None, raw: bool = True, **kwargs, -) -> BytesValue: - ... +) -> BytesValue: ... @overload @@ -2133,8 +2074,7 @@ def create_inner_graphic_webp_file( hue: Union[int, Sequence[int], str, None] = None, luminosity: Optional[str] = None, **kwargs, -) -> StringValue: - ... +) -> StringValue: ... def create_inner_graphic_webp_file( @@ -2185,8 +2125,7 @@ def create_inner_xlsx_file( ] = DEFAULT_FORMAT_FUNC, raw: bool = True, **kwargs, -) -> BytesValue: - ... +) -> BytesValue: ... @overload @@ -2202,8 +2141,7 @@ def create_inner_xlsx_file( [Union[Faker, Generator, Provider], str], str ] = DEFAULT_FORMAT_FUNC, **kwargs, -) -> StringValue: - ... +) -> StringValue: ... def create_inner_xlsx_file( @@ -2261,8 +2199,7 @@ def create_inner_xml_file( ] = DEFAULT_FORMAT_FUNC, raw: bool = True, **kwargs, -) -> BytesValue: - ... +) -> BytesValue: ... @overload @@ -2281,8 +2218,7 @@ def create_inner_xml_file( [Union[Faker, Generator, Provider], str], str ] = DEFAULT_FORMAT_FUNC, **kwargs, -) -> StringValue: - ... +) -> StringValue: ... def create_inner_xml_file( @@ -2338,8 +2274,7 @@ def create_inner_zip_file( options: Optional[Dict[str, Any]] = None, raw: bool = True, **kwargs, -) -> BytesValue: - ... +) -> BytesValue: ... @overload @@ -2350,8 +2285,7 @@ def create_inner_zip_file( generator: Optional[Union[Faker, Generator, Provider]] = None, options: Optional[Dict[str, Any]] = None, **kwargs, -) -> StringValue: - ... +) -> StringValue: ... def create_inner_zip_file( diff --git a/src/faker_file/providers/ico_file.py b/src/faker_file/providers/ico_file.py index 79cc351..cd07807 100644 --- a/src/faker_file/providers/ico_file.py +++ b/src/faker_file/providers/ico_file.py @@ -95,8 +95,7 @@ def ico_file( ] = DEFAULT_FORMAT_FUNC, raw: bool = True, **kwargs, - ) -> BytesValue: - ... + ) -> BytesValue: ... @overload def ico_file( @@ -115,8 +114,7 @@ def ico_file( [Union[Faker, Generator, Provider], str], str ] = DEFAULT_FORMAT_FUNC, **kwargs, - ) -> StringValue: - ... + ) -> StringValue: ... def ico_file( self: "IcoFileProvider", @@ -226,8 +224,7 @@ def graphic_ico_file( luminosity: Optional[str] = None, raw: bool = True, **kwargs, - ) -> BytesValue: - ... + ) -> BytesValue: ... @overload def graphic_ico_file( @@ -239,8 +236,7 @@ def graphic_ico_file( hue: Union[int, Sequence[int], str, None] = None, luminosity: Optional[str] = None, **kwargs, - ) -> StringValue: - ... + ) -> StringValue: ... def graphic_ico_file( self: "GraphicIcoFileProvider", diff --git a/src/faker_file/providers/jpeg_file.py b/src/faker_file/providers/jpeg_file.py index cfdb4aa..4acee69 100644 --- a/src/faker_file/providers/jpeg_file.py +++ b/src/faker_file/providers/jpeg_file.py @@ -95,8 +95,7 @@ def jpeg_file( ] = DEFAULT_FORMAT_FUNC, raw: bool = True, **kwargs, - ) -> BytesValue: - ... + ) -> BytesValue: ... @overload def jpeg_file( @@ -115,8 +114,7 @@ def jpeg_file( [Union[Faker, Generator, Provider], str], str ] = DEFAULT_FORMAT_FUNC, **kwargs, - ) -> StringValue: - ... + ) -> StringValue: ... def jpeg_file( self: "JpegFileProvider", @@ -226,8 +224,7 @@ def graphic_jpeg_file( luminosity: Optional[str] = None, raw: bool = True, **kwargs, - ) -> BytesValue: - ... + ) -> BytesValue: ... @overload def graphic_jpeg_file( @@ -239,8 +236,7 @@ def graphic_jpeg_file( hue: Union[int, Sequence[int], str, None] = None, luminosity: Optional[str] = None, **kwargs, - ) -> StringValue: - ... + ) -> StringValue: ... def graphic_jpeg_file( self: "GraphicJpegFileProvider", diff --git a/src/faker_file/providers/json_file.py b/src/faker_file/providers/json_file.py index d58a6ed..fc962e0 100644 --- a/src/faker_file/providers/json_file.py +++ b/src/faker_file/providers/json_file.py @@ -80,8 +80,7 @@ def json_file( ] = DEFAULT_FORMAT_FUNC, raw: bool = True, **kwargs, - ) -> BytesValue: - ... + ) -> BytesValue: ... @overload def json_file( @@ -98,8 +97,7 @@ def json_file( [Union[Faker, Generator, Provider], str], str ] = DEFAULT_FORMAT_FUNC, **kwargs, - ) -> StringValue: - ... + ) -> StringValue: ... def json_file( self: "JsonFileProvider", diff --git a/src/faker_file/providers/mixins/graphic_image_mixin.py b/src/faker_file/providers/mixins/graphic_image_mixin.py index 78d9114..65a7df3 100644 --- a/src/faker_file/providers/mixins/graphic_image_mixin.py +++ b/src/faker_file/providers/mixins/graphic_image_mixin.py @@ -28,8 +28,7 @@ def _image_file( luminosity: Optional[str] = None, raw: bool = True, **kwargs, - ) -> BytesValue: - ... + ) -> BytesValue: ... @overload def _image_file( @@ -42,8 +41,7 @@ def _image_file( hue: Union[int, Sequence[int], str, None] = None, luminosity: Optional[str] = None, **kwargs, - ) -> StringValue: - ... + ) -> StringValue: ... def _image_file( self: "GraphicImageMixin", diff --git a/src/faker_file/providers/mixins/image_mixin.py b/src/faker_file/providers/mixins/image_mixin.py index 4abdc56..f454bee 100644 --- a/src/faker_file/providers/mixins/image_mixin.py +++ b/src/faker_file/providers/mixins/image_mixin.py @@ -63,8 +63,7 @@ def _image_file( ] = DEFAULT_FORMAT_FUNC, raw: bool = True, **kwargs, - ) -> BytesValue: - ... + ) -> BytesValue: ... @overload def _image_file( @@ -83,8 +82,7 @@ def _image_file( [Union[Faker, Generator, Provider], str], str ] = DEFAULT_FORMAT_FUNC, **kwargs, - ) -> StringValue: - ... + ) -> StringValue: ... def _image_file( self: "ImageMixin", diff --git a/src/faker_file/providers/mixins/tablular_data_mixin.py b/src/faker_file/providers/mixins/tablular_data_mixin.py index df63680..ac9b3f3 100644 --- a/src/faker_file/providers/mixins/tablular_data_mixin.py +++ b/src/faker_file/providers/mixins/tablular_data_mixin.py @@ -33,8 +33,7 @@ def _tabular_data_file( ] = DEFAULT_FORMAT_FUNC, raw: bool = True, **kwargs, - ) -> BytesValue: - ... + ) -> BytesValue: ... @overload def _tabular_data_file( @@ -49,8 +48,7 @@ def _tabular_data_file( [Union[Faker, Generator, Provider], str], str ] = DEFAULT_FORMAT_FUNC, **kwargs, - ) -> StringValue: - ... + ) -> StringValue: ... def _tabular_data_file( self: "TabularDataMixin", diff --git a/src/faker_file/providers/mp3_file/__init__.py b/src/faker_file/providers/mp3_file/__init__.py index 278d132..4ae5cab 100644 --- a/src/faker_file/providers/mp3_file/__init__.py +++ b/src/faker_file/providers/mp3_file/__init__.py @@ -145,8 +145,7 @@ def mp3_file( ] = DEFAULT_FORMAT_FUNC, raw: bool = True, **kwargs, - ) -> BytesValue: - ... + ) -> BytesValue: ... @overload def mp3_file( @@ -164,8 +163,7 @@ def mp3_file( [Union[Faker, Generator, Provider], str], str ] = DEFAULT_FORMAT_FUNC, **kwargs, - ) -> StringValue: - ... + ) -> StringValue: ... def mp3_file( self: "Mp3FileProvider", diff --git a/src/faker_file/providers/odp_file.py b/src/faker_file/providers/odp_file.py index 1b7adb3..e16d4ad 100644 --- a/src/faker_file/providers/odp_file.py +++ b/src/faker_file/providers/odp_file.py @@ -80,8 +80,7 @@ def odp_file( ] = DEFAULT_FORMAT_FUNC, raw: bool = True, **kwargs, - ) -> BytesValue: - ... + ) -> BytesValue: ... @overload def odp_file( @@ -96,8 +95,7 @@ def odp_file( [Union[Faker, Generator, Provider], str], str ] = DEFAULT_FORMAT_FUNC, **kwargs, - ) -> StringValue: - ... + ) -> StringValue: ... def odp_file( self: "OdpFileProvider", diff --git a/src/faker_file/providers/ods_file.py b/src/faker_file/providers/ods_file.py index 3e8549f..191b52e 100644 --- a/src/faker_file/providers/ods_file.py +++ b/src/faker_file/providers/ods_file.py @@ -85,8 +85,7 @@ def ods_file( ] = DEFAULT_FORMAT_FUNC, raw: bool = True, **kwargs, - ) -> BytesValue: - ... + ) -> BytesValue: ... @overload def ods_file( @@ -101,8 +100,7 @@ def ods_file( [Union[Faker, Generator, Provider], str], str ] = DEFAULT_FORMAT_FUNC, **kwargs, - ) -> StringValue: - ... + ) -> StringValue: ... def ods_file( self: "OdsFileProvider", diff --git a/src/faker_file/providers/odt_file.py b/src/faker_file/providers/odt_file.py index 1c0efe2..0dac5a8 100644 --- a/src/faker_file/providers/odt_file.py +++ b/src/faker_file/providers/odt_file.py @@ -124,8 +124,7 @@ def odt_file( ] = DEFAULT_FORMAT_FUNC, raw: bool = True, **kwargs, - ) -> BytesValue: - ... + ) -> BytesValue: ... @overload def odt_file( @@ -140,8 +139,7 @@ def odt_file( [Union[Faker, Generator, Provider], str], str ] = DEFAULT_FORMAT_FUNC, **kwargs, - ) -> StringValue: - ... + ) -> StringValue: ... def odt_file( self: "OdtFileProvider", diff --git a/src/faker_file/providers/pdf_file/__init__.py b/src/faker_file/providers/pdf_file/__init__.py index eed8767..96e4ff4 100644 --- a/src/faker_file/providers/pdf_file/__init__.py +++ b/src/faker_file/providers/pdf_file/__init__.py @@ -138,8 +138,7 @@ def pdf_file( ] = DEFAULT_FORMAT_FUNC, raw: bool = True, **kwargs, - ) -> BytesValue: - ... + ) -> BytesValue: ... @overload def pdf_file( @@ -158,8 +157,7 @@ def pdf_file( [Union[Faker, Generator, Provider], str], str ] = DEFAULT_FORMAT_FUNC, **kwargs, - ) -> StringValue: - ... + ) -> StringValue: ... def pdf_file( self: "PdfFileProvider", @@ -314,8 +312,7 @@ def graphic_pdf_file( luminosity: Optional[str] = None, raw: bool = True, **kwargs, - ) -> BytesValue: - ... + ) -> BytesValue: ... @overload def graphic_pdf_file( @@ -327,8 +324,7 @@ def graphic_pdf_file( hue: Union[int, Sequence[int], str, None] = None, luminosity: Optional[str] = None, **kwargs, - ) -> StringValue: - ... + ) -> StringValue: ... def graphic_pdf_file( self: "GraphicPdfFileProvider", diff --git a/src/faker_file/providers/png_file.py b/src/faker_file/providers/png_file.py index 5966aaf..a1b4ab0 100644 --- a/src/faker_file/providers/png_file.py +++ b/src/faker_file/providers/png_file.py @@ -95,8 +95,7 @@ def png_file( ] = DEFAULT_FORMAT_FUNC, raw: bool = True, **kwargs, - ) -> BytesValue: - ... + ) -> BytesValue: ... @overload def png_file( @@ -115,8 +114,7 @@ def png_file( [Union[Faker, Generator, Provider], str], str ] = DEFAULT_FORMAT_FUNC, **kwargs, - ) -> StringValue: - ... + ) -> StringValue: ... def png_file( self: "PngFileProvider", @@ -226,8 +224,7 @@ def graphic_png_file( luminosity: Optional[str] = None, raw: bool = True, **kwargs, - ) -> BytesValue: - ... + ) -> BytesValue: ... @overload def graphic_png_file( @@ -239,8 +236,7 @@ def graphic_png_file( hue: Union[int, Sequence[int], str, None] = None, luminosity: Optional[str] = None, **kwargs, - ) -> StringValue: - ... + ) -> StringValue: ... def graphic_png_file( self: "GraphicPngFileProvider", diff --git a/src/faker_file/providers/pptx_file.py b/src/faker_file/providers/pptx_file.py index bea6878..2537360 100644 --- a/src/faker_file/providers/pptx_file.py +++ b/src/faker_file/providers/pptx_file.py @@ -79,8 +79,7 @@ def pptx_file( ] = DEFAULT_FORMAT_FUNC, raw: bool = True, **kwargs, - ) -> BytesValue: - ... + ) -> BytesValue: ... @overload def pptx_file( @@ -95,8 +94,7 @@ def pptx_file( [Union[Faker, Generator, Provider], str], str ] = DEFAULT_FORMAT_FUNC, **kwargs, - ) -> StringValue: - ... + ) -> StringValue: ... def pptx_file( self: "PptxFileProvider", diff --git a/src/faker_file/providers/random_file_from_dir.py b/src/faker_file/providers/random_file_from_dir.py index 1c6d0fd..a2b8813 100644 --- a/src/faker_file/providers/random_file_from_dir.py +++ b/src/faker_file/providers/random_file_from_dir.py @@ -56,8 +56,7 @@ def random_file_from_dir( prefix: Optional[str] = None, raw: bool = True, **kwargs, - ) -> BytesValue: - ... + ) -> BytesValue: ... @overload def random_file_from_dir( @@ -67,8 +66,7 @@ def random_file_from_dir( basename: Optional[str] = None, prefix: Optional[str] = None, **kwargs, - ) -> StringValue: - ... + ) -> StringValue: ... def random_file_from_dir( self: "RandomFileFromDirProvider", diff --git a/src/faker_file/providers/rtf_file.py b/src/faker_file/providers/rtf_file.py index d565d99..b21ae9b 100644 --- a/src/faker_file/providers/rtf_file.py +++ b/src/faker_file/providers/rtf_file.py @@ -76,8 +76,7 @@ def rtf_file( ] = DEFAULT_FORMAT_FUNC, raw: bool = True, **kwargs, - ) -> BytesValue: - ... + ) -> BytesValue: ... @overload def rtf_file( @@ -92,8 +91,7 @@ def rtf_file( [Union[Faker, Generator, Provider], str], str ] = DEFAULT_FORMAT_FUNC, **kwargs, - ) -> StringValue: - ... + ) -> StringValue: ... def rtf_file( self: "RtfFileProvider", diff --git a/src/faker_file/providers/svg_file.py b/src/faker_file/providers/svg_file.py index 4e0e096..996d05a 100644 --- a/src/faker_file/providers/svg_file.py +++ b/src/faker_file/providers/svg_file.py @@ -81,8 +81,7 @@ def svg_file( ] = DEFAULT_FORMAT_FUNC, raw: bool = True, **kwargs, - ) -> BytesValue: - ... + ) -> BytesValue: ... @overload def svg_file( @@ -101,8 +100,7 @@ def svg_file( [Union[Faker, Generator, Provider], str], str ] = DEFAULT_FORMAT_FUNC, **kwargs, - ) -> StringValue: - ... + ) -> StringValue: ... def svg_file( self: "SvgFileProvider", diff --git a/src/faker_file/providers/tar_file.py b/src/faker_file/providers/tar_file.py index 1e66e01..5b0ce20 100644 --- a/src/faker_file/providers/tar_file.py +++ b/src/faker_file/providers/tar_file.py @@ -90,8 +90,7 @@ def tar_file( compression: Optional[str] = None, raw: bool = True, **kwargs, - ) -> BytesValue: - ... + ) -> BytesValue: ... @overload def tar_file( @@ -104,8 +103,7 @@ def tar_file( # Optional[Literal["gz", "bz2", "xz"]] = None compression: Optional[str] = None, **kwargs, - ) -> StringValue: - ... + ) -> StringValue: ... def tar_file( self: "TarFileProvider", @@ -132,6 +130,24 @@ def tar_file( file). :return: Relative path (from root directory) of the generated file or raw content of the file. + + A complex case usage example: + + .. code-block:: python + + tar_file = TarFileProvider(None).tar_file( + prefix="ttt_archive_", + options={ + "count": 5, + "create_inner_file_func": create_inner_docx_file, + "create_inner_file_args": { + "prefix": "ttt_file_", + "max_nb_chars": 1_024, + "content": "{{date}}\r\n{{text}}\r\n{{name}}", + }, + "directory": "ttt", + }, + ) """ # Generic if storage is None: @@ -152,25 +168,7 @@ def tar_file( # Specific if options: - """ - A complex case. Could be initialized as follows: - - .. code-block:: python - - zip_file = TarFileProvider(None).tar_file( - prefix="ttt_archive_", - options={ - "count": 5, - "create_inner_file_func": create_inner_docx_file, - "create_inner_file_args": { - "prefix": "ttt_file_", - "max_nb_chars": 1_024, - "content": "{{date}}\r\n{{text}}\r\n{{name}}", - }, - "directory": "ttt", - }, - ) - """ + # Complex case _count = options.get("count", 5) _create_inner_file_func = options.get( "create_inner_file_func", create_inner_txt_file @@ -180,7 +178,7 @@ def tar_file( _directory = options.get("directory", "") else: - # Defaults + # Defaults, simple case _count = 5 _create_inner_file_func = create_inner_txt_file _create_inner_file_args = {} diff --git a/src/faker_file/providers/tiff_file.py b/src/faker_file/providers/tiff_file.py index 5ca33f7..e0b767a 100644 --- a/src/faker_file/providers/tiff_file.py +++ b/src/faker_file/providers/tiff_file.py @@ -95,8 +95,7 @@ def tiff_file( ] = DEFAULT_FORMAT_FUNC, raw: bool = True, **kwargs, - ) -> BytesValue: - ... + ) -> BytesValue: ... @overload def tiff_file( @@ -115,8 +114,7 @@ def tiff_file( [Union[Faker, Generator, Provider], str], str ] = DEFAULT_FORMAT_FUNC, **kwargs, - ) -> StringValue: - ... + ) -> StringValue: ... def tiff_file( self: "TiffFileProvider", @@ -226,8 +224,7 @@ def graphic_tiff_file( luminosity: Optional[str] = None, raw: bool = True, **kwargs, - ) -> BytesValue: - ... + ) -> BytesValue: ... @overload def graphic_tiff_file( @@ -239,8 +236,7 @@ def graphic_tiff_file( hue: Union[int, Sequence[int], str, None] = None, luminosity: Optional[str] = None, **kwargs, - ) -> StringValue: - ... + ) -> StringValue: ... def graphic_tiff_file( self: "GraphicTiffFileProvider", diff --git a/src/faker_file/providers/txt_file.py b/src/faker_file/providers/txt_file.py index 7a4e27a..1192ac1 100644 --- a/src/faker_file/providers/txt_file.py +++ b/src/faker_file/providers/txt_file.py @@ -76,8 +76,7 @@ def txt_file( ] = DEFAULT_FORMAT_FUNC, raw: bool = True, **kwargs, - ) -> BytesValue: - ... + ) -> BytesValue: ... @overload def txt_file( @@ -92,8 +91,7 @@ def txt_file( [Union[Faker, Generator, Provider], str], str ] = DEFAULT_FORMAT_FUNC, **kwargs, - ) -> StringValue: - ... + ) -> StringValue: ... def txt_file( self: "TxtFileProvider", diff --git a/src/faker_file/providers/webp_file.py b/src/faker_file/providers/webp_file.py index 5f8d2e2..5f2b04f 100644 --- a/src/faker_file/providers/webp_file.py +++ b/src/faker_file/providers/webp_file.py @@ -95,8 +95,7 @@ def webp_file( ] = DEFAULT_FORMAT_FUNC, raw: bool = True, **kwargs, - ) -> BytesValue: - ... + ) -> BytesValue: ... @overload def webp_file( @@ -115,8 +114,7 @@ def webp_file( [Union[Faker, Generator, Provider], str], str ] = DEFAULT_FORMAT_FUNC, **kwargs, - ) -> StringValue: - ... + ) -> StringValue: ... def webp_file( self: "WebpFileProvider", @@ -226,8 +224,7 @@ def graphic_webp_file( luminosity: Optional[str] = None, raw: bool = True, **kwargs, - ) -> BytesValue: - ... + ) -> BytesValue: ... @overload def graphic_webp_file( @@ -239,8 +236,7 @@ def graphic_webp_file( hue: Union[int, Sequence[int], str, None] = None, luminosity: Optional[str] = None, **kwargs, - ) -> StringValue: - ... + ) -> StringValue: ... def graphic_webp_file( self: "GraphicWebpFileProvider", diff --git a/src/faker_file/providers/xlsx_file.py b/src/faker_file/providers/xlsx_file.py index 930cd67..6d30f73 100644 --- a/src/faker_file/providers/xlsx_file.py +++ b/src/faker_file/providers/xlsx_file.py @@ -82,8 +82,7 @@ def xlsx_file( ] = DEFAULT_FORMAT_FUNC, raw: bool = True, **kwargs, - ) -> BytesValue: - ... + ) -> BytesValue: ... @overload def xlsx_file( @@ -98,8 +97,7 @@ def xlsx_file( [Union[Faker, Generator, Provider], str], str ] = DEFAULT_FORMAT_FUNC, **kwargs, - ) -> StringValue: - ... + ) -> StringValue: ... def xlsx_file( self: "XlsxFileProvider", diff --git a/src/faker_file/providers/xml_file.py b/src/faker_file/providers/xml_file.py index 6b073a6..39d8921 100644 --- a/src/faker_file/providers/xml_file.py +++ b/src/faker_file/providers/xml_file.py @@ -123,8 +123,7 @@ def xml_file( ] = DEFAULT_FORMAT_FUNC, raw: bool = True, **kwargs, - ) -> BytesValue: - ... + ) -> BytesValue: ... @overload def xml_file( @@ -142,8 +141,7 @@ def xml_file( [Union[Faker, Generator, Provider], str], str ] = DEFAULT_FORMAT_FUNC, **kwargs, - ) -> StringValue: - ... + ) -> StringValue: ... def xml_file( self, diff --git a/src/faker_file/providers/zip_file.py b/src/faker_file/providers/zip_file.py index e7c2e76..e0f17be 100644 --- a/src/faker_file/providers/zip_file.py +++ b/src/faker_file/providers/zip_file.py @@ -84,8 +84,7 @@ def zip_file( options: Optional[Dict[str, Any]] = None, raw: bool = True, **kwargs, - ) -> BytesValue: - ... + ) -> BytesValue: ... @overload def zip_file( @@ -95,8 +94,7 @@ def zip_file( prefix: Optional[str] = None, options: Optional[Dict[str, Any]] = None, **kwargs, - ) -> Union[BytesValue, StringValue]: - ... + ) -> Union[BytesValue, StringValue]: ... def zip_file( self: "ZipFileProvider", diff --git a/src/faker_file/storages/base.py b/src/faker_file/storages/base.py index f46e334..6d9e47e 100644 --- a/src/faker_file/storages/base.py +++ b/src/faker_file/storages/base.py @@ -1,3 +1,5 @@ +import random +import string from typing import Any, Optional __author__ = "Artur Barseghyan " @@ -13,6 +15,18 @@ def __init__(self, *args, **kwargs) -> None: self.args = args self.kwargs = kwargs + def generate_basename( + self: "BaseStorage", + prefix: str = "tmp", + length: int = 8, + ) -> str: + """Generate a random alphanumeric sequence.""" + if not prefix: + prefix = "tmp" + # Use lowercase letters, digits and underscore + characters = string.ascii_lowercase + string.digits + "_" + return prefix + "".join(random.choices(characters, k=length)) + def generate_filename( self: "BaseStorage", extension: str, diff --git a/src/faker_file/storages/cloud.py b/src/faker_file/storages/cloud.py index 1f9f4e3..248bfc2 100644 --- a/src/faker_file/storages/cloud.py +++ b/src/faker_file/storages/cloud.py @@ -1,5 +1,3 @@ -import os -import tempfile from abc import abstractmethod from typing import Any, Dict, Optional, Union @@ -69,24 +67,34 @@ def generate_filename( if not extension: raise Exception("Extension shall be given!") - if basename: - return ( - self.bucket - / self.root_path - / self.rel_path - / f"{basename}.{extension}" - ) - else: - with tempfile.NamedTemporaryFile( - prefix=prefix, - suffix=f".{extension}", - ) as temp_file: - return ( - self.bucket - / self.root_path - / self.rel_path - / os.path.basename(temp_file.name) - ) + if not basename: + basename = self.generate_basename(prefix) + + return ( + self.bucket + / self.root_path + / self.rel_path + / f"{basename}.{extension}" + ) + + # if basename: + # return ( + # self.bucket + # / self.root_path + # / self.rel_path + # / f"{basename}.{extension}" + # ) + # else: + # with tempfile.NamedTemporaryFile( + # prefix=prefix, + # suffix=f".{extension}", + # ) as temp_file: + # return ( + # self.bucket + # / self.root_path + # / self.rel_path + # / os.path.basename(temp_file.name) + # ) def write_text( self: "CloudStorage", diff --git a/src/faker_file/storages/filesystem.py b/src/faker_file/storages/filesystem.py index 1218084..867ac60 100644 --- a/src/faker_file/storages/filesystem.py +++ b/src/faker_file/storages/filesystem.py @@ -60,15 +60,20 @@ def generate_filename( if not extension: raise Exception("Extension shall be given!") - if basename: - return os.path.join(dir_path, f"{basename}.{extension}") - else: - with tempfile.NamedTemporaryFile( - prefix=prefix, - dir=dir_path, - suffix=f".{extension}", - ) as temp_file: - return temp_file.name + if not basename: + basename = self.generate_basename(prefix) + + return os.path.join(dir_path, f"{basename}.{extension}") + + # if basename: + # return os.path.join(dir_path, f"{basename}.{extension}") + # else: + # with tempfile.NamedTemporaryFile( + # prefix=prefix, + # dir=dir_path, + # suffix=f".{extension}", + # ) as temp_file: + # return temp_file.name def write_text( self: "FileSystemStorage", diff --git a/src/faker_file/storages/sftp_storage.py b/src/faker_file/storages/sftp_storage.py index 9e4049c..36d4ba5 100644 --- a/src/faker_file/storages/sftp_storage.py +++ b/src/faker_file/storages/sftp_storage.py @@ -1,6 +1,5 @@ import logging import os -import tempfile from typing import Optional import paramiko @@ -107,14 +106,19 @@ def generate_filename( LOGGER.error("File extension is required") raise ValueError("Extension shall be given!") - if basename: - return self._build_path(f"{basename}.{extension}") - else: - with tempfile.NamedTemporaryFile( - prefix=prefix, - suffix=f".{extension}", - ) as temp_file: - return self._build_path(os.path.basename(temp_file.name)) + if not basename: + basename = self.generate_basename(prefix) + + return self._build_path(f"{basename}.{extension}") + + # if basename: + # return self._build_path(f"{basename}.{extension}") + # else: + # with tempfile.NamedTemporaryFile( + # prefix=prefix, + # suffix=f".{extension}", + # ) as temp_file: + # return self._build_path(os.path.basename(temp_file.name)) def write_text( self: "SFTPStorage", diff --git a/src/faker_file/tests/_conftest.py b/src/faker_file/tests/_conftest.py index 5d4d514..289368e 100644 --- a/src/faker_file/tests/_conftest.py +++ b/src/faker_file/tests/_conftest.py @@ -4,6 +4,7 @@ running documentation tests. Therefore, this hook, which simply calls the `clean_up` method of the `FILE_REGISTRY` instance. """ + import pytest from faker_file.registry import FILE_REGISTRY From c5ec12e391ec1fb421cf368166d5e36bcba34a7c Mon Sep 17 00:00:00 2001 From: Artur Barseghyan Date: Thu, 12 Sep 2024 01:39:20 +0200 Subject: [PATCH 6/7] Up docs (#74) --- README.rst | 28 ++++++++++++------------- examples/requirements/dev.in | 2 +- examples/requirements/style_checkers.in | 1 + 3 files changed, 16 insertions(+), 15 deletions(-) diff --git a/README.rst b/README.rst index dc59479..ee6ae5f 100644 --- a/README.rst +++ b/README.rst @@ -169,7 +169,7 @@ Latest stable version from PyPI .. code-block:: sh - pip install faker-file[all] + pip install faker-file'[all]' **Only core** @@ -183,79 +183,79 @@ Latest stable version from PyPI .. code-block:: sh - pip install faker-file[common] + pip install faker-file'[common]' **With DOCX support** .. code-block:: sh - pip install faker-file[docx] + pip install faker-file'[docx]' **With EPUB support** .. code-block:: sh - pip install faker-file[epub] + pip install faker-file'[epub]' **With images support** .. code-block:: sh - pip install faker-file[images] + pip install faker-file'[images]' **With PDF support** .. code-block:: sh - pip install faker-file[pdf] + pip install faker-file'[pdf]' **With MP3 support** .. code-block:: sh - pip install faker-file[mp3] + pip install faker-file'[mp3]' **With XLSX support** .. code-block:: sh - pip install faker-file[xlsx] + pip install faker-file'[xlsx]' **With ODS support** .. code-block:: sh - pip install faker-file[ods] + pip install faker-file'[ods]' **With ODT support** .. code-block:: sh - pip install faker-file[odt] + pip install faker-file'[odt]' **With data augmentation support** .. code-block:: sh - pip install faker-file[data-augmentation] + pip install faker-file'[data-augmentation]' **With GoogleCloudStorage support** .. code-block:: sh - pip install faker-file[gcs] + pip install faker-file'[gcs]' **With AzureCloudStorage support** .. code-block:: sh - pip install faker-file[azure] + pip install faker-file'[azure]' **With AWSS3Storage support** .. code-block:: sh - pip install faker-file[s3] + pip install faker-file'[s3]' Or development version from GitHub ---------------------------------- diff --git a/examples/requirements/dev.in b/examples/requirements/dev.in index 69f0c89..5fe815d 100644 --- a/examples/requirements/dev.in +++ b/examples/requirements/dev.in @@ -1,2 +1,2 @@ --r django_3_2.in +-r django_4_2.in -r deployment.in diff --git a/examples/requirements/style_checkers.in b/examples/requirements/style_checkers.in index 15cc35d..4143c38 100644 --- a/examples/requirements/style_checkers.in +++ b/examples/requirements/style_checkers.in @@ -4,6 +4,7 @@ ruff isort>=5.11.5 doc8 pre-commit +pydoclint pydocstyle pyflakes pylint From 393f85f6509826ea2ea24a9a45dd35368dc87332 Mon Sep 17 00:00:00 2001 From: Artur Barseghyan Date: Wed, 30 Oct 2024 01:11:05 +0100 Subject: [PATCH 7/7] Upgrade pillow. Drop Python 3.8 support. (#78) --- .github/workflows/test.yml | 2 +- CHANGELOG.rst | 8 ++++++ examples/requirements/common.txt | 4 +-- examples/requirements/dev.txt | 4 +-- examples/requirements/django_2_2.txt | 4 +-- .../requirements/django_2_2_and_flask.txt | 4 +-- examples/requirements/django_3_2.txt | 4 +-- .../requirements/django_3_2_and_flask.txt | 4 +-- examples/requirements/django_4_0.txt | 4 +-- .../requirements/django_4_0_and_flask.txt | 4 +-- examples/requirements/django_4_1.txt | 4 +-- .../requirements/django_4_1_and_flask.txt | 4 +-- examples/requirements/django_4_2.txt | 4 +-- .../requirements/django_4_2_and_flask.txt | 4 +-- examples/requirements/docs.txt | 4 +-- examples/requirements/flask.txt | 4 +-- examples/requirements/ml.txt | 4 +-- examples/requirements/testing.txt | 4 +-- setup.py | 6 ++--- src/faker_file/__init__.py | 2 +- .../contrib/pdf_file/pil_snippets.py | 25 ++++++++++++++++--- .../providers/image/pil_generator.py | 17 ++++++++++--- .../pdf_file/generators/pil_generator.py | 16 +++++++++--- 23 files changed, 93 insertions(+), 47 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0773a80..393481f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -102,7 +102,7 @@ jobs: - "3.11" - "3.10" - "3.9" - - "3.8" +# - "3.8" # - "3.7" steps: - name: Install wkhtmltopdf diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 841d0d7..5383d0c 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -28,6 +28,14 @@ are used for versioning (schema follows below): 0.3.4 to 0.4). - All backwards incompatible changes are mentioned in this document. +0.17.13 +------- +2024-10-30 + +- Upgrade `Pillow` related code to work with `Pillow`>=9.1.0 (tested with + 10.x and 11.x). +- Drop EOL Python 3.8 support. + 0.17.12 ------- 2024-09-10 diff --git a/examples/requirements/common.txt b/examples/requirements/common.txt index 80e5722..d157b3e 100644 --- a/examples/requirements/common.txt +++ b/examples/requirements/common.txt @@ -137,7 +137,7 @@ pdf2image==1.17.0 # via -r examples/requirements/common.in pdfkit==1.0.0 # via -r examples/requirements/common.in -pillow==9.5.0 +pillow==11.0.0 # via # pdf2image # python-pptx @@ -254,7 +254,7 @@ webencodings==0.5.1 # tinycss2 xlsxwriter==3.2.0 # via python-pptx -xml2epub==2.6.5 +xml2epub==2.6.6 # via -r examples/requirements/common.in yarl==1.11.1 # via aiohttp diff --git a/examples/requirements/dev.txt b/examples/requirements/dev.txt index d729b13..536b30a 100644 --- a/examples/requirements/dev.txt +++ b/examples/requirements/dev.txt @@ -238,7 +238,7 @@ pdf2image==1.17.0 # via -r examples/requirements/common.in pdfkit==1.0.0 # via -r examples/requirements/common.in -pillow==9.5.0 +pillow==11.0.0 # via # pdf2image # python-pptx @@ -445,7 +445,7 @@ werkzeug==3.0.4 # via moto xlsxwriter==3.2.0 # via python-pptx -xml2epub==2.6.5 +xml2epub==2.6.6 # via -r examples/requirements/common.in xmltodict==0.13.0 # via moto diff --git a/examples/requirements/django_2_2.txt b/examples/requirements/django_2_2.txt index 3258a3a..7176a24 100644 --- a/examples/requirements/django_2_2.txt +++ b/examples/requirements/django_2_2.txt @@ -206,7 +206,7 @@ pdf2image==1.17.0 # via -r examples/requirements/common.in pdfkit==1.0.0 # via -r examples/requirements/common.in -pillow==9.5.0 +pillow==11.0.0 # via # pdf2image # python-pptx @@ -393,7 +393,7 @@ werkzeug==3.0.4 # via moto xlsxwriter==3.2.0 # via python-pptx -xml2epub==2.6.5 +xml2epub==2.6.6 # via -r examples/requirements/common.in xmltodict==0.13.0 # via moto diff --git a/examples/requirements/django_2_2_and_flask.txt b/examples/requirements/django_2_2_and_flask.txt index e93d522..982767c 100644 --- a/examples/requirements/django_2_2_and_flask.txt +++ b/examples/requirements/django_2_2_and_flask.txt @@ -238,7 +238,7 @@ pdf2image==1.17.0 # via -r examples/requirements/common.in pdfkit==1.0.0 # via -r examples/requirements/common.in -pillow==9.5.0 +pillow==11.0.0 # via # pdf2image # python-pptx @@ -440,7 +440,7 @@ wtforms==3.1.2 # via flask-admin xlsxwriter==3.2.0 # via python-pptx -xml2epub==2.6.5 +xml2epub==2.6.6 # via -r examples/requirements/common.in xmltodict==0.13.0 # via moto diff --git a/examples/requirements/django_3_2.txt b/examples/requirements/django_3_2.txt index c46eb94..a74effd 100644 --- a/examples/requirements/django_3_2.txt +++ b/examples/requirements/django_3_2.txt @@ -211,7 +211,7 @@ pdf2image==1.17.0 # via -r examples/requirements/common.in pdfkit==1.0.0 # via -r examples/requirements/common.in -pillow==9.5.0 +pillow==11.0.0 # via # pdf2image # python-pptx @@ -399,7 +399,7 @@ werkzeug==3.0.4 # via moto xlsxwriter==3.2.0 # via python-pptx -xml2epub==2.6.5 +xml2epub==2.6.6 # via -r examples/requirements/common.in xmltodict==0.13.0 # via moto diff --git a/examples/requirements/django_3_2_and_flask.txt b/examples/requirements/django_3_2_and_flask.txt index 3917cc2..3f32610 100644 --- a/examples/requirements/django_3_2_and_flask.txt +++ b/examples/requirements/django_3_2_and_flask.txt @@ -243,7 +243,7 @@ pdf2image==1.17.0 # via -r examples/requirements/common.in pdfkit==1.0.0 # via -r examples/requirements/common.in -pillow==9.5.0 +pillow==11.0.0 # via # pdf2image # python-pptx @@ -446,7 +446,7 @@ wtforms==3.1.2 # via flask-admin xlsxwriter==3.2.0 # via python-pptx -xml2epub==2.6.5 +xml2epub==2.6.6 # via -r examples/requirements/common.in xmltodict==0.13.0 # via moto diff --git a/examples/requirements/django_4_0.txt b/examples/requirements/django_4_0.txt index de3a6af..d9b4558 100644 --- a/examples/requirements/django_4_0.txt +++ b/examples/requirements/django_4_0.txt @@ -211,7 +211,7 @@ pdf2image==1.17.0 # via -r examples/requirements/common.in pdfkit==1.0.0 # via -r examples/requirements/common.in -pillow==9.5.0 +pillow==11.0.0 # via # pdf2image # python-pptx @@ -399,7 +399,7 @@ werkzeug==3.0.4 # via moto xlsxwriter==3.2.0 # via python-pptx -xml2epub==2.6.5 +xml2epub==2.6.6 # via -r examples/requirements/common.in xmltodict==0.13.0 # via moto diff --git a/examples/requirements/django_4_0_and_flask.txt b/examples/requirements/django_4_0_and_flask.txt index 8047250..c17d203 100644 --- a/examples/requirements/django_4_0_and_flask.txt +++ b/examples/requirements/django_4_0_and_flask.txt @@ -243,7 +243,7 @@ pdf2image==1.17.0 # via -r examples/requirements/common.in pdfkit==1.0.0 # via -r examples/requirements/common.in -pillow==9.5.0 +pillow==11.0.0 # via # pdf2image # python-pptx @@ -446,7 +446,7 @@ wtforms==3.1.2 # via flask-admin xlsxwriter==3.2.0 # via python-pptx -xml2epub==2.6.5 +xml2epub==2.6.6 # via -r examples/requirements/common.in xmltodict==0.13.0 # via moto diff --git a/examples/requirements/django_4_1.txt b/examples/requirements/django_4_1.txt index 10448c4..d3af8f1 100644 --- a/examples/requirements/django_4_1.txt +++ b/examples/requirements/django_4_1.txt @@ -211,7 +211,7 @@ pdf2image==1.17.0 # via -r examples/requirements/common.in pdfkit==1.0.0 # via -r examples/requirements/common.in -pillow==9.5.0 +pillow==11.0.0 # via # pdf2image # python-pptx @@ -399,7 +399,7 @@ werkzeug==3.0.4 # via moto xlsxwriter==3.2.0 # via python-pptx -xml2epub==2.6.5 +xml2epub==2.6.6 # via -r examples/requirements/common.in xmltodict==0.13.0 # via moto diff --git a/examples/requirements/django_4_1_and_flask.txt b/examples/requirements/django_4_1_and_flask.txt index b9e54a4..563bdb0 100644 --- a/examples/requirements/django_4_1_and_flask.txt +++ b/examples/requirements/django_4_1_and_flask.txt @@ -243,7 +243,7 @@ pdf2image==1.17.0 # via -r examples/requirements/common.in pdfkit==1.0.0 # via -r examples/requirements/common.in -pillow==9.5.0 +pillow==11.0.0 # via # pdf2image # python-pptx @@ -446,7 +446,7 @@ wtforms==3.1.2 # via flask-admin xlsxwriter==3.2.0 # via python-pptx -xml2epub==2.6.5 +xml2epub==2.6.6 # via -r examples/requirements/common.in xmltodict==0.13.0 # via moto diff --git a/examples/requirements/django_4_2.txt b/examples/requirements/django_4_2.txt index 2579086..ff32b89 100644 --- a/examples/requirements/django_4_2.txt +++ b/examples/requirements/django_4_2.txt @@ -211,7 +211,7 @@ pdf2image==1.17.0 # via -r examples/requirements/common.in pdfkit==1.0.0 # via -r examples/requirements/common.in -pillow==9.5.0 +pillow==11.0.0 # via # pdf2image # python-pptx @@ -397,7 +397,7 @@ werkzeug==3.0.4 # via moto xlsxwriter==3.2.0 # via python-pptx -xml2epub==2.6.5 +xml2epub==2.6.6 # via -r examples/requirements/common.in xmltodict==0.13.0 # via moto diff --git a/examples/requirements/django_4_2_and_flask.txt b/examples/requirements/django_4_2_and_flask.txt index fbe7e9c..01dac77 100644 --- a/examples/requirements/django_4_2_and_flask.txt +++ b/examples/requirements/django_4_2_and_flask.txt @@ -243,7 +243,7 @@ pdf2image==1.17.0 # via -r examples/requirements/common.in pdfkit==1.0.0 # via -r examples/requirements/common.in -pillow==9.5.0 +pillow==11.0.0 # via # pdf2image # python-pptx @@ -444,7 +444,7 @@ wtforms==3.1.2 # via flask-admin xlsxwriter==3.2.0 # via python-pptx -xml2epub==2.6.5 +xml2epub==2.6.6 # via -r examples/requirements/common.in xmltodict==0.13.0 # via moto diff --git a/examples/requirements/docs.txt b/examples/requirements/docs.txt index 8259bfd..6d7d9af 100644 --- a/examples/requirements/docs.txt +++ b/examples/requirements/docs.txt @@ -225,7 +225,7 @@ pdf2image==1.17.0 # via -r examples/requirements/common.in pdfkit==1.0.0 # via -r examples/requirements/common.in -pillow==9.5.0 +pillow==11.0.0 # via # pdf2image # python-pptx @@ -450,7 +450,7 @@ werkzeug==3.0.4 # via moto xlsxwriter==3.2.0 # via python-pptx -xml2epub==2.6.5 +xml2epub==2.6.6 # via -r examples/requirements/common.in xmltodict==0.13.0 # via moto diff --git a/examples/requirements/flask.txt b/examples/requirements/flask.txt index 4c393b7..567c7b7 100644 --- a/examples/requirements/flask.txt +++ b/examples/requirements/flask.txt @@ -212,7 +212,7 @@ pdf2image==1.17.0 # via -r examples/requirements/common.in pdfkit==1.0.0 # via -r examples/requirements/common.in -pillow==9.5.0 +pillow==11.0.0 # via # pdf2image # python-pptx @@ -396,7 +396,7 @@ wtforms==3.1.2 # via flask-admin xlsxwriter==3.2.0 # via python-pptx -xml2epub==2.6.5 +xml2epub==2.6.6 # via -r examples/requirements/common.in xmltodict==0.13.0 # via moto diff --git a/examples/requirements/ml.txt b/examples/requirements/ml.txt index f6c0e72..47e8e3b 100644 --- a/examples/requirements/ml.txt +++ b/examples/requirements/ml.txt @@ -255,7 +255,7 @@ pdf2image==1.17.0 # via -r examples/requirements/common.in pdfkit==1.0.0 # via -r examples/requirements/common.in -pillow==9.5.0 +pillow==11.0.0 # via # pdf2image # python-pptx @@ -473,7 +473,7 @@ werkzeug==3.0.4 # via moto xlsxwriter==3.2.0 # via python-pptx -xml2epub==2.6.5 +xml2epub==2.6.6 # via -r examples/requirements/common.in xmltodict==0.13.0 # via moto diff --git a/examples/requirements/testing.txt b/examples/requirements/testing.txt index e142428..a513c8a 100644 --- a/examples/requirements/testing.txt +++ b/examples/requirements/testing.txt @@ -211,7 +211,7 @@ pdf2image==1.17.0 # via -r examples/requirements/common.in pdfkit==1.0.0 # via -r examples/requirements/common.in -pillow==9.5.0 +pillow==11.0.0 # via # pdf2image # python-pptx @@ -399,7 +399,7 @@ werkzeug==3.0.4 # via moto xlsxwriter==3.2.0 # via python-pptx -xml2epub==2.6.5 +xml2epub==2.6.6 # via -r examples/requirements/common.in xmltodict==0.13.0 # via moto diff --git a/setup.py b/setup.py index de7ddb4..392b668 100644 --- a/setup.py +++ b/setup.py @@ -16,7 +16,7 @@ def clean_readme(text: str) -> str: return text -version = "0.17.12" +version = "0.17.13" try: readme = open(os.path.join(os.path.dirname(__file__), "README.rst")).read() @@ -108,8 +108,8 @@ def clean_readme(text: str) -> str: long_description_content_type="text/x-rst", classifiers=[ "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.7", - "Programming Language :: Python :: 3.8", + # "Programming Language :: Python :: 3.7", + # "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", diff --git a/src/faker_file/__init__.py b/src/faker_file/__init__.py index 85bd6d2..b46720c 100644 --- a/src/faker_file/__init__.py +++ b/src/faker_file/__init__.py @@ -1,5 +1,5 @@ __title__ = "faker_file" -__version__ = "0.17.12" +__version__ = "0.17.13" __author__ = "Artur Barseghyan " __copyright__ = "2022-2024 Artur Barseghyan" __license__ = "MIT" diff --git a/src/faker_file/contrib/pdf_file/pil_snippets.py b/src/faker_file/contrib/pdf_file/pil_snippets.py index 0c109e1..481ee72 100644 --- a/src/faker_file/contrib/pdf_file/pil_snippets.py +++ b/src/faker_file/contrib/pdf_file/pil_snippets.py @@ -267,9 +267,18 @@ def add_paragraph( y_text = position[1] # LOGGER.debug(f"position: {position}") for counter, line in enumerate(lines): - text_width, text_height = generator.draw.textsize( - line, font=font, spacing=generator.spacing + # text_width, text_height = generator.draw.textsize( + # line, font=font, spacing=generator.spacing + # ) + text_bbox = generator.draw.textbbox( + (position[0], y_text), + line, + font=font, + spacing=generator.spacing, ) + # text_width = text_bbox[2] - text_bbox[0] + text_height = text_bbox[3] - text_bbox[1] + if y_text + text_height > generator.page_height: generator.save_and_start_new_page() y_text = 0 @@ -369,7 +378,11 @@ def add_heading( font=font, ) - text_width, text_height = generator.draw.textsize(_content, font=font) + # text_width, text_height = generator.draw.textsize(_content, font=font) + text_bbox = generator.draw.textbbox((position[0], y), _content, font=font) + # text_width = text_bbox[2] - text_bbox[0] + text_height = text_bbox[3] - text_bbox[1] + y += text_height # If you want to keep track of the last position to place another @@ -450,7 +463,11 @@ def draw_table_cell(document, cell_content, position, cell_size, font): ) # Draw text in the rectangle - text_width, text_height = document.textsize(cell_content, font=font) + # text_width, text_height = document.textsize(cell_content, font=font) + text_bbox = document.textbbox((0, 0), cell_content, font=font) + text_width = text_bbox[2] - text_bbox[0] + text_height = text_bbox[3] - text_bbox[1] + text_position = ( x + (width - text_width) // 2, y + (height - text_height) // 2, diff --git a/src/faker_file/providers/image/pil_generator.py b/src/faker_file/providers/image/pil_generator.py index 7658c42..95231d3 100644 --- a/src/faker_file/providers/image/pil_generator.py +++ b/src/faker_file/providers/image/pil_generator.py @@ -180,7 +180,8 @@ def find_max_fit_for_single_line_text( low, high = 0, len(text) while low < high: mid = (high + low) // 2 - text_width, _ = draw.textsize(text[:mid], font=font) + # text_width, _ = draw.textsize(text[:mid], font=font) + text_width = draw.textlength(text[:mid], font=font) if text_width > max_width: high = mid @@ -288,9 +289,19 @@ def generate( y_text = 0 for counter, line in enumerate(lines): - text_width, text_height = self.draw.textsize( - line, font=font, spacing=self.spacing + # text_width, text_height = self.draw.textsize( + # line, font=font, spacing=self.spacing + # ) + # Updated to use textbbox for text width and height + text_bbox = self.draw.textbbox( + (0, y_text), + line, + font=font, + spacing=self.spacing, ) + # text_width = text_bbox[2] - text_bbox[0] + text_height = text_bbox[3] - text_bbox[1] + if y_text + text_height > self.page_height: self.save_and_start_new_page() y_text = 0 diff --git a/src/faker_file/providers/pdf_file/generators/pil_generator.py b/src/faker_file/providers/pdf_file/generators/pil_generator.py index 3f73d35..452a392 100644 --- a/src/faker_file/providers/pdf_file/generators/pil_generator.py +++ b/src/faker_file/providers/pdf_file/generators/pil_generator.py @@ -97,7 +97,8 @@ def find_max_fit_for_single_line_text( low, high = 0, len(text) while low < high: mid = (high + low) // 2 - text_width, _ = draw.textsize(text[:mid], font=font) + # text_width, _ = draw.textsize(text[:mid], font=font) + text_width = draw.textlength(text[:mid], font=font) if text_width > max_width: high = mid @@ -189,9 +190,18 @@ def generate( y_text = 0 for counter, line in enumerate(lines): - text_width, text_height = self.draw.textsize( - line, font=font, spacing=self.spacing + # text_width, text_height = self.draw.textsize( + # line, font=font, spacing=self.spacing + # ) + text_bbox = self.draw.textbbox( + (0, y_text), + line, + font=font, + spacing=self.spacing, ) + # text_width = text_bbox[2] - text_bbox[0] + text_height = text_bbox[3] - text_bbox[1] + # if counter % max_lines_per_page == 0: if y_text + text_height > self.page_height: self.save_and_start_new_page()