Skip to content

Commit 3b6a409

Browse files
authored
Merge pull request #910 from vsbogd/fix-release
Fix release build
2 parents 189c840 + 8b0c12b commit 3b6a409

File tree

10 files changed

+14
-15
lines changed

10 files changed

+14
-15
lines changed

.github/workflows/ci-auto.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
ci-auto-unix:
1313
uses: ./.github/workflows/common.yml
1414
with:
15-
python-version: "3.7"
15+
python-version: "3.8"
1616
os: "ubuntu-22.04"
1717
cmake-version: "3.24.x"
18-
build-type: "Debug"
18+
build-type: "Debug"

.github/workflows/ci-manual.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ on:
1616
python-version:
1717
description: 'JSON array of Python versions to be checked'
1818
required: true
19-
default: "[\"3.7\", \"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\", \"3.13\"]"
19+
default: "[\"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\", \"3.13\"]"
2020
type: string
2121
cmake-version:
2222
description: 'JSON array of CMake versions to be checked'

.github/workflows/common.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111
inputs:
1212
python-version:
1313
description: "A version of a python interpreter to use"
14-
default: "3.7"
14+
default: "3.8"
1515
required: false
1616
type: string
1717
os:

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ members = [
77
resolver = "2"
88

99
[workspace.package]
10-
version = "0.2.3"
10+
version = "0.2.4"
1111
edition = "2021"
1212

1313
[workspace.dependencies]

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ page](https://www.rust-lang.org/tools/install). Make sure your
8383
Rust (see the Notes at the installation page).
8484

8585
Requirements for building C and Python API
86-
* Python3 and Python3-dev (3.7 or later)
86+
* Python3 and Python3-dev (3.8 or later)
8787
* Pip (23.1.2 or later)
8888
* GCC (7.5 or later)
8989
* CMake (3.24 or later)

docs/DEVELOPMENT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ whether release works. This can be done using
3232
[CIBW_BUILD](https://cibuildwheel.pypa.io/en/stable/options/#build-skip)
3333
variable:
3434
```
35-
export CIBW_BUILD=cp37-manylinux_x86_64
35+
export CIBW_BUILD=cp310-manylinux_x86_64
3636
```
3737

3838
After exporting the variables above one can start release by executing

python/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ if (NOT DEFINED Python3_FIND_VIRTUALENV)
2323
set(Python3_FIND_VIRTUALENV "ONLY")
2424
endif()
2525
# Development.Embed is not supported by cibuildwheel environment
26-
find_package(Python3 3.7 REQUIRED COMPONENTS Interpreter Development.Module)
26+
find_package(Python3 3.8 REQUIRED COMPONENTS Interpreter Development.Module)
2727
message(STATUS "Python native modules installation path (Python3_SITEARCH): ${Python3_SITEARCH}")
2828
message(STATUS "Python modules installation path (Python3_SITELIB): ${Python3_SITELIB}")
2929

python/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
'0.2.3'
1+
'0.2.4'

python/pyproject.toml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
11
[build-system]
22
# setuptools >68.0.0 is incompatible with macos-13
3-
# setuptools_scm >7.1.0 is incompatible with Python 3.7
4-
# urllib3 >=2.0.0 is incompatible with OpenSSL <1.1.1+ which is used by cp37-manylinux_x86_64 wheel
5-
requires = ["setuptools==68.0.0", "conan==2.13.0", "urllib3==1.26.20", "cmake==3.24", "setuptools_scm[toml]==7.1.0"]
3+
# urllib3 >=2.1.0 is incompatible with Conan 2.13
4+
requires = ["setuptools==68.0.0", "conan==2.13.0", "urllib3==2.0.7", "cmake==3.24", "setuptools_scm[toml]==8.2.0"]
65
build-backend = "setuptools.build_meta"
76

87
[project]
98
name = "hyperon"
109
description = "Hyperon API in Python"
1110
readme = "README.md"
12-
requires-python = ">=3.7"
11+
requires-python = ">=3.8"
1312
keywords = ["metta", "hyperon", "opencog"]
1413
license = {text = "MIT License"}
1514
classifiers = [

python/setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def _build_with_cmake(self, ext: CMakeExtension) -> None:
7171
)
7272
subprocess.run(
7373
["cmake", ext.sourcedir,
74-
"-DCMAKE_TOOLCHAIN_FILE=conan_toolchain.cmake", *cmake_args],
74+
f"-DCMAKE_TOOLCHAIN_FILE=./build/{cfg}/generators/conan_toolchain.cmake", *cmake_args],
7575
cwd=build_temp, check=True
7676
)
7777
subprocess.run(
@@ -96,5 +96,5 @@ def version_scheme(*args):
9696
url="https://github.com/trueagi-io/hyperon-experimental",
9797
use_scm_version={'root': '..',
9898
'version_scheme': version_scheme,
99-
'write_to': 'python/hyperon/_version.py'},
99+
'version_file': './hyperon/_version.py'},
100100
)

0 commit comments

Comments
 (0)