Skip to content

Commit 75cc1d3

Browse files
Merge remote-tracking branch 'origin/main'
2 parents 32513b6 + 415c0dc commit 75cc1d3

2 files changed

Lines changed: 10 additions & 30 deletions

File tree

.github/workflows/ci-build.yml

Lines changed: 7 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
fail-fast: false
1515
matrix:
1616
os: [ubuntu-latest, macos-latest]
17-
python-version: [3.8]
17+
python-version: [3.10.12]
1818

1919
steps:
2020
- name: Checkout
@@ -29,29 +29,15 @@ jobs:
2929
env:
3030
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3131

32-
- name: Set up Conda with Python ${{ matrix.python-version }}
33-
uses: conda-incubator/setup-miniconda@v2
34-
with:
35-
auto-update-conda: true
36-
python-version: ${{ matrix.python-version }}
37-
auto-activate-base: false
38-
39-
- name: Check Conda
40-
shell: bash -l {0}
41-
run: |
42-
conda info
43-
conda list
44-
python --version
32+
- name: Install Poetry
33+
run: pip install poetry
4534

4635
- name: Install Dependencies
4736
shell: bash -l {0}
48-
run: |
49-
python --version
50-
python -m pip install --upgrade pip
51-
python -m pip install -r develop.txt
52-
python -m pip install -r docs/requirements.txt
53-
python -m pip install twine
54-
python -m pip install .
37+
run: poetry install
38+
39+
- name: Build Package
40+
run: poetry build
5541

5642
- name: Run Tests
5743
shell: bash -l {0}
@@ -66,12 +52,6 @@ jobs:
6652
name: unit-test-results-${{ matrix.os }}-${{ matrix.python-version }}
6753
path: pytest.xml
6854

69-
- name: Check Distribution
70-
shell: bash -l {0}
71-
run: |
72-
python setup.py sdist
73-
twine check dist/*
74-
7555
- name: Check API Documentation build
7656
shell: bash -l {0}
7757
run: |

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
[tool.poetry]
22
name = "cs_util"
3-
version = "0.1.3"
3+
version = "0.1.4"
44
description = "Utility library for CosmoStat"
55
authors = ["Martin Kilbinger <martin.kilbinger@cea.fr>"]
66
readme = "README.md"
77

88
[tool.poetry.dependencies]
9-
python = ">=3.9,<3.13"
10-
astropy = "^5.0"
9+
python = ">=3.11,<3.13"
10+
astropy = "^7.0"
1111
datetime = "^5.5"
1212
numpy = "^1.26.4"
1313
matplotlib = "^3.8.4"

0 commit comments

Comments
 (0)