From 8f5cbb6772ee09bd2905d24ceb387f2e8baf7774 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Bouysset?= Date: Fri, 21 Jun 2024 23:35:41 +0100 Subject: [PATCH] bump versions and switch to uv --- .github/workflows/ci.yml | 18 +++++++----------- pyproject.toml | 3 +-- 2 files changed, 8 insertions(+), 13 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c626d57..dec68e5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -39,13 +39,13 @@ jobs: include: - label: earliest os: ubuntu-latest - python-version: 3.8 - rdkit-version: "rdkit=2021.03.1" + python-version: 3.9 + rdkit-version: "rdkit==2022.09.1" coverage: false - label: baseline os: ubuntu-latest python-version: "3.10" - rdkit-version: "rdkit~=2022.09" + rdkit-version: "rdkit~=2023.03.1" coverage: true - label: latest os: ubuntu-latest @@ -58,14 +58,10 @@ jobs: uses: actions/checkout@v4 - name: Setup Conda - uses: conda-incubator/setup-miniconda@v2 + uses: conda-incubator/setup-miniconda@v3 with: python-version: ${{ matrix.python-version }} auto-update-conda: true - channel-priority: flexible - channels: conda-forge, defaults - add-pip-as-python-dependency: true - architecture: x64 use-mamba: true miniforge-variant: Mambaforge @@ -79,13 +75,13 @@ jobs: - name: Install conda dependencies run: | - mamba install ${{ matrix.rdkit-version }} + mamba install uv ${{ matrix.rdkit-version }} mamba list - name: Install package through pip run: | - pip install .[dev] - pip list + uv pip install .[dev] + uv pip list - name: Run tests run: | diff --git a/pyproject.toml b/pyproject.toml index 955bf5a..59188f3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,7 +5,7 @@ authors = [ { name = "Cédric Bouysset", email = "cedric@bouysset.net" }, ] readme = "README.rst" -requires-python = ">=3.8" +requires-python = ">=3.9" dynamic = ["version"] classifiers = [ "Development Status :: 5 - Production/Stable", @@ -13,7 +13,6 @@ classifiers = [ "Intended Audience :: Science/Research", "License :: OSI Approved :: Apache Software License", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11",