Skip to content

Commit c83fb2a

Browse files
authored
Merge pull request #73 from astro-informatics/conan1
Pin build system to conan1
2 parents c1a8aac + 7b67ef8 commit c83fb2a

File tree

7 files changed

+10
-10
lines changed

7 files changed

+10
-10
lines changed

.github/workflows/cmake.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
shell: bash
3131
run: |
3232
python -m pip install wheel
33-
python -m pip install --upgrade pip conan
33+
python -m pip install --upgrade pip "conan<2"
3434
cmake -E make_directory ${{runner.workspace}}/build
3535
3636
- name: Configure CMake

.github/workflows/python.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Install build packages and pytest
2323
run: |
2424
python -m pip install --upgrade pip wheel setuptools
25-
python -m pip install conan scikit-build pytest cython numpy
25+
python -m pip install "conan<2" scikit-build pytest cython numpy
2626
2727
- name: Create sdist
2828
run: python setup.py sdist
@@ -58,7 +58,7 @@ jobs:
5858
- name: Setup environment
5959
run: |
6060
python -m pip install --upgrade pip wheel
61-
python -m pip install conan pytest ducc0
61+
python -m pip install "conan<2" pytest ducc0
6262
conan profile new default --detect
6363
6464
- name: Build wheels
@@ -91,14 +91,14 @@ jobs:
9191
mv source-distribution/*.tar.gz wheel-*/*.whl dist
9292
9393
- name: Publish distribution 📦 to Test PyPI
94-
if: ${{ github.ref != 'refs/tags/v1.5.1' }}
94+
if: ${{ github.ref != 'refs/tags/v1.5.2' }}
9595
uses: pypa/gh-action-pypi-publish@master
9696
with:
9797
password: ${{ secrets.TEST_PYPI_TOKEN }}
9898
repository_url: https://test.pypi.org/legacy/
9999

100100
- name: Publish distribution 📦 to PyPI
101-
if: ${{ github.ref == 'refs/tags/v1.5.1' }}
101+
if: ${{ github.ref == 'refs/tags/v1.5.2' }}
102102
uses: pypa/gh-action-pypi-publish@master
103103
with:
104104
password: ${{ secrets.PYPI_TOKEN }}

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.12)
22

33
project(
44
Ssht
5-
VERSION "1.5.1"
5+
VERSION "1.5.2"
66
DESCRIPTION "Fast and exact spin spherical harmonic transforms"
77
HOMEPAGE_URL "http://astro-informatics.github.io/ssht/"
88
LANGUAGES C)

makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# ======== COMPILER ========
22

33
CC = gcc
4-
OPT = -std=c99 -pedantic -Wall -O3 -fopenmp -DSSHT_VERSION=\"1.5.1\" -DSSHT_BUILD=\"`git rev-parse HEAD`\"
4+
OPT = -std=c99 -pedantic -Wall -O3 -fopenmp -DSSHT_VERSION=\"1.5.2\" -DSSHT_BUILD=\"`git rev-parse HEAD`\"
55
#OPT = -Wall -g -fopenmp -DSSHT_VERSION=\"1.0b1\" -DSSHT_BUILD=\"`git rev-parse HEAD`\"
66

77

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[build-system]
22
requires = [
33
"setuptools", "wheel", "scikit-build", "cmake>=3.12", "ninja", "cython",
4-
"oldest-supported-numpy", "conan"
4+
"oldest-supported-numpy", "conan<2"
55
]
66

77
[tool.isort]

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[bumpversion]
2-
current_version = 1.5.1
2+
current_version = 1.5.2
33
commit = False
44
tag = False
55
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(rc(?P<rc>\d+))?

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727

2828
setup(
2929
name="pyssht",
30-
version="1.5.1",
30+
version="1.5.2",
3131
author=[
3232
"J. D. McEwen",
3333
"C. R. G. Wallis",

0 commit comments

Comments
 (0)