diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 337cf138..c02c9bb0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,9 +14,7 @@ jobs: - uses: actions/setup-python@v2 - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install setuptools wheel twine build + run: pip install setuptools wheel twine build - name: Build and publish env: diff --git a/.github/workflows/unit.yml b/.github/workflows/unit.yml index 80202134..ff0ba7a2 100644 --- a/.github/workflows/unit.yml +++ b/.github/workflows/unit.yml @@ -39,7 +39,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.8", "3.9", "3.10"] + python-version: ["3.8", "3.9", "3.10", "3.11"] include: - os: macos-latest # macos test python-version: "3.10" diff --git a/pyproject.toml b/pyproject.toml index c665f6b4..8402abc0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -15,6 +15,7 @@ classifiers = [ "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", ] requires-python = ">=3.8" dependencies = [ diff --git a/sepal_ui/sepalwidgets/inputs.py b/sepal_ui/sepalwidgets/inputs.py index 9b7ddc2d..32d316dd 100644 --- a/sepal_ui/sepalwidgets/inputs.py +++ b/sepal_ui/sepalwidgets/inputs.py @@ -399,7 +399,7 @@ def _get_items(self) -> List[v.ListItem]: """ folder = self.folder - list_dir = [el for el in folder.glob("*/") if not el.name.startswith(".")] + list_dir = [el for el in folder.glob("*") if not el.name.startswith(".")] if self.extensions: list_dir = [ diff --git a/setup.py b/setup.py deleted file mode 100644 index b908cbe5..00000000 --- a/setup.py +++ /dev/null @@ -1,3 +0,0 @@ -import setuptools - -setuptools.setup()