Skip to content

Commit

Permalink
SO3 compiles against oldest possible numpy (#23)
Browse files Browse the repository at this point in the history
* SO3 compiles against oldest possible numpy

See astro-informatics/ssht#47

* Bump to version 1.3.2
  • Loading branch information
mdavezac authored Mar 8, 2021
1 parent 1acac9a commit ebb22c6
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/conan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
- name: create stable or testing package
shell: bash
run: |
if [ "${{ github.ref }}" = "refs/tags/v1.3.1" ]; then
if [ "${{ github.ref }}" = "refs/tags/v1.3.2" ]; then
channel="stable"
else
channel="testing"
Expand All @@ -53,4 +53,4 @@ jobs:
CONAN_PASSWORD: ${{secrets.BINTRAY_TOKEN}}
CONAN_LOGIN_USERNAME: astroinformaticsci
CONAN_REMOTE_URL: https://api.bintray.com/conan/astro-informatics/astro-informatics
run: conan upload so3/1.3.1 -c --all -r=astro-informatics
run: conan upload so3/1.3.2 -c --all -r=astro-informatics
4 changes: 2 additions & 2 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,14 +119,14 @@ jobs:
mv source-distribution/*.tar.gz wheel-*/*.whl dist
- name: Publish distribution 📦 to Test PyPI
if: ${{ github.ref != 'refs/tags/v1.3.1' }}
if: ${{ github.ref != 'refs/tags/v1.3.2' }}
uses: pypa/gh-action-pypi-publish@master
with:
password: ${{ secrets.TEST_PYPI_TOKEN }}
repository_url: https://test.pypi.org/legacy/

- name: Publish distribution 📦 to PyPI
if: ${{ github.ref == 'refs/tags/v1.3.1' }}
if: ${{ github.ref == 'refs/tags/v1.3.2' }}
uses: pypa/gh-action-pypi-publish@master
with:
password: ${{ secrets.PYPI_TOKEN }}
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 3.12)
project(
so3
VERSION "1.3.1"
VERSION "1.3.2"
DESCRIPTION "Fast and exact Wigner transforms"
HOMEPAGE_URL "http://astro-informatics.github.io/so3/"
LANGUAGES C)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
[docs-img]: https://img.shields.io/badge/docs-stable-blue.svg
[docs-url]: http://astro-informatics.github.io/so3/
[bintray-img]: https://img.shields.io/bintray/v/astro-informatics/astro-informatics/so3:astro-informatics?label=C%20package
[bintray-url]: https://bintray.com/astro-informatics/astro-informatics/so3:astro-informatics/1.3.1:stable/link
[bintray-url]: https://bintray.com/astro-informatics/astro-informatics/so3:astro-informatics/1.3.2:stable/link
[pypi-img]: https://badge.fury.io/py/so3.svg
[pypi-url]: https://badge.fury.io/py/so3
[codefactor-img]: https://www.codefactor.io/repository/github/astro-informatics/so3/badge/main
Expand Down
2 changes: 1 addition & 1 deletion conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

class So3Conan(ConanFile):
name = "so3"
version = "1.3.1"
version = "1.3.2"
license = "GPL-3"
url = "https://github.com/astro-informatics/so3"
homepage = "https://github.com/astro-informatics/so3"
Expand Down
2 changes: 1 addition & 1 deletion makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
CC = gcc

#OPT = -Wall -O3 -fopenmp -DSO3_VERSION=\"0.1\" -DSO3_BUILD=\"`git rev-parse HEAD`\"
OPT = -Wall -g -fopenmp -DSO3_VERSION=\"1.3.1\" -DSO3_BUILD=\"`git rev-parse HEAD`\"
OPT = -Wall -g -fopenmp -DSO3_VERSION=\"1.3.2\" -DSO3_BUILD=\"`git rev-parse HEAD`\"


# ======== LINKS ========
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[build-system]
requires = [
"setuptools", "wheel", "scikit-build", "cmake", "ninja", "cython",
"numpy", "conan"
"oldest-supported-numpy", "conan"
]

[tool.isort]
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 1.3.1
current_version = 1.3.2
commit = False
tag = False
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(rc(?P<rc>\d+))?
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

setup(
name="so3",
version="1.3.1",
version="1.3.2",
author="Jason McEwen",
install_requires=["numpy", "cython", "scipy"],
extras_require={
Expand Down

0 comments on commit ebb22c6

Please sign in to comment.