Skip to content

Commit

Permalink
📌 Use correct version range for demos
Browse files Browse the repository at this point in the history
  • Loading branch information
kammce committed Mar 15, 2024
1 parent 21ffd8f commit 0f2b237
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,12 @@
class libhal___device___conan(ConanFile):
name = "libhal-__device__"
license = "Apache-2.0"
url = "https://github.com/conan-io/conan-center-index"
homepage = "https://github.com/libhal/libhal-__device__"
description = ("A collection of drivers for the __device__")
topics = ("__device__", "libhal", "driver")
settings = "compiler", "build_type", "os", "arch"

python_requires = "libhal-bootstrap/[^0.0.3]"
python_requires = "libhal-bootstrap/[^1.0.0]"
python_requires_extend = "libhal-bootstrap.library"

def requirements(self):
Expand Down
4 changes: 2 additions & 2 deletions demos/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@


class demos(ConanFile):
python_requires = "libhal-bootstrap/[^0.0.4]"
python_requires = "libhal-bootstrap/[^1.0.0]"
python_requires_extend = "libhal-bootstrap.demo"

def requirements(self):
bootstrap = self.python_requires["libhal-bootstrap"]
bootstrap.module.add_demo_requirements(self)
self.requires("libhal-__device__/[>=0.0.0]")
self.requires("libhal-__device__/[^0.0.0 || latest]")
2 changes: 1 addition & 1 deletion test_package/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

class TestPackageConan(ConanFile):
settings = "os", "arch", "compiler", "build_type"
python_requires = "libhal-bootstrap/[^0.0.1]"
python_requires = "libhal-bootstrap/[^1.0.0]"
python_requires_extend = "libhal-bootstrap.library_test_package"

def requirements(self):
Expand Down

0 comments on commit 0f2b237

Please sign in to comment.