Skip to content

Commit e5fc2c8

Browse files
authored
📌 Use range for python_requires (#18)
1 parent 7074c69 commit e5fc2c8

8 files changed

Lines changed: 11 additions & 11 deletions

File tree

.github/workflows/ci.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.

.github/workflows/take.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,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.
@@ -26,7 +26,7 @@ class libhal_expander_conan(ConanFile):
2626
topics = ("expander", "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/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: 2 additions & 2 deletions
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.
@@ -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/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,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.
@@ -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)