From e49ca0177a8bcaf247250812afc97ce2ecaa3df6 Mon Sep 17 00:00:00 2001 From: Filipe Date: Tue, 22 Oct 2024 10:11:08 +0200 Subject: [PATCH] Py313 (#2013) * pin pandas and remove twine * remove py38 and add py313 * run tests on py313 --- .github/workflows/test_code.yml | 11 +---------- .github/workflows/test_selenium.yml | 2 +- requirements-dev.txt | 3 +-- setup.py | 2 +- 4 files changed, 4 insertions(+), 14 deletions(-) diff --git a/.github/workflows/test_code.yml b/.github/workflows/test_code.yml index ff644d600..ee75fe41e 100644 --- a/.github/workflows/test_code.yml +++ b/.github/workflows/test_code.yml @@ -12,12 +12,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, windows-latest] - python-version: ["3.9", "3.12"] - experimental: [false] - include: - - python-version: "3.12" - os: "ubuntu-latest" - experimental: true + python-version: ["3.9", "3.13"] fail-fast: false defaults: run: @@ -35,10 +30,6 @@ jobs: --file requirements.txt --file requirements-dev.txt - - name: Install nightly versions of dependencies - if: matrix.experimental == true - run: python -m pip install --pre --index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple --extra-index-url https://pypi.org/simple numpy pandas shapely -U - - name: Install folium from source run: python -m pip install -e . --no-deps --force-reinstall diff --git a/.github/workflows/test_selenium.yml b/.github/workflows/test_selenium.yml index 6aa70fe87..34cd05430 100644 --- a/.github/workflows/test_selenium.yml +++ b/.github/workflows/test_selenium.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [ "3.9", "3.12" ] + python-version: [ "3.9", "3.13" ] fail-fast: false steps: diff --git a/requirements-dev.txt b/requirements-dev.txt index f35857e80..4c416c539 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -23,7 +23,7 @@ nbconvert nbsphinx nbval owslib -pandas +pandas >=2 pillow pre-commit pycodestyle @@ -33,7 +33,6 @@ scipy selenium setuptools_scm sphinx -twine>=3.2.0 types-requests vega_datasets vincent diff --git a/setup.py b/setup.py index bb33f689a..836764fc2 100644 --- a/setup.py +++ b/setup.py @@ -52,11 +52,11 @@ def walk_subpkg(name): url="https://github.com/python-visualization/folium", keywords="data visualization", classifiers=[ - "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", "Topic :: Scientific/Engineering :: GIS", "Topic :: Scientific/Engineering :: Visualization", "License :: OSI Approved :: MIT License",