44
55AMULET_COMPILER_TARGET_REQUIREMENT = "==2.0"
66
7- PYBIND11_REQUIREMENT = "==3.0.1 "
7+ PYBIND11_REQUIREMENT = "==3.0.4 "
88AMULET_PYBIND11_EXTENSIONS_REQUIREMENT = "~=1.2.0.0a2"
99AMULET_IO_REQUIREMENT = "~=2.0.0.0a0"
10- AMULET_UTILS_REQUIREMENT = "~=1.1.4 .0a"
11- AMULET_ZLIB_REQUIREMENT = "~=1.0.9 .0a0"
12- AMULET_NBT_REQUIREMENT = "~=5.0.4 .0a0"
10+ AMULET_UTILS_REQUIREMENT = "~=1.1.5 .0a"
11+ AMULET_ZLIB_REQUIREMENT = "~=1.0.11 .0a0"
12+ AMULET_NBT_REQUIREMENT = "~=5.0.5 .0a0"
1313NUMPY_REQUIREMENT = "~=2.0"
1414
1515if os .environ .get ("AMULET_PYBIND11_EXTENSIONS_REQUIREMENT" , None ):
@@ -47,9 +47,6 @@ def get_specifier_set(version_str: str) -> str:
4747 return f"~={ version .major } .{ version .minor } .{ version .micro } .0{ '' .join (map (str , version .pre or ()))} "
4848
4949
50- AMULET_COMPILER_VERSION_REQUIREMENT = get_compiler .main ()
51-
52-
5350try :
5451 import amulet .pybind11_extensions
5552except ImportError :
@@ -90,7 +87,7 @@ def get_specifier_set(version_str: str) -> str:
9087
9188def get_build_dependencies () -> list :
9289 return [
93- f"amulet-compiler-version{ AMULET_COMPILER_VERSION_REQUIREMENT } " ,
90+ f"amulet-compiler-version{ get_compiler . main () } " ,
9491 f"pybind11{ PYBIND11_REQUIREMENT } " ,
9592 f"amulet-pybind11-extensions{ AMULET_PYBIND11_EXTENSIONS_REQUIREMENT } " ,
9693 f"amulet-io{ AMULET_IO_REQUIREMENT } " ,
@@ -100,10 +97,10 @@ def get_build_dependencies() -> list:
10097 ] * (not os .environ .get ("AMULET_SKIP_COMPILE" , None ))
10198
10299
103- def get_runtime_dependencies () -> list [str ]:
100+ def get_runtime_dependencies (sdist : bool = False ) -> list [str ]:
104101 return [
105102 f"amulet-compiler-target{ AMULET_COMPILER_TARGET_REQUIREMENT } " ,
106- f"amulet-compiler-version{ AMULET_COMPILER_VERSION_REQUIREMENT } " ,
103+ f"amulet-compiler-version{ get_compiler . main ( sdist ) } " ,
107104 f"pybind11{ PYBIND11_REQUIREMENT } " ,
108105 f"amulet-pybind11-extensions{ AMULET_PYBIND11_EXTENSIONS_REQUIREMENT } " ,
109106 f"amulet-io{ AMULET_IO_REQUIREMENT } " ,
0 commit comments