Skip to content

Commit 586af96

Browse files
authored
Merge pull request #27 from astro-informatics/conan1
Pin build system to conan1
2 parents 36b736f + fc9cb82 commit 586af96

File tree

7 files changed

+10
-37
lines changed

7 files changed

+10
-37
lines changed

.github/workflows/cmake.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- name: Create Build Environment
3030
run: |
3131
pip install --upgrade pip wheel
32-
pip install conan
32+
pip install "conan<2"
3333
cmake -E make_directory ${{runner.workspace}}/build
3434
3535
- name: Configure CMake

.github/workflows/python.yml

Lines changed: 4 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -9,33 +9,6 @@ name: Python Build
99
pull_request:
1010

1111
jobs:
12-
development-mode:
13-
name: pip development mode on ${{ matrix.os }}
14-
runs-on: ${{ matrix.os }}
15-
strategy:
16-
fail-fast: false
17-
matrix:
18-
os: [macos-latest]
19-
python-version: [3.8]
20-
21-
steps:
22-
- uses: actions/checkout@v2
23-
- name: Set up Python ${{ matrix.python-version }}
24-
uses: actions/setup-python@v2
25-
with:
26-
python-version: ${{ matrix.python-version }}
27-
28-
- name: Install build packages and pytest
29-
run: |
30-
python -m pip install --upgrade pip wheel
31-
python -m pip install scikit-build
32-
33-
- name: Install python so3
34-
run: pip install -e .[dev]
35-
36-
- name: run pytest
37-
run: pytest tests/
38-
3912
from-sdist:
4013
name: python source distribution
4114
runs-on: ubuntu-latest
@@ -49,7 +22,7 @@ jobs:
4922
- name: Install build packages and pytest
5023
run: |
5124
python -m pip install --upgrade pip wheel setuptools
52-
python -m pip install conan scikit-build pytest cython numpy
25+
python -m pip install "conan<2" scikit-build pytest cython numpy
5326
5427
- name: Create sdist
5528
run: python setup.py sdist
@@ -86,7 +59,7 @@ jobs:
8659
- name: Setup environment
8760
run: |
8861
python -m pip install --upgrade pip wheel
89-
python -m pip install conan pytest
62+
python -m pip install "conan<2" pytest
9063
conan profile new default --detect
9164
9265
- name: Build wheels
@@ -119,14 +92,14 @@ jobs:
11992
mv source-distribution/*.tar.gz wheel-*/*.whl dist
12093
12194
- name: Publish distribution 📦 to Test PyPI
122-
if: ${{ github.ref != 'refs/tags/v1.3.5' }}
95+
if: ${{ github.ref != 'refs/tags/v1.3.6' }}
12396
uses: pypa/gh-action-pypi-publish@master
12497
with:
12598
password: ${{ secrets.TEST_PYPI_TOKEN }}
12699
repository_url: https://test.pypi.org/legacy/
127100

128101
- name: Publish distribution 📦 to PyPI
129-
if: ${{ github.ref == 'refs/tags/v1.3.5' }}
102+
if: ${{ github.ref == 'refs/tags/v1.3.6' }}
130103
uses: pypa/gh-action-pypi-publish@master
131104
with:
132105
password: ${{ secrets.PYPI_TOKEN }}

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
cmake_minimum_required(VERSION 3.12)
22
project(
33
so3
4-
VERSION "1.3.5"
4+
VERSION "1.3.6"
55
DESCRIPTION "Fast and exact Wigner transforms"
66
HOMEPAGE_URL "http://astro-informatics.github.io/so3/"
77
LANGUAGES C)

makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
CC = gcc
55

66
#OPT = -Wall -O3 -fopenmp -DSO3_VERSION=\"0.1\" -DSO3_BUILD=\"`git rev-parse HEAD`\"
7-
OPT = -Wall -g -fopenmp -DSO3_VERSION=\"1.3.5\" -DSO3_BUILD=\"`git rev-parse HEAD`\"
7+
OPT = -Wall -g -fopenmp -DSO3_VERSION=\"1.3.6\" -DSO3_BUILD=\"`git rev-parse HEAD`\"
88

99

1010
# ======== LINKS ========

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.3.5
2+
current_version = 1.3.6
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
@@ -8,7 +8,7 @@
88

99
setup(
1010
name="so3",
11-
version="1.3.5",
11+
version="1.3.6",
1212
author="Jason McEwen",
1313
install_requires=["numpy", "scipy"],
1414
extras_require={

0 commit comments

Comments
 (0)