From 962491c1c4b6d2b407ca04015c0763ce3860cdc4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20M=C3=BCller?= Date: Fri, 2 Jul 2021 17:47:16 +0200 Subject: [PATCH] CI: fix major versions of all dependencies --- .github/workflows/main.yml | 2 +- setup.cfg | 30 +++++++++++++++--------------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e4cdfabb..f19abcb4 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -31,7 +31,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install black pylint + pip install black 'pylint<3' pip install --editable . - name: black check diff --git a/setup.cfg b/setup.cfg index 53e4bbf0..55086556 100644 --- a/setup.cfg +++ b/setup.cfg @@ -40,7 +40,7 @@ packages = find: install_requires = emcee>=3.0.0,<4 hankel>=1.0.2,<2 - meshio>=4.0.3,<5.0 + meshio>=4.0.3,<5 numpy>=1.14.5,<2 pyevtk>=1.1.1,<2 scipy>=1.1.0,<2 @@ -54,19 +54,19 @@ exclude = [options.extras_require] doc = - m2r2 - matplotlib>=3 - meshzoo - numpydoc>=1.1 - pykrige>=1.5 - pyvista - sphinx>=3 - sphinx-gallery>=0.8 - sphinx-rtd-theme>=0.5 + m2r2>=0.2.8,<1 + matplotlib>=3,<4 + meshzoo>=0.7,<1 + numpydoc>=1.1,<2 + pykrige>=1.5,<2 + pyvista>=0.31,<1 + sphinx>=3,<4 + sphinx-gallery>=0.8,<1 + sphinx-rtd-theme>=0.5,<1 plotting = - matplotlib - pyvista + matplotlib>=3,<4 + pyvista>=0.29,<1 test = - coverage[toml]>=5.2.1 - pytest>=6.0 - pytest-cov>=2.11.0 + coverage[toml]>=5.2.1,<6 + pytest>=6.0,<7 + pytest-cov>=2.11.0,<3