Skip to content

Nanobind python 3.13.2 dependences lock #7080

@Baptistegrn

Description

@Baptistegrn

Xmake Version

xmake v3.0.5+master.fee49894d

Operating System Version and Architecture

Windows 11

Describe Bug

I’m trying to install Nanobind with Python 3.11, 3.12, and 3.14. I force the path and include Python 3.11, but it always installs Python 3.13.2 when I set nanobind system = false and shared = false.

Expected Behavior

It needs to include the correct Nanobind version that corresponds to the Python version specified in the Python path.

Project Configuration

add_rules("mode.release", "mode.debug")

add_requires("libsdl", {system = false, configs = {shared = false}})
add_requires("libsdl_image", {system = false, configs = {shared = false}})
add_requires("libsdl_mixer", {system = false, configs = {shared = false}})
add_requires("zlib", {system = false, configs = {shared = false}})
add_requires("expat", {system = false, configs = {shared = false}})
add_requires("quill", {system = false, configs = {shared = false}})
add_requires("nanobind", {system = false, configs = {shared = false}})

target("LibGrnGame")
set_kind("shared")
set_extension(".pyd")

set_targetdir("build/resultat")

add_files("src/**.cpp")
add_files("src/**.c")

if is_plat("windows") then
    add_rules("utils.symbols.export_all")
end

add_packages("libsdl", "libsdl_image", "libsdl_mixer", "zlib", "expat", "nanobind", "quill")

Additional Information and Error Logs

i clear .xmake , build
xmake require --uninstall nanobind
xmake f -c
xmake

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions