mirror of
https://github.com/astral-sh/uv.git
synced 2025-08-04 19:08:04 +00:00
Use uv sync
in workspace tests (#12181)
This commit is contained in:
parent
5880a98163
commit
2a9bade4df
18 changed files with 323 additions and 307 deletions
|
@ -2,7 +2,7 @@
|
|||
name = "bird-feeder"
|
||||
version = "1.0.0"
|
||||
requires-python = ">=3.12"
|
||||
dependencies = ["anyio>=4.3.0,<5"]
|
||||
dependencies = ["iniconfig>=2,<3"]
|
||||
|
||||
[build-system]
|
||||
requires = ["hatchling"]
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import anyio
|
||||
import iniconfig
|
||||
|
||||
|
||||
def use():
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
name = "albatross"
|
||||
version = "0.1.0"
|
||||
requires-python = ">=3.12"
|
||||
dependencies = ["tqdm>=4,<5"]
|
||||
dependencies = ["iniconfig>=2,<3"]
|
||||
|
||||
[build-system]
|
||||
requires = ["hatchling"]
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import tqdm
|
||||
import iniconfig
|
||||
|
||||
|
||||
def fly():
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
name = "albatross"
|
||||
version = "0.1.0"
|
||||
requires-python = ">=3.12"
|
||||
dependencies = ["tqdm>=4,<5"]
|
||||
dependencies = ["iniconfig>=2,<3"]
|
||||
|
||||
[build-system]
|
||||
requires = ["hatchling"]
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
name = "bird-feeder"
|
||||
version = "1.0.0"
|
||||
requires-python = ">=3.12"
|
||||
dependencies = ["anyio>=4.3.0,<5"]
|
||||
dependencies = ["iniconfig>=2,<3"]
|
||||
|
||||
[build-system]
|
||||
requires = ["hatchling"]
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import anyio
|
||||
import iniconfig
|
||||
|
||||
|
||||
def use():
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
name = "albatross"
|
||||
version = "0.1.0"
|
||||
requires-python = ">=3.12"
|
||||
dependencies = ["tqdm>=4,<5"]
|
||||
dependencies = ["iniconfig>=2,<3"]
|
||||
|
||||
[tool.uv.workspace]
|
||||
members = ["packages/*"]
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import tqdm
|
||||
import iniconfig
|
||||
from bird_feeder import use
|
||||
|
||||
print("Caw")
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
name = "bird-feeder"
|
||||
version = "1.0.0"
|
||||
requires-python = ">=3.8"
|
||||
dependencies = ["anyio>=4.3.0,<5", "seeds"]
|
||||
dependencies = ["iniconfig>=2,<3", "seeds"]
|
||||
|
||||
[tool.uv.sources]
|
||||
seeds = { workspace = true }
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import anyio
|
||||
import iniconfig
|
||||
|
||||
|
||||
def use():
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
name = "albatross"
|
||||
version = "0.1.0"
|
||||
requires-python = ">=3.12"
|
||||
dependencies = ["bird-feeder", "tqdm>=4,<5"]
|
||||
dependencies = ["bird-feeder", "iniconfig>=2,<3"]
|
||||
|
||||
[tool.uv.sources]
|
||||
bird-feeder = { workspace = true }
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import tqdm
|
||||
import iniconfig
|
||||
from bird_feeder import use
|
||||
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
name = "albatross"
|
||||
version = "0.1.0"
|
||||
requires-python = ">=3.12"
|
||||
dependencies = ["bird-feeder", "tqdm>=4,<5"]
|
||||
dependencies = ["bird-feeder", "iniconfig>=2,<3"]
|
||||
|
||||
[tool.uv.sources]
|
||||
bird-feeder = { workspace = true }
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import tqdm
|
||||
import iniconfig
|
||||
from bird_feeder import use
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue