fast-dev-cli 0.24.0__tar.gz → 0.24.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: fast-dev-cli
3
- Version: 0.24.0
3
+ Version: 0.24.1
4
4
  Summary: Python project development tool.
5
5
  Author-Email: Waket Zheng <waketzheng@gmail.com>>
6
6
  Classifier: Development Status :: 4 - Beta
@@ -0,0 +1 @@
1
+ __version__ = "0.24.1"
@@ -1714,6 +1714,7 @@ class MakeDeps(DryRun):
1714
1714
  inexact: bool = False,
1715
1715
  no_dev: bool = False,
1716
1716
  verbose: bool = False,
1717
+ frozen: bool = False,
1717
1718
  no_extra: list[str] | None = None,
1718
1719
  no_group: list[str] | None = None,
1719
1720
  ) -> None:
@@ -1722,6 +1723,7 @@ class MakeDeps(DryRun):
1722
1723
  self._active = active or load_bool("FASTDEVCLI_DEPS_ACTIVE")
1723
1724
  self._inexact = inexact or load_bool("FASTDEVCLI_DEPS_INEXACT")
1724
1725
  self._verbose = verbose
1726
+ self._frozen = frozen
1725
1727
  self._no_dev = no_dev
1726
1728
  self._no_extra = no_extra
1727
1729
  self._no_group = no_group
@@ -1750,6 +1752,8 @@ class MakeDeps(DryRun):
1750
1752
  cmd += " " + " ".join(f"--no-extra {i}" for i in self._no_extra)
1751
1753
  if self._no_group:
1752
1754
  cmd += " " + " ".join(f"--no-group {i}" for i in self._no_group)
1755
+ if self._frozen:
1756
+ cmd += " --frozen"
1753
1757
  if opts := os.getenv("FASTDEVCLI_DEPS_OPTS"):
1754
1758
  cmd += " " + opts.strip()
1755
1759
  return cmd
@@ -1823,6 +1827,7 @@ def make_deps(
1823
1827
  no_dev: bool = Option(False, "--no-dev"),
1824
1828
  no_extra: Annotated[list[str] | None, Option()] = None,
1825
1829
  no_group: Annotated[list[str] | None, Option()] = None,
1830
+ frozen: bool = Option(False, "--frozen", "--frozen-lockfile", "--no-lock"),
1826
1831
  verbose: bool = Option(False, "--verbose"),
1827
1832
  dry: bool = DryOption,
1828
1833
  ) -> None:
@@ -1847,6 +1852,7 @@ def make_deps(
1847
1852
  "inexact": inexact,
1848
1853
  "no_dev": no_dev,
1849
1854
  "verbose": verbose,
1855
+ "frozen": frozen,
1850
1856
  "dry": dry,
1851
1857
  }
1852
1858
  MakeDeps(tool, prod, no_extra=no_extra, no_group=no_group, **bool_opts).run()
@@ -29,7 +29,7 @@ dependencies = [
29
29
  "typer>=0.24.0,<1",
30
30
  "tomli >=2.0.1,<3; python_version < '3.11'",
31
31
  ]
32
- version = "0.24.0"
32
+ version = "0.24.1"
33
33
 
34
34
  [project.urls]
35
35
  Homepage = "https://github.com/waketzheng/fast-dev-cli"
@@ -1 +0,0 @@
1
- __version__ = "0.24.0"
File without changes
File without changes