Skip to content

Commit c63fb37

Browse files
github-actions[bot]create-or-update-pull-requestkuelumbus
authored
🤖 Bump RDKit version to Release_2024_03_3 (#101)
* Set RDKit version to Release_2024_03_3 * 🤖 Bump RDKit version to Release_2024_03_1 (#97) * Set RDKit version to Release_2024_03_1 * Set RDKit version to Release_2024_03_1 * 🤖 Bump RDKit version to Release_2023_09_6 (#93) * Set RDKit version to Release_2023_09_6 * Add the site-packages path to the PYTHONPATH. The rdkit stubs script tries to find the site-package path. * Install, then build stubs. * Build stubs and add to wheel files * Update * Update actions * Chreey-pick font fix and copy stubs to `rdkit-stubs` directory * Add copy log * Correct copytree logging * Bump cibuildwheel * Pin setuptools version * Auto search for files to include in the wheels * Fix artifact upload * Refactor paths * Enable ssh * Switch to arm GH action runners (macos-14). * Copy dlls to project directory for windows. * Cahne compile profile and add workaround for unary function * Reenable UNARY_BINARY_FUNCTION * try other flags * Windows: make sure dlls, pyds, and libs are copied. * Use boost 1.81 for macOS arm64 wheels * Remove the cross compilation code. * Enable cirrus builds * set boost version to 1.82 for mac arm64 * Tyr other windows paths for placing dlls. * Set boost version to 1.84 for mac arm64 * Try different dylib path * Decativate copying dylibs for macos * Use monterey runners * Set dylib directory to home/lib * Pass search path to build command * Fix setting DYLD_LIBRARY_PATH * Disable arm64 builds on GH Actions. This is too slow * Remove deprecated code * Disable cross compilation code * Add cirrus CI * Make lib dir before copying. * Add lib path to delocate * Change lib path to absolute * setup ssh only if failure * Enable win builds on cirrus ci * Remove cirrus ci windows builds * Print stubs errors to comand line * Correct path * correct path again * Add pillow as build requirement. It's required for building the stubs. * Enable ssh for windows * Don't include *.pyc files in the wheels * Fix ignore function * Run ssh on a workflow_dispatch "manual event" * Remove event * add lib dir to path env * Add more dll search paths * Search for pyd dll and lib * Add VCPKG lib path to PATH env variable * Add vcpkg binary cache * Speed up builds with ninja * Fix ninja build * Remove ninja build flags * Run tmate terminal only on debug flag --------- Co-authored-by: Create or Update Pull Request Action <create-or-update-pull-request@users.noreply.github.com> Co-authored-by: Christopher Kuenneth <christopher.kuenneth@gmail.com> * [skip ci] Install freetype for mac builds * Add freetype path explicitly [skip ci] * Overwrite build settings for mac [skip ci] * Fix settings * Remove freetype hints [skip ci] * Fix python 3.8 armv8 macos issue [skip ci] * Fix syntax [skip ci] * fix again [skip ci] * Cleaning * Bump conan to 1.64.0 * Remove rdkit cherry pick * Set RDKit version to Release_2024_03_1 * Remove cherry picking code * Enable ninja builds for linux to speed * Merge branch 'main' into bump-rdkit-Release_2024_03_1 --------- Co-authored-by: Create or Update Pull Request Action <create-or-update-pull-request@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Christopher Kuenneth <christopher.kuenneth@gmail.com> * Enable tmate on fail * trigger on push and pull * Revert GH trigger * Avoid linking VCRUNTIME140_1 for widnows builds * 🤖 Bump RDKit version to Release_2024_03_2 (#100) * Set RDKit version to Release_2024_03_2 * Merge branch 'main' into bump-rdkit-Release_2024_03_2 * Drop the cherry picking code again * Retire oldest-supported-numpy package * Update boost version to make compatible with numpy 2 * Fix windows builds * Enable tmate on fail * Trigger * update actions trigger * Revert changes * Avoid linking VCRUNTIME140_1 * downgrade boost to 1.78 for windows * Correct if statement * set bosot to 1.85 [skip ci] * tyr boost 1.78 [skip ci] * Disable tests [skip ci] * remove * Skip tests * Modify names of uploads [skip ci] * Choose different boost version [skip ci] * Add numpy 2 patch [skip ci] * Fix dll search path for windows stubs [skip ci] * Add Python 3.11 patch back [skip ci] * Fix patch file format * Bump cibuildwheel to 2.19.1 * Fix code to append to python path * Use UV build frontend * Enable macos builds on circle ci * Fix config * Fix xcode * Compile with numpy <2.0 * Restrict numpy to smaller 2.0 * Fix --------- Co-authored-by: Create or Update Pull Request Action <create-or-update-pull-request@users.noreply.github.com> Co-authored-by: Christopher Kuenneth <christopher.kuenneth@gmail.com> Co-authored-by: Chris Kuenneth <44866753+kuelumbus@users.noreply.github.com> * Disable osx builds on circle ci * Allow numpy 2.0 * Fix yum sources * Fix yum install * Fix yum commands * Set boost version for windows to 1.78 [skip ci] * Upgrade to new manylinux image 2_28 * Fix Windows compiler errors * Update Readme [skip ci] --------- Co-authored-by: Create or Update Pull Request Action <create-or-update-pull-request@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Christopher Kuenneth <christopher.kuenneth@gmail.com> Co-authored-by: Chris Kuenneth <44866753+kuelumbus@users.noreply.github.com>
1 parent da9ecf7 commit c63fb37

File tree

5 files changed

+34
-50
lines changed

5 files changed

+34
-50
lines changed

.circleci/config.yml

Lines changed: 24 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -16,35 +16,33 @@ jobs:
1616
environment:
1717
CIBW_BUILD: cp<< parameters.python-version >>-manylinux_aarch64
1818
CIBW_ARCHS: aarch64
19-
CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014
20-
CIBW_MANYLINUX_I686_IMAGE: manylinux2014
2119

2220
command: |
2321
python3 -m pip install cibuildwheel==2.17.0
2422
python3 -m cibuildwheel --output-dir wheelhouse
2523
- store_artifacts:
2624
path: wheelhouse/
2725

28-
osx-wheels:
29-
working_directory: ~/osx-wheels
30-
macos:
31-
xcode: 15.4.0
32-
resource_class: macos.m1.medium.gen1
33-
parameters:
34-
python-version:
35-
type: string
36-
steps:
37-
- checkout
38-
- run:
39-
name: Build the OS X wheels.
40-
environment:
41-
CIBW_BUILD: cp<< parameters.python-version >>-macosx_arm64
26+
# osx-wheels:
27+
# working_directory: ~/osx-wheels
28+
# macos:
29+
# xcode: 15.4.0
30+
# resource_class: macos.m1.medium.gen1
31+
# parameters:
32+
# python-version:
33+
# type: string
34+
# steps:
35+
# - checkout
36+
# - run:
37+
# name: Build the OS X wheels.
38+
# environment:
39+
# CIBW_BUILD: cp<< parameters.python-version >>-macosx_arm64
4240

43-
command: |
44-
pip3 install cibuildwheel==2.17.0
45-
cibuildwheel --output-dir wheelhouse
46-
- store_artifacts:
47-
path: wheelhouse/
41+
# command: |
42+
# pip3 install cibuildwheel==2.17.0
43+
# cibuildwheel --output-dir wheelhouse
44+
# - store_artifacts:
45+
# path: wheelhouse/
4846

4947

5048
workflows:
@@ -54,7 +52,8 @@ workflows:
5452
matrix:
5553
parameters:
5654
python-version: ["38", "39", "310", "311", "312"]
57-
- osx-wheels:
58-
matrix:
59-
parameters:
60-
python-version: ["38", "39", "310", "311", "312"]
55+
# - osx-wheels:
56+
# matrix:
57+
# parameters:
58+
# python-version: ["38", "39", "310", "311", "312"]
59+

.github/workflows/wheels.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -53,27 +53,22 @@ jobs:
5353
python: 38
5454
bitness: 64
5555
platform_id: manylinux_x86_64
56-
manylinux_image: manylinux2014
5756
- os: ubuntu-latest
5857
python: 39
5958
bitness: 64
6059
platform_id: manylinux_x86_64
61-
manylinux_image: manylinux2014
6260
- os: ubuntu-latest
6361
python: 310
6462
bitness: 64
6563
platform_id: manylinux_x86_64
66-
manylinux_image: manylinux2014
6764
- os: ubuntu-latest
6865
python: 311
6966
bitness: 64
7067
platform_id: manylinux_x86_64
71-
manylinux_image: manylinux2014
7268
- os: ubuntu-latest
7369
python: 312
7470
bitness: 64
7571
platform_id: manylinux_x86_64
76-
manylinux_image: manylinux2014
7772

7873
# Linux 64 bit ARM: aarch64 (on Circle CI)
7974

@@ -137,8 +132,6 @@ jobs:
137132
env:
138133
CIBW_BUILD: cp${{ matrix.python }}-${{ matrix.platform_id }}
139134
CIBW_ARCHS: all
140-
CIBW_MANYLINUX_X86_64_IMAGE: ${{ matrix.manylinux_image }}
141-
CIBW_MANYLINUX_I686_IMAGE: ${{ matrix.manylinux_image }}
142135

143136
run: |
144137
if [ "$RUNNER_OS" == "Windows" ]; then

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ Please open an issue if you find something missing or not working as expected.
2020

2121
| OS | Arch | Bit | Conditions | 3.8 | 3.9 | 3.10 | 3.11 | 3.12 | CI |
2222
| ------- | ------- | --- | --------------------------------------------------- | --- | --- | ---- | ---- | ---- | -------------- |
23-
| Linux | intel | 64 | glibc >= 2.17 (e.g., Ubuntu 16.04+, CentOS 6+, ...) | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | Github Actions |
24-
| Linux | aarch64 | 64 | glibc >= 2.17 (e.g., Raspberry Pi, ...) | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | Circle CI |
23+
| Linux | intel | 64 | glibc >= 2.28 (e.g., Ubuntu 18.04+, CentOS 6+, ...) | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | Github Actions |
24+
| Linux | aarch64 | 64 | glibc >= 2.28 (e.g., Raspberry Pi, ...) | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | Circle CI |
2525
| macOS | intel | 64 | >= macOS 10.13 | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | Github Actions |
2626
| macOS | armv8 | 64 | >= macOS 11, M1 hardware | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | Cirrus CI Actions |
2727
| Windows | intel | 64 | | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | Github Actions |

pyproject.toml

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ requires = [
33
"setuptools==69.2.0",
44
"wheel",
55
"cmake == 3.26.4",
6-
"numpy < 2.0",
6+
"numpy",
77
"conan == 1.64.0",
88
"ninja",
99
"pybind11-stubgen",
@@ -21,20 +21,14 @@ test-command = "pytest --exitfirst --verbose --failed-first {package}/tests"
2121
# test-skip = "*-win_amd64"
2222

2323

24+
manylinux-x86_64-image = "quay.io/pypa/manylinux_2_28_x86_64:latest"
25+
manylinux-aarch64-image = "quay.io/pypa/manylinux_2_28_aarch64:latest"
26+
27+
2428
[tool.cibuildwheel.linux]
2529
before-all = [
26-
# Has eigen3-devel.aarch64
27-
"yum install -y epel-release",
28-
# "yum install -y wget freetype-devel libpng12-devel pixman-devel zlib-devel eigen3-devel",
29-
"yum install -y wget freetype-devel libpng12-devel pixman-devel zlib-devel",
30-
# cairo-devel from the centos repo does not work, build here
31-
"wget https://www.cairographics.org/snapshots/cairo-1.15.14.tar.xz --no-check-certificate",
32-
"tar xvf cairo-*",
33-
"cd cairo-*",
34-
"./configure",
35-
"make -j 20",
36-
"make install",
37-
"cd ..",
30+
"yum update -y",
31+
"yum install freetype-devel libpng-devel pixman-devel zlib-devel eigen3-devel cairo-devel -y"
3832
]
3933

4034
repair-wheel-command = [

setup.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
from setuptools.command.build_ext import build_ext as build_ext_orig
1313

1414
# RDKit version to build (tag from github repository)
15-
rdkit_tag = "Release_2024_03_2"
15+
rdkit_tag = "Release_2024_03_3"
1616

1717
with open("README.md", "r", encoding="utf-8") as fh:
1818
long_description = fh.read()
@@ -188,8 +188,6 @@ def build_rdkit(self, ext):
188188
# DRDK_INSTALL_STATIC_LIBS should be fixed in newer RDKit builds. Remove?
189189
"-DRDK_INSTALL_STATIC_LIBS=OFF",
190190
"-DRDK_INSTALL_DLLS_MSVC=ON",
191-
# Avoid linking `VCRUNTIME140_1.dll`. https://github.com/pypa/cibuildwheel/issues/423
192-
"-DCMAKE_CXX_FLAGS=-d2FH4-",
193191
]
194192

195193
def to_win_path(pt: Path):

0 commit comments

Comments
 (0)