From ddbaf474b62f3fe4feaca716ddf5054588f9dffa Mon Sep 17 00:00:00 2001 From: Joakim Soderlund Date: Sun, 29 Oct 2023 15:30:21 +0100 Subject: [PATCH] Remove now unnecessary importlib backport --- .github/workflows/main.yml | 1 + fimfarchive/utils.py | 2 +- pyproject.toml | 1 - tests/fixtures/responses.py | 2 +- 4 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7daf9e1..fffb737 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -9,6 +9,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: + fail-fast: false python-version: - '3.8' - '3.9' diff --git a/fimfarchive/utils.py b/fimfarchive/utils.py index 57f57c0..6b5bc15 100644 --- a/fimfarchive/utils.py +++ b/fimfarchive/utils.py @@ -26,7 +26,7 @@ import os import shutil from importlib import import_module -from importlib_resources import files +from importlib.resources import files from pathlib import Path from typing import ( cast, Any, Callable, Dict, Iterator, diff --git a/pyproject.toml b/pyproject.toml index 9654d96..1e0b51c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,7 +8,6 @@ dependencies = [ "arrow~=1.3", "bbcode~=1.1", "blinker~=1.8", - "importlib-resources~=6.4", "jinja2~=3.1", "jmespath~=1.0", "jsonapi-client", diff --git a/tests/fixtures/responses.py b/tests/fixtures/responses.py index a9aaff7..04d2294 100644 --- a/tests/fixtures/responses.py +++ b/tests/fixtures/responses.py @@ -29,7 +29,7 @@ from typing import Any, ContextManager, Dict, Iterator, Optional, Union, Type import pytest -from importlib_resources import as_file, files +from importlib.resources import as_file, files from pytest import FixtureRequest from requests import Session, Response from requests.sessions import PreparedRequest