Skip to content

Commit 9affbf6

Browse files
authored
📦 Set python_requires mode to major_mode (#16)
By setting the mode for `python_requires` to `major_mode` only the major_mode will represent a breaking change between new versions of `libhal-bootstrap`.
1 parent 3a6346e commit 9affbf6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

conanfile.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,6 @@ def requirements(self):
3838
def package_info(self):
3939
self.cpp_info.libs = ["libhal-iot"]
4040
self.cpp_info.set_property("cmake_target_name", "libhal::iot")
41+
42+
def package_id(self):
43+
self.info.python_requires.major_mode()

0 commit comments

Comments
 (0)