diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d9f532f..9a150c9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -21,11 +21,11 @@ jobs: matrix: include: - os: "ubuntu-latest" - python-version: '3.8' # first supported + python-version: '3.9' # first supported - os: "windows-latest" - python-version: '3.8' # first supported + python-version: '3.9' # first supported - os: "macos-latest" - python-version: '3.8' # first supported + python-version: '3.9' # first supported - os: "ubuntu-latest" python-version: '3.12' # latest supported - os: "windows-latest" diff --git a/docs/env.yml b/docs/env.yml index fa39cdb..be12fb8 100644 --- a/docs/env.yml +++ b/docs/env.yml @@ -1,17 +1,15 @@ # To keep the RTD build as small as possible, we define a separate .yml here +# Other doc dependencies are defined in setup.cfg and installed via `pip install .[docs]` name: docs channels: - conda-forge - defaults dependencies: -- python=3.10 -- ipykernel -- nbsphinx +- python=3.12 - mock - pillow - sphinx<7 - sphinx_rtd_theme -- pip - pip: - recommonmark - readthedocs-sphinx-ext \ No newline at end of file diff --git a/setup.cfg b/setup.cfg index 6f3beb3..f43f569 100644 --- a/setup.cfg +++ b/setup.cfg @@ -37,6 +37,7 @@ install_requires = pyproj pykdtree scipy + # The usage of test_requires is discouraged, see `Dependency Management` docs tests_require = pytest; pytest-cov # Require a specific Python version, e.g. Python 2.7 or >= 3.4 @@ -56,6 +57,13 @@ testing = pytest pytest-cov +docs = + ipykernel + nbconvert + matplotlib + nbsphinx + sphinx_rtd_theme + [options.entry_points] # Add here console scripts like: # console_scripts =