Skip to content

Commit

Permalink
Bump CI matrix, drop Python 3.8, require Python 3.9+
Browse files Browse the repository at this point in the history
  • Loading branch information
jaimergp committed Aug 30, 2024
1 parent f3c0c20 commit 1ff8875
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 14 deletions.
15 changes: 6 additions & 9 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,13 +81,13 @@ jobs:
fail-fast: false
matrix:
# test lower version (w/ defaults) and upper version (w/ defaults and conda-forge)
python-version: ['3.8', '3.11', '3.12'] # CONDA-LIBMAMBA-SOLVER CHANGE
python-version: ['3.9', '3.11', '3.12'] # CONDA-LIBMAMBA-SOLVER CHANGE
default-channel: [defaults, conda-forge]
test-type: [conda-libmamba-solver, unit, integration] # CONDA-LIBMAMBA-SOLVER CHANGE
test-group: [1, 2, 3]
exclude:
- default-channel: conda-forge
python-version: '3.8'
python-version: '3.9'
- default-channel: defaults # CONDA-LIBMAMBA-SOLVER CHANGE
python-version: '3.11' # CONDA-LIBMAMBA-SOLVER CHANGE
- default-channel: conda-forge # CONDA-LIBMAMBA-SOLVER CHANGE
Expand Down Expand Up @@ -228,13 +228,10 @@ jobs:
fail-fast: false
matrix:
# test all lower versions (w/ defaults) and upper version (w/ defaults and conda-forge)
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
python-version: ['3.9', '3.10', '3.11', '3.12']
default-channel: [defaults, conda-forge]
test-type: [conda-libmamba-solver, unit, integration] # CONDA-LIBMAMBA-SOLVER CHANGE
test-group: [1, 2, 3]
exclude:
- python-version: '3.8'
default-channel: conda-forge
- python-version: '3.9'
default-channel: conda-forge
- python-version: '3.10'
Expand Down Expand Up @@ -504,19 +501,19 @@ jobs:
matrix:
# test lower version (w/ osx-64 & defaults & unit tests) and upper version (w/ osx-arm64 & conda-forge & integration tests)
arch: [osx-64, osx-arm64]
python-version: ['3.8', '3.11']
python-version: ['3.9', '3.12']
default-channel: [defaults, conda-forge]
test-type: [conda-libmamba-solver, unit, integration] # CONDA-LIBMAMBA-SOLVER CHANGE
test-group: [1, 2, 3]
exclude:
- arch: osx-64
python-version: '3.11'
python-version: '3.12'
- arch: osx-64
default-channel: conda-forge
- arch: osx-64
test-type: integration
- arch: osx-arm64
python-version: '3.8'
python-version: '3.9'
- arch: osx-arm64
default-channel: defaults
- arch: osx-arm64
Expand Down
1 change: 1 addition & 0 deletions news/457-libmamba-v2
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
* `CONDA_LIBMAMBA_SOLVER_NO_CHANNELS_FROM_INSTALLED` has no effect anymore. Channels coming from installed packages are no longer added to the channel list. (#411 via #457)
* Removed `conda_libmamba_solver.state.BaseIndexHelper`. The base class is now `conda_libmamba_solver.index.IndexHelper`. (#457)
* Verbose logging in `libsolv` has a big overhead in `libmamba` v2, so we have disabled it by default (even if the user adds `-vvv` flags to the CLI). To opt-in, please set `CONDA_LIBMAMBA_SOLVER_DEBUG_LIBSOLV` to a truthy value. (#457)
* Python 3.8 is no longer supported. The minimum version is now 3.9. (#457)

### Docs

Expand Down
5 changes: 2 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,14 @@ classifiers = [
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"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 :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy"
]
requires-python = ">=3.8"
requires-python = ">=3.9"
dependencies = [
"conda >=23.7.3",
"libmambapy >=2",
Expand Down Expand Up @@ -67,7 +66,7 @@ markers = [

[tool.ruff]
exclude = ["conda_libmamba_solver/mamba_utils.py", "tests/data/"]
target-version = "py38"
target-version = "py39"
line-length = 99

[tool.ruff.lint]
Expand Down
4 changes: 2 additions & 2 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ build:

requirements:
host:
- python >=3.8
- python >=3.9
- pip
- hatchling
- hatch-vcs
run:
- python >=3.8
- python >=3.9
- conda >=23.7.3
- libmambapy >=2.0.0rc4
- boltons >=23.0.0
Expand Down

0 comments on commit 1ff8875

Please sign in to comment.