Skip to content

Commit 2f7de77

Browse files
authored
📌 Use range for python_requires (#131)
1 parent 2455b43 commit 2f7de77

File tree

7 files changed

+11
-11
lines changed

7 files changed

+11
-11
lines changed

.github/workflows/api.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2024 Khalil Estell
1+
# Copyright 2024 - 2025 Khalil Estell and the libhal contributors
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2024 Khalil Estell
1+
# Copyright 2024 - 2025 Khalil Estell and the libhal contributors
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.

conanfile.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/python
22
#
3-
# Copyright 2024 Khalil Estell
3+
# Copyright 2024 - 2025 Khalil Estell and the libhal contributors
44
#
55
# Licensed under the Apache License, Version 2.0 (the "License");
66
# you may not use this file except in compliance with the License.
@@ -34,7 +34,7 @@ class libhal_arm_mcu_conan(ConanFile):
3434
"stm32f1", "stm32f103")
3535
settings = "compiler", "build_type", "os", "arch"
3636

37-
python_requires = "libhal-bootstrap/[^4.2.1]"
37+
python_requires = "libhal-bootstrap/[>=4.3.0 <5]"
3838
python_requires_extend = "libhal-bootstrap.library"
3939

4040
options = {

demos/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2024 Khalil Estell
1+
# Copyright 2024 - 2025 Khalil Estell and the libhal contributors
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.

demos/conanfile.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/python
22
#
3-
# Copyright 2024 Khalil Estell
3+
# Copyright 2024 - 2025 Khalil Estell and the libhal contributors
44
#
55
# Licensed under the Apache License, Version 2.0 (the "License");
66
# you may not use this file except in compliance with the License.
@@ -18,10 +18,10 @@
1818

1919

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

2424
def requirements(self):
2525
self.requires("libhal-util/[^5.4.0]")
26-
self.requires("libhal-arm-mcu/[1.9.1 || latest]")
26+
self.requires("libhal-arm-mcu/[1.10.0 || latest]")
2727
self.requires("minimp3/cci.20211201")

test_package/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2024 Khalil Estell
1+
# Copyright 2024 - 2025 Khalil Estell and the libhal contributors
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.

test_package/conanfile.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/python
22
#
3-
# Copyright 2024 Khalil Estell
3+
# Copyright 2024 - 2025 Khalil Estell and the libhal contributors
44
#
55
# Licensed under the Apache License, Version 2.0 (the "License");
66
# you may not use this file except in compliance with the License.
@@ -19,7 +19,7 @@
1919

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

2525
def requirements(self):

0 commit comments

Comments
 (0)