Skip to content

Commit f3c428b

Browse files
authored
📌 Use range for python_requires (#20)
1 parent 09e3dc5 commit f3c428b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

conanfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class libhal_input_conan(ConanFile):
2626
topics = ("input", "libhal", "driver")
2727
settings = "compiler", "build_type", "os", "arch"
2828

29-
python_requires = "libhal-bootstrap/[^4.2.1]"
29+
python_requires = "libhal-bootstrap/[>=4.3.0 <5]"
3030
python_requires_extend = "libhal-bootstrap.library"
3131

3232
def requirements(self):

demos/conanfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616

1717
class demos(ConanFile):
18-
python_requires = "libhal-bootstrap/[^4.2.1]"
18+
python_requires = "libhal-bootstrap/[>=4.3.0 <5]"
1919
python_requires_extend = "libhal-bootstrap.demo"
2020

2121
def requirements(self):

test_package/conanfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
class TestPackageConan(ConanFile):
1919
settings = "os", "arch", "compiler", "build_type"
20-
python_requires = "libhal-bootstrap/[^4.2.1]"
20+
python_requires = "libhal-bootstrap/[>=4.3.0 <5]"
2121
python_requires_extend = "libhal-bootstrap.library_test_package"
2222

2323
def requirements(self):

0 commit comments

Comments
 (0)