Skip to content

Commit 63b6f56

Browse files
authored
Merge pull request #129 from pyswmm/dev
Staging release v0.15.3
2 parents 391c66d + e2e25c3 commit 63b6f56

File tree

4 files changed

+18
-16
lines changed

4 files changed

+18
-16
lines changed

.github/workflows/build_wheel.yml

+10-10
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
fail-fast: false
4848
matrix:
4949
os: [ubuntu-latest, windows-2022, macos-12]
50-
pyver: [cp38, cp39, cp310, cp311]
50+
pyver: [cp38, cp39, cp310, cp311, cp312]
5151

5252
steps:
5353
- name: Checkout repo
@@ -56,22 +56,22 @@ jobs:
5656
submodules: true
5757

5858
- name: Build wheels
59-
uses: pypa/cibuildwheel@v2.15.0
59+
uses: pypa/cibuildwheel@v2.16.2
6060
with:
6161
package-dir: ./swmm-toolkit
6262
env:
6363
CIBW_TEST_COMMAND: "pytest {package}/tests"
6464
CIBW_BEFORE_TEST: pip install -r {package}/test-requirements.txt
6565
# mac needs ninja to build
6666
CIBW_BEFORE_BUILD_MACOS: brew install ninja
67-
# configure cibuildwheel to build native archs ('auto'), and some emulated ones
67+
# configure cibuildwheel to build native archs ('auto'), and some emulated ones
6868
CIBW_ARCHS_LINUX: x86_64
6969
CIBW_ARCHS_WINDOWS: AMD64
7070
CIBW_ARCHS_MACOS: x86_64
7171
# only build current supported python: https://devguide.python.org/versions/
7272
# don't build pypy or musllinux to save build time. TODO: find a good way to support those archs
7373
CIBW_BUILD: ${{matrix.pyver}}-*
74-
CIBW_SKIP: cp36-* cp37-* cp312-* pp* *-musllinux*
74+
CIBW_SKIP: cp36-* cp37-* pp* *-musllinux*
7575
# Will avoid testing on emulated architectures
7676
# Skip trying to test arm64 builds on Intel Macs
7777
CIBW_TEST_SKIP: "*-*linux_{aarch64,ppc64le,s390x} *-macosx_arm64 *-macosx_universal2:arm64"
@@ -87,7 +87,7 @@ jobs:
8787
fail-fast: false
8888
matrix:
8989
os: [ubuntu-latest,macos-12]
90-
pyver: [cp38, cp39, cp310, cp311]
90+
pyver: [cp38, cp39, cp310, cp311, cp312]
9191

9292
steps:
9393
- name: Checkout repo
@@ -102,19 +102,19 @@ jobs:
102102
platforms: all
103103

104104
- name: Build wheels
105-
uses: pypa/cibuildwheel@v2.15.0
105+
uses: pypa/cibuildwheel@v2.16.2
106106
with:
107107
package-dir: ./swmm-toolkit
108108
env:
109-
# configure cibuildwheel to build native archs ('auto'), and some emulated ones
109+
# configure cibuildwheel to build native archs ('auto'), and some emulated ones
110110
CIBW_ARCHS_LINUX: aarch64
111-
CIBW_ARCHS_MACOS: arm64
111+
CIBW_ARCHS_MACOS: arm64
112112
# only build current supported python: https://devguide.python.org/versions/
113113
# don't build pypy or musllinux to save build time. TODO: find a good way to support those archs
114114
CIBW_BUILD: ${{matrix.pyver}}-*
115-
CIBW_SKIP: cp36-* cp37-* cp312-* pp* *-musllinux*
115+
CIBW_SKIP: cp36-* cp37-* pp* *-musllinux*
116116
CIBW_BUILD_VERBOSITY: 1
117117

118118
- uses: actions/upload-artifact@v3
119119
with:
120-
path: ./wheelhouse/*.whl
120+
path: ./wheelhouse/*.whl

swmm-toolkit/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ cmake_minimum_required (VERSION 3.17)
1515

1616
project(swmm-toolkit
1717
VERSION
18-
0.15.2
18+
0.15.3
1919
)
2020

2121

swmm-toolkit/setup.py

+5-4
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ def exclude_files(cmake_manifest):
112112

113113
setup(
114114
name = "swmm-toolkit",
115-
version = "0.15.2",
115+
version = "0.15.3",
116116

117117
packages = ["swmm_toolkit", "swmm.toolkit"],
118118
package_dir = package_dir,
@@ -124,10 +124,10 @@ def exclude_files(cmake_manifest):
124124
cmake_args = cmake_args,
125125
cmake_process_manifest_hook = exclude_files,
126126

127-
description='OWA SWMM Python Toolkit',
127+
description='PySWMM SWMM Python Toolkit',
128128
long_description=long_description,
129129
long_description_content_type='text/markdown',
130-
url='https://github.com/OpenWaterAnalytics/swmm-python',
130+
url='https://github.com/pyswmm/swmm-python',
131131

132132
author='See AUTHORS',
133133
maintainer_email='[email protected]',
@@ -145,7 +145,8 @@ def exclude_files(cmake_manifest):
145145
"Programming Language :: Python :: 3.9",
146146
"Programming Language :: Python :: 3.10",
147147
"Programming Language :: Python :: 3.11",
148+
"Programming Language :: Python :: 3.12",
148149
"Programming Language :: C",
149150
"Development Status :: 5 - Production/Stable",
150151
]
151-
)
152+
)

swmm-toolkit/test-requirements.txt

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,6 @@
33

44
pytest == 7.1.1
55
numpy == 1.21.6; python_version == "3.7"
6-
numpy == 1.24.4; python_version >= "3.8"
6+
numpy == 1.24.4; python_version < "3.12"
7+
numpy == 1.26.2; python_version >= "3.12"
78
aenum == 3.1.11

0 commit comments

Comments
 (0)