Skip to content

Commit

Permalink
CI: Test lowest-direct requirements using uv
Browse files Browse the repository at this point in the history
  • Loading branch information
has2k1 committed Sep 23, 2024
1 parent 5fbefd0 commit 5693352
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 19 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,11 @@ jobs:

strategy:
matrix:
python-version: ["3.10", 3.12]
resolution:
- highest
include:
- python-version: "3.10"
resolution: "lowest-direct"
- python-version: 3.12
resolution: "highest"
steps:
- name: Checkout Code
uses: actions/checkout@v4
Expand Down
26 changes: 13 additions & 13 deletions .github/workflows/weekly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ on:
- cron: "40 06 * * WED"

jobs:
plotnine_latest_matplotlib_latest:
latest p9, latest matplotlib:
runs-on: ubuntu-latest

strategy:
matrix:
python-version: [3.12]
python-version: 3.12

steps:
- name: Checkout Code
Expand Down Expand Up @@ -52,12 +52,12 @@ jobs:
path: result_images/
if-no-files-found: ignore

plotnine_latest_pandas_latest:
latest p9, latest pandas:
runs-on: ubuntu-latest

strategy:
matrix:
python-version: [3.12]
python-version: 3.12

steps:
- name: Checkout Code
Expand All @@ -79,8 +79,8 @@ jobs:
- name: Install Packages
shell: bash
run: |
uv pip install ".[extra,test]"
uv pip install --upgrade git+https://github.com/pandas-dev/pandas
uv pip install ".[extra,test]"
- name: Environment Information
shell: bash
Expand All @@ -100,12 +100,12 @@ jobs:
path: result_images/
if-no-files-found: ignore

plotnine_pypi_matplotlib_latest:
stable p9, latest matplotlib:
runs-on: ubuntu-latest

strategy:
matrix:
python-version: ["3.10"]
python-version: 3.12

steps:
- name: Get latest release with tag from GitHub API
Expand Down Expand Up @@ -160,12 +160,12 @@ jobs:
path: result_images/
if-no-files-found: ignore

plotnine_pypi_pandas_latest:
stable p9, latest pandas:
runs-on: ubuntu-latest

strategy:
matrix:
python-version: ["3.10"]
python-version: 3.12

steps:
- name: Get latest release with tag from GitHub API
Expand Down Expand Up @@ -221,12 +221,12 @@ jobs:
path: tests/result_images/
if-no-files-found: ignore

typecheck_plotnine_latest_matplotlib_latest:
TYP latest p9, latest matplotlib:
runs-on: ubuntu-latest

strategy:
matrix:
python-version: [3.11]
python-version: [3.12]

steps:
- name: Checkout Code
Expand Down Expand Up @@ -261,12 +261,12 @@ jobs:
run: |
make typecheck
typecheck_plotnine_latest_pandas_latest:
TYP latest p9, latest pandas:
runs-on: ubuntu-latest

strategy:
matrix:
python-version: [3.11]
python-version: [3.12]

steps:
- name: Checkout Code
Expand Down
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ classifiers = [
"Topic :: Scientific/Engineering :: Visualization"
]
dependencies = [
"matplotlib>=3.7.0",
"matplotlib>=3.8.0",
"pandas>=2.2.0",
"mizani~=0.12.2",
"numpy>=1.23.5",
"scipy>=1.7.0",
"scipy>=1.8.0",
"statsmodels>=0.14.0",
]
requires-python = ">=3.10"
Expand All @@ -45,7 +45,7 @@ extra = [
"adjustText>=1.2.0",
"geopandas>=1.0.0",
"scikit-learn>1.2.0",
"scikit-misc>=0.4.0"
"scikit-misc>=0.5.1"
]

doc = [
Expand Down

0 comments on commit 5693352

Please sign in to comment.