Skip to content

Commit b2273bc

Browse files
authored
fix: fix CI python issue (#221)
1 parent 26e7515 commit b2273bc

File tree

3 files changed

+3
-8
lines changed

3 files changed

+3
-8
lines changed

.github/workflows/python_binding.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
fail-fast: false
2323
matrix:
2424
platform: [windows-latest, macos-latest, ubuntu-latest]
25-
python-version: ["3.6", "3.8", "3.10"]
25+
python-version: ["3.8", "3.10"]
2626

2727
runs-on: ${{ matrix.platform }}
2828

cmake/modules/Findjson.cmake

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,6 @@ include(FetchContent)
1616

1717
set(JSON_Install ON)
1818

19-
FetchContent_Declare(json
20-
GIT_REPOSITORY https://github.com/ArthurSonzogni/nlohmann_json_cmake_fetchcontent
21-
GIT_PROGRESS TRUE
22-
GIT_SHALLOW TRUE
23-
GIT_TAG v3.10.5)
19+
FetchContent_Declare(json URL https://github.com/nlohmann/json/releases/download/v3.11.2/json.tar.xz)
2420

2521
FetchContent_MakeAvailable(json)

setup.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,10 +141,9 @@ def build_extension(self, ext):
141141
ext_modules=[CMakeExtension("")],
142142
cmdclass={"build_ext": CMakeBuild},
143143
zip_safe=False,
144-
python_requires=">=3.6",
144+
python_requires=">=3.7",
145145
license="Apache 2.0",
146146
classifiers=[
147-
"Programming Language :: Python :: 3.6",
148147
"Programming Language :: Python :: 3.7",
149148
"Programming Language :: Python :: 3.8",
150149
"License :: OSI Approved :: Apache Software License",

0 commit comments

Comments
 (0)