Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merging master into develop #169

Merged
merged 30 commits into from
Mar 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
36959da
Merge pull request #160 from CliMT/develop
JoyMonteiro Feb 1, 2023
4ee34b5
Bump version: 0.16.25 → 0.17.0
JoyMonteiro Feb 1, 2023
ef67049
Update HISTORY.rst
JoyMonteiro Feb 1, 2023
4962fca
Update release_climt.yml
JoyMonteiro Feb 1, 2023
6014a8d
Bump version: 0.17.0 → 0.17.1
JoyMonteiro Feb 1, 2023
7745976
Update release_climt.yml
JoyMonteiro Feb 1, 2023
c78f336
Bump version: 0.17.1 → 0.17.2
JoyMonteiro Feb 1, 2023
1ddf82c
reuse twine
JoyMonteiro Feb 1, 2023
6172626
Bump version: 0.17.2 → 0.17.3
JoyMonteiro Feb 1, 2023
f08283c
fixed cibuildwheel output dir issue
JoyMonteiro Feb 1, 2023
364f50f
Bump version: 0.17.3 → 0.17.4
JoyMonteiro Feb 1, 2023
9ec68ee
changing release twine username
JoyMonteiro Feb 1, 2023
533e10b
Bump version: 0.17.4 → 0.17.5
JoyMonteiro Feb 1, 2023
b58d32a
add testing for windows python 3.7
JoyMonteiro Feb 2, 2023
89c3102
Bump version: 0.17.5 → 0.17.6
JoyMonteiro Feb 3, 2023
3d2aa97
build all relevant wheels
JoyMonteiro Feb 3, 2023
c70b0d1
Bump version: 0.17.6 → 0.17.7
JoyMonteiro Feb 3, 2023
a4901ce
adding new version
JoyMonteiro Feb 3, 2023
cb7577a
don't build apple silicon
JoyMonteiro Feb 3, 2023
c552518
Bump version: 0.17.8 → 0.17.9
JoyMonteiro Feb 3, 2023
a5ef2c0
upgrade cibuildwheel
JoyMonteiro Feb 3, 2023
688541f
Bump version: 0.17.9 → 0.17.10
JoyMonteiro Feb 3, 2023
eb9157f
Update requirements_dev.txt
JoyMonteiro May 19, 2023
bc574cd
Update setup.py
JoyMonteiro May 19, 2023
6f2e7e3
Bump version: 0.17.10 → 0.17.11
JoyMonteiro May 19, 2023
c140cba
Update release_climt.yml
JoyMonteiro May 20, 2023
9a4d4fd
Update python-package.yml
JoyMonteiro May 20, 2023
8698d03
updating macos runners
JoyMonteiro May 20, 2023
35bc593
Merge branch 'master' of github.com:CliMT/climt
JoyMonteiro May 20, 2023
556487e
Bump version: 0.17.11 → 0.17.12
JoyMonteiro May 20, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-18.04, macos-10.15]
os: [ubuntu-20.04, macos-11]
python-version: [py37, py38, py39, py310]
steps:
- uses: actions/checkout@v2
Expand Down
21 changes: 14 additions & 7 deletions .github/workflows/release_climt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-18.04,macOS-10.15]
os: [ubuntu-20.04,macOS-11]
#, windows-2019, macOS-10.15]

steps:
Expand All @@ -20,7 +20,7 @@ jobs:
- uses: actions/setup-python@v2

- name: Install cibuildwheel
run: python -m pip install cibuildwheel==1.10.0
run: python -m pip install cibuildwheel==2.12.0

# - name: Build wheels
# run: python -m cibuildwheel --output-dir wheelhouse
Expand All @@ -31,26 +31,33 @@ jobs:

- name: Build on Linux
env:
CIBW_BUILD: cp36-manylinux_x86_64 cp37-manylinux_x86_64 cp38-manylinux_x86_64
CIBW_BUILD: cp310-manylinux_x86_64 cp38-manylinux_x86_64 cp39-manylinux_x86_64
CIBW_ENVIRONMENT: "CC=gcc FC=gfortran CLIMT_ARCH=Linux"
if: ${{ runner.os == 'Linux' }}
run: python -m cibuildwheel --output-dir wheelhouse


- name: Build on macOS
env:
CIBW_BUILD: cp36-macosx_x86_64 cp37-macosx_x86_64 cp38-macosx_x86_64
CIBW_ENVIRONMENT: "CC=gcc-8 FC=gfortran-8 CLIMT_ARCH=Darwin"
CIBW_BEFORE_ALL_MACOS: brew remove gcc; brew install gcc@8
CIBW_BUILD: cp310-macosx_x86_64 cp38-macosx_x86_64 cp39-macosx_x86_64
CIBW_ARCHS_MACOS: "x86_64"
CIBW_ENVIRONMENT: "CLIMT_ARCH=Darwin"
# CIBW_ENVIRONMENT: "CC=gcc-8 FC=gfortran-8 CLIMT_ARCH=Darwin"
# CIBW_BEFORE_ALL_MACOS: brew remove gcc; brew install gcc@8
if: ${{ runner.os == 'macOS' }}
run: python -m cibuildwheel --output-dir wheelhouse

#- uses: actions/upload-artifact@v3
#with:
# name: my-artifact
# path: dist/
# if-no-files-found: error

- name: Install twine
run: python -m pip install twine

- name: upload wheels
env:
TWINE_USERNAME: __token__
TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }}
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
run: twine upload wheelhouse/* --verbose
8 changes: 4 additions & 4 deletions .github/workflows/windows-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
shell: bash -l {0}
strategy:
matrix:
python-version: ["3.6"]
python-version: ["3.7"]
steps:
- uses: actions/checkout@v2
- uses: conda-incubator/setup-miniconda@v2
Expand All @@ -29,7 +29,7 @@ jobs:
export CLIMT_OPT_FLAGS=-fno-asynchronous-unwind-tables
conda activate test
which python
# conda install -c msys2 m2w64-gcc m2w64-gcc-fortran m2w64-winpthreads-git m2w64-openblas
conda install -c msys2 m2w64-gcc m2w64-gcc-fortran m2w64-winpthreads-git m2w64-openblas
conda install libpython
which gcc
which gfortran
Expand All @@ -38,8 +38,8 @@ jobs:
ls $HOME; cat $HOME/pydistutils.cfg
python -m pip install -r requirements_dev.txt
touch libmsvcr140.dll
# cp /c/Miniconda/envs/test/Library/bin/vcruntime140.dll /c/Miniconda/envs/test/Library/bin/msvcr140.dll
# ls -l
cp /c/Miniconda/envs/test/Library/bin/vcruntime140.dll /c/Miniconda/envs/test/Library/bin/msvcr140.dll
ls -l
python setup.py develop
py.test -v

Expand Down
4 changes: 2 additions & 2 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
History
=======

Latest
-------
v.0.17.0
--------

* Removed dycore to move it to independent package

Expand Down
2 changes: 1 addition & 1 deletion climt/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@
EmanuelConvection, SlabSurface, DcmipInitialConditions,
IceSheet, Instellation, DryConvectiveAdjustment, BucketHydrology)

__version__ = '0.16.25'
__version__ = '0.17.12'
2 changes: 1 addition & 1 deletion requirements_dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ numpy>=1.16.0
cython>=0.25
ipython>=5.3.0
coveralls
sympl==0.4.0
sympl==0.4.1
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 = 0.16.25
current_version = 0.17.12
commit = True
tag = False

Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
'numpy>=1.16.0',
'pint>=0.7.0',
'xarray>=0.8.0',
'sympl==0.4.0',
'sympl==0.4.1',
'cython>=0.25',
'scipy>=0.18.1',
]
Expand Down Expand Up @@ -236,7 +236,7 @@ def run(self):

setup(
name='climt',
version='0.16.25',
version='0.17.12',
description='CliMT is a Toolkit for building Earth system models in Python.',
long_description=readme + '\n\n' + history,
author="Rodrigo Caballero",
Expand Down
Loading