public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/hatch] rawhide: Update to 1.17.0 (close RHBZ#2483861)
@ 2026-06-03 11:36 Benjamin A. Beasley
0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-06-03 11:36 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/hatch
Branch : rawhide
Commit : 84d53ab30e0ab261788fa936a9523a85827ea440
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-06-03T12:20:59+01:00
Stats : +485/-86 in 40 file(s)
URL : https://src.fedoraproject.org/rpms/hatch/c/84d53ab30e0ab261788fa936a9523a85827ea440?branch=rawhide
Log:
Update to 1.17.0 (close RHBZ#2483861)
---
diff --git a/.gitignore b/.gitignore
index f6b5589..fb15240 100644
--- a/.gitignore
+++ b/.gitignore
@@ -44,3 +44,4 @@
/hatch-f400be159bbd7c016ba5dc591a43753b193eadab.tar.gz
/hatch-hatch-v1.16.4.tar.gz
/hatch-hatch-v1.16.5.tar.gz
+/hatch-hatch-v1.17.0.tar.gz
diff --git a/hatch-build.1 b/hatch-build.1
index d93ff3e..ac1a923 100644
--- a/hatch-build.1
+++ b/hatch-build.1
@@ -1,4 +1,4 @@
-.TH HATCH\-BUILD "1" "August 2024" "" "User Commands"
+.TH HATCH\-BUILD "1" "June 2026" "" "User Commands"
.SH NAME
.B hatch\ build
\(en Build a project
@@ -67,11 +67,13 @@ after each build
[option:
.BR \-\-clean\-hooks\-after ]
.SH "SEE ALSO"
+.BR hatch\-check (1),
.BR hatch\-clean (1),
.BR hatch\-config (1),
.BR hatch\-dep (1),
.BR hatch\-env (1),
.BR hatch\-fmt (1),
+.BR hatch\-lock (1),
.BR hatch\-new (1),
.BR hatch\-project (1),
.BR hatch\-publish (1),
diff --git a/hatch-check-code.1 b/hatch-check-code.1
new file mode 100644
index 0000000..05094ca
--- /dev/null
+++ b/hatch-check-code.1
@@ -0,0 +1,24 @@
+.TH HATCH\-CHECK\-CODE "1" "June 2026" "" "User Commands"
+.SH NAME
+.B hatch\ check\ code
+\(en Perform static analysis, using Ruff by default
+.SH SYNOPSIS
+.B hatch\ check\ code
+.RI [ OPTIONS ]
+.RI [ ARGS ]...
+.SH OPTIONS
+.TP
+.B \-\-fix
+Fix lint errors rather than just reporting them
+.TP
+.B \-\-sync
+Sync the default config file with the current version of Hatch
+.TP
+.B \-h\fR, \fB\-\-help
+Show a help message and exit
+.SH "SEE ALSO"
+.BR hatch\-check\-fmt (1),
+.BR hatch\-check\-types (1)
+.P
+.BR hatch\-check (1),
+.BR hatch (1)
diff --git a/hatch-check-fmt.1 b/hatch-check-fmt.1
new file mode 100644
index 0000000..e696473
--- /dev/null
+++ b/hatch-check-fmt.1
@@ -0,0 +1,24 @@
+.TH HATCH\-CHECK\-FMT "1" "June 2026" "" "User Commands"
+.SH NAME
+.B hatch\ check\ fmt
+\(en Verify formatting, using Ruff by default
+.SH SYNOPSIS
+.B hatch\ check\ fmt
+.RI [ OPTIONS ]
+.RI [ ARGS ]...
+.SH OPTIONS
+.TP
+.B \-\-fix
+Apply formatting fixes rather than just checking
+.TP
+.B \-\-sync
+Sync the default config file with the current version of Hatch
+.TP
+.B \-h\fR, \fB\-\-help
+Show a help message and exit
+.SH "SEE ALSO"
+.BR hatch\-check\-code (1),
+.BR hatch\-check\-types (1)
+.P
+.BR hatch\-check (1),
+.BR hatch (1)
diff --git a/hatch-check-types.1 b/hatch-check-types.1
new file mode 100644
index 0000000..2c7cbb4
--- /dev/null
+++ b/hatch-check-types.1
@@ -0,0 +1,24 @@
+.TH HATCH\-CHECK\-TYPES "1" "June 2026" "" "User Commands"
+.SH NAME
+.B hatch\ check\ types
+\(en Type check source code, using Pyrefly by default
+.SH SYNOPSIS
+.B hatch\ check\ types
+.RI [ OPTIONS ]
+.RI [ ARGS ]...
+.SH OPTIONS
+.TP
+.B \-s\fR, \fB\-\-summarize
+Include error summary statistics
+.TP
+.B \-\-cover
+Generate a type coverage report
+.TP
+.B \-h\fR, \fB\-\-help
+Show a help message and exit
+.SH "SEE ALSO"
+.BR hatch\-check\-code (1),
+.BR hatch\-check\-fmt (1)
+.P
+.BR hatch\-check (1),
+.BR hatch (1)
diff --git a/hatch-check.1 b/hatch-check.1
new file mode 100644
index 0000000..1dcecdb
--- /dev/null
+++ b/hatch-check.1
@@ -0,0 +1,61 @@
+.TH HATCH\-CHECK "1" "June 2026" "" "User Commands"
+.SH NAME
+.B hatch\ check
+\(en Check source code for issues (linting, formatting, type checking)
+.SH SYNOPSIS
+.B hatch\ check
+.RI [ OPTIONS ]
+.I COMMAND
+.RI [ ARGS ]...
+.P
+When invoked without a subcommand, runs all checks
+.RB ( code ,
+.BR fmt ,
+.BR types ).
+.SH OPTIONS
+.TP
+.B \-h\fR, \fB\-\-help
+Show a help message and exit
+.SS "COMMANDS"
+.TP
+.B code
+Perform static analysis
+.IP
+See
+.BR hatch\-check\-code (1).
+.TP
+.B fmt
+Verify formatting
+.IP
+See
+.BR hatch\-check\-fmt (1).
+.TP
+.B types
+Type check source code
+.IP
+See
+.BR hatch\-check\-types (1).
+.SH "SEE ALSO"
+.BR hatch\-check\-code (1),
+.BR hatch\-check\-fmt (1),
+.BR hatch\-check\-types (1)
+.P
+.BR hatch\-build (1),
+.BR hatch\-clean (1),
+.BR hatch\-config (1),
+.BR hatch\-dep (1),
+.BR hatch\-env (1),
+.BR hatch\-fmt (1),
+.BR hatch\-lock (1),
+.BR hatch\-new (1),
+.BR hatch\-project (1),
+.BR hatch\-publish (1),
+.BR hatch\-python (1),
+.BR hatch\-run (1),
+.BR hatch\-self (1),
+.BR hatch\-shell (1),
+.BR hatch\-status (1),
+.BR hatch\-test (1),
+.BR hatch\-version (1)
+.P
+.BR hatch (1)
diff --git a/hatch-clean.1 b/hatch-clean.1
index 5920752..b8ea3c1 100644
--- a/hatch-clean.1
+++ b/hatch-clean.1
@@ -1,4 +1,4 @@
-.TH HATCH\-CLEAN "1" "August 2024" "" "User Commands"
+.TH HATCH\-CLEAN "1" "June 2026" "" "User Commands"
.SH NAME
.B hatch\ clean
\(en Remove build artifacts
@@ -45,10 +45,12 @@ Whether or not to ignore artifacts from build hooks
.BR \-\-no\-hooks ]
.SH "SEE ALSO"
.BR hatch\-build (1),
+.BR hatch\-check (1),
.BR hatch\-config (1),
.BR hatch\-dep (1),
.BR hatch\-env (1),
.BR hatch\-fmt (1),
+.BR hatch\-lock (1),
.BR hatch\-new (1),
.BR hatch\-project (1),
.BR hatch\-publish (1),
diff --git a/hatch-config-find.1 b/hatch-config-find.1
index 62c4a91..e62cd18 100644
--- a/hatch-config-find.1
+++ b/hatch-config-find.1
@@ -1,4 +1,4 @@
-.TH HATCH\-CONFIG\-FIND "1" "October 2022" "" "User Commands"
+.TH HATCH\-CONFIG\-FIND "1" "June 2026" "" "User Commands"
.SH NAME
.B hatch\ config\ find
\(en Show the location of the config file
@@ -7,9 +7,6 @@
.RI [ OPTIONS ]
.SH OPTIONS
.TP
-.B \-c\fR, \fB\-\-copy
-Copy the path to the config file to the clipboard
-.TP
.B \-h\fR, \fB\-\-help
Show a help message and exit
.SH "SEE ALSO"
diff --git a/hatch-config.1 b/hatch-config.1
index edf6e4f..6ad8001 100644
--- a/hatch-config.1
+++ b/hatch-config.1
@@ -1,4 +1,4 @@
-.TH HATCH\-CONFIG "1" "August 2024" "" "User Commands"
+.TH HATCH\-CONFIG "1" "June 2026" "" "User Commands"
.SH NAME
.B hatch\ config
\(en Manage the config file
@@ -57,10 +57,12 @@ See
.BR hatch\-config\-update (1)
.P
.BR hatch\-build (1),
+.BR hatch\-check (1),
.BR hatch\-clean (1),
.BR hatch\-dep (1),
.BR hatch\-env (1),
.BR hatch\-fmt (1),
+.BR hatch\-lock (1),
.BR hatch\-new (1),
.BR hatch\-project (1),
.BR hatch\-publish (1),
diff --git a/hatch-dep-hash.1 b/hatch-dep-hash.1
index 93b7eee..b15e57a 100644
--- a/hatch-dep-hash.1
+++ b/hatch-dep-hash.1
@@ -1,4 +1,4 @@
-.TH HATCH\-DEP\-HASH "1" "October 2022" "" "User Commands"
+.TH HATCH\-DEP\-HASH "1" "June 2026" "" "User Commands"
.SH NAME
.B hatch\ dep\ hash
\(en Output a hash of the currently defined dependencies
@@ -16,7 +16,9 @@ Whether or not to exclude project dependencies
.B \-h\fR, \fB\-\-help
Show a help message and exit
.SH "SEE ALSO"
-.BR hatch\-dep\-show (1)
+.BR hatch\-dep\-lock (1),
+.BR hatch\-dep\-show (1),
+.BR hatch\-dep\-sync (1)
.P
.BR hatch\-dep (1),
.BR hatch (1)
diff --git a/hatch-dep-lock.1 b/hatch-dep-lock.1
new file mode 100644
index 0000000..785c2c6
--- /dev/null
+++ b/hatch-dep-lock.1
@@ -0,0 +1,41 @@
+.TH HATCH\-DEP\-LOCK "1" "June 2026" "" "User Commands"
+.SH NAME
+.B hatch\ dep\ lock
+\(en Resolve dependencies and write a PEP 751
+.B pylock.toml
+for the selected environment
+.SH SYNOPSIS
+.B hatch\ dep\ lock
+.RI [ OPTIONS ]
+.SH OPTIONS
+.TP
+.B \-U\fR, \fB\-\-upgrade
+Upgrade all packages
+.TP
+.B \-P\fR, \fB\-\-upgrade\-package\ \fITEXT
+Upgrade specific package(s)
+.TP
+.B \-\-export\ \fIPATH
+Export lockfile to a custom path
+.TP
+.B \-\-export\-all\ \fIPATH
+Export lockfiles for all environments to a directory
+.TP
+.B \-\-check
+Check if lockfile is up-to-date
+.TP
+.B \-h\fR, \fB\-\-help
+Show a help message and exit
+.SH "SEE ALSO"
+.BR hatch\-lock (1)
+.P
+.BR hatch\-dep\-hash (1),
+.BR hatch\-dep\-show (1),
+.BR hatch\-dep\-sync (1)
+.P
+.BR hatch\-dep (1),
+.BR hatch (1)
+.P
+.UR https://peps.python.org/pep-0751/
+PEP 751
+.UE
diff --git a/hatch-dep-show.1 b/hatch-dep-show.1
index 75b4420..24ac30c 100644
--- a/hatch-dep-show.1
+++ b/hatch-dep-show.1
@@ -1,4 +1,4 @@
-.TH HATCH\-DEP\-SHOW "1" "October 2022" "" "User Commands"
+.TH HATCH\-DEP\-SHOW "1" "June 2026" "" "User Commands"
.SH NAME
.B hatch\ dep\ show
\(en Display dependencies in various formats
@@ -23,6 +23,8 @@ Enumerate dependencies in a tabular format
.BR hatch\-dep\-show\-table (1)
.P
.BR hatch\-dep\-hash (1)
+.BR hatch\-dep\-lock (1),
+.BR hatch\-dep\-sync (1)
.P
.BR hatch\-dep (1),
.BR hatch (1)
diff --git a/hatch-dep-sync.1 b/hatch-dep-sync.1
new file mode 100644
index 0000000..e74860a
--- /dev/null
+++ b/hatch-dep-sync.1
@@ -0,0 +1,20 @@
+.TH HATCH\-DEP\-SYNC "1" "June 2026" "" "User Commands"
+.SH NAME
+.B hatch\ dep\ sync
+\(en Sync the active environment to its lockfile
+.RB ( locked
+environments only)
+.SH SYNOPSIS
+.B hatch\ dep\ sync
+.RI [ OPTIONS ]
+.SH OPTIONS
+.TP
+.B \-h\fR, \fB\-\-help
+Show a help message and exit
+.SH "SEE ALSO"
+.BR hatch\-dep\-hash (1),
+.BR hatch\-dep\-lock (1),
+.BR hatch\-dep\-show (1)
+.P
+.BR hatch\-dep (1),
+.BR hatch (1)
diff --git a/hatch-dep.1 b/hatch-dep.1
index 4a5b650..a29fa53 100644
--- a/hatch-dep.1
+++ b/hatch-dep.1
@@ -1,4 +1,4 @@
-.TH HATCH\-DEP "1" "August 2024" "" "User Commands"
+.TH HATCH\-DEP "1" "June 2026" "" "User Commands"
.SH NAME
.B hatch\ dep
\(en Manage environment dependencies
@@ -19,20 +19,39 @@ Output a hash of the currently defined dependencies
See
.BR hatch\-dep\-hash (1).
.TP
+.B lock
+Generate a lockfile for the active environment
+.RB ( \-e \ /\ HATCH_ENV )
+.IP
+See
+.BR hatch\-dep\-lock (1),
+.BR hatch\-lock (1).
+.TP
.B show
Display dependencies in various formats
.IP
See
.BR hatch\-dep\-show (1).
+.TP
+.B sync
+Install dependencies from the environment lockfile
+.RB ( apply_lock )
+.IP
+See
+.BR hatch\-dep\-sync (1).
.SH "SEE ALSO"
.BR hatch\-dep\-hash (1),
-.BR hatch\-dep\-show (1)
+.BR hatch\-dep\-lock (1),
+.BR hatch\-dep\-show (1),
+.BR hatch\-dep\-sync (1)
.P
.BR hatch\-build (1),
+.BR hatch\-check (1),
.BR hatch\-clean (1),
.BR hatch\-config (1),
.BR hatch\-env (1),
.BR hatch\-fmt (1),
+.BR hatch\-lock (1),
.BR hatch\-new (1),
.BR hatch\-project (1),
.BR hatch\-publish (1),
diff --git a/hatch-env-create.1 b/hatch-env-create.1
index 3983576..67ee1e8 100644
--- a/hatch-env-create.1
+++ b/hatch-env-create.1
@@ -1,4 +1,4 @@
-.TH HATCH\-ENV\-CREATE "1" "October 2022" "" "User Commands"
+.TH HATCH\-ENV\-CREATE "1" "June 2026" "" "User Commands"
.SH NAME
.B hatch\ env\ create
\(en Create environments
@@ -12,6 +12,7 @@
Show a help message and exit
.SH "SEE ALSO"
.BR hatch\-env\-find (1),
+.BR hatch\-env\-lock (1),
.BR hatch\-env\-prune (1),
.BR hatch\-env\-remove (1),
.BR hatch\-env\-run (1),
diff --git a/hatch-env-find.1 b/hatch-env-find.1
index 580ab5b..0038c8a 100644
--- a/hatch-env-find.1
+++ b/hatch-env-find.1
@@ -1,4 +1,4 @@
-.TH HATCH\-ENV\-FIND "1" "October 2022" "" "User Commands"
+.TH HATCH\-ENV\-FIND "1" "June 2026" "" "User Commands"
.SH NAME
.B hatch\ env\ find
\(en Locate environments
@@ -12,6 +12,7 @@
Show a help message and exit
.SH "SEE ALSO"
.BR hatch\-env\-create (1),
+.BR hatch\-env\-lock (1),
.BR hatch\-env\-prune (1),
.BR hatch\-env\-remove (1),
.BR hatch\-env\-run (1),
diff --git a/hatch-env-lock.1 b/hatch-env-lock.1
new file mode 100644
index 0000000..b4af0d9
--- /dev/null
+++ b/hatch-env-lock.1
@@ -0,0 +1,45 @@
+.TH HATCH\-ENV\-LOCK "1" "June 2026" "" "User Commands"
+.SH NAME
+.B hatch\ env\ lock
+\(en Generate lockfiles for environments
+.SH SYNOPSIS
+.B hatch\ env\ lock
+.RI [ OPTIONS ]
+.RI [ ENV_NAME ]
+.SH DESCRIPTION
+When called without arguments,
+locks all environments that have
+.B locked\ =\ true
+in their configuration.
+When called with
+.IR ENV_NAME ,
+locks that specific environment.
+.SH OPTIONS
+.TP
+.B \-U\fR, \fB\-\-upgrade
+Upgrade all packages
+.TP
+.B \-P\fR, \fB\-\-upgrade\-package\ \fITEXT
+Upgrade specific package(s)
+.TP
+.B \-\-export\ \fIPATH
+Export lockfile to a custom path
+.TP
+.B \-\-export\-all\ \fIPATH
+Export lockfiles for all environments to a directory
+.TP
+.B \-\-check
+Check if lockfile is up-to-date
+.TP
+.B \-h\fR, \fB\-\-help
+Show a help message and exit
+.SH "SEE ALSO"
+.BR hatch\-env\-create (1),
+.BR hatch\-env\-find (1),
+.BR hatch\-env\-prune (1),
+.BR hatch\-env\-remove (1),
+.BR hatch\-env\-run (1),
+.BR hatch\-env\-show (1)
+.P
+.BR hatch\-env (1),
+.BR hatch (1)
diff --git a/hatch-env-prune.1 b/hatch-env-prune.1
index 5fddce2..a7fdf30 100644
--- a/hatch-env-prune.1
+++ b/hatch-env-prune.1
@@ -1,4 +1,4 @@
-.TH HATCH\-ENV\-PRUNE "1" "October 2022" "" "User Commands"
+.TH HATCH\-ENV\-PRUNE "1" "June 2026" "" "User Commands"
.SH NAME
.B hatch\ env\ prune
\(en Remove all environments
@@ -12,6 +12,7 @@ Show a help message and exit
.SH "SEE ALSO"
.BR hatch\-env\-create (1),
.BR hatch\-env\-find (1),
+.BR hatch\-env\-lock (1),
.BR hatch\-env\-remove (1),
.BR hatch\-env\-run (1),
.BR hatch\-env\-show (1)
diff --git a/hatch-env-remove.1 b/hatch-env-remove.1
index 323c98a..984269f 100644
--- a/hatch-env-remove.1
+++ b/hatch-env-remove.1
@@ -1,4 +1,4 @@
-.TH HATCH\-ENV\-REMOVE "1" "October 2022" "" "User Commands"
+.TH HATCH\-ENV\-REMOVE "1" "June 2026" "" "User Commands"
.SH NAME
.B hatch\ env\ remove
\(en Remove environments
@@ -13,6 +13,7 @@ Show a help message and exit
.SH "SEE ALSO"
.BR hatch\-env\-create (1),
.BR hatch\-env\-find (1),
+.BR hatch\-env\-lock (1),
.BR hatch\-env\-prune (1),
.BR hatch\-env\-run (1),
.BR hatch\-env\-show (1)
diff --git a/hatch-env-run.1 b/hatch-env-run.1
index 2652358..95b8047 100644
--- a/hatch-env-run.1
+++ b/hatch-env-run.1
@@ -1,4 +1,4 @@
-.TH HATCH\-ENV\-RUN "1" "August 2024" "" "User Commands"
+.TH HATCH\-ENV\-RUN "1" "June 2026" "" "User Commands"
.SH NAME
.B hatch\ env\ run
\(en Run commands within project environments
@@ -84,6 +84,7 @@ may be used as an alias for
.P
.BR hatch\-env\-create (1),
.BR hatch\-env\-find (1),
+.BR hatch\-env\-lock (1),
.BR hatch\-env\-prune (1),
.BR hatch\-env\-remove (1),
.BR hatch\-env\-show (1)
diff --git a/hatch-env-show.1 b/hatch-env-show.1
index f684f37..3a3b097 100644
--- a/hatch-env-show.1
+++ b/hatch-env-show.1
@@ -1,4 +1,4 @@
-.TH HATCH\-ENV\-SHOW "1" "August 2024" "" "User Commands"
+.TH HATCH\-ENV\-SHOW "1" "June 2026" "" "User Commands"
.SH NAME
.B hatch\ env\ show
\(en Show the available environments
@@ -22,6 +22,7 @@ Show a help message and exit
.SH "SEE ALSO"
.BR hatch\-env\-create (1),
.BR hatch\-env\-find (1),
+.BR hatch\-env\-lock (1),
.BR hatch\-env\-prune (1),
.BR hatch\-env\-remove (1),
.BR hatch\-env\-run (1)
diff --git a/hatch-env.1 b/hatch-env.1
index 461582c..5f8c2e3 100644
--- a/hatch-env.1
+++ b/hatch-env.1
@@ -1,4 +1,4 @@
-.TH HATCH\-ENV "1" "August 2024" "" "User Commands"
+.TH HATCH\-ENV "1" "June 2026" "" "User Commands"
.SH NAME
.B hatch\ env
\(en Manage project environments
@@ -24,6 +24,11 @@ Locate environments
.IP
See
.BR hatch\-env\-find (1).
+.B lock
+Generate lockfiles for environments
+.IP
+See
+.BR hatch\-env\-lock (1).
.TP
.B prune
Remove all environments
@@ -51,16 +56,19 @@ See
.SH "SEE ALSO"
.BR hatch\-env\-create (1),
.BR hatch\-env\-find (1),
+.BR hatch\-env\-lock (1),
.BR hatch\-env\-prune (1),
.BR hatch\-env\-remove (1),
.BR hatch\-env\-run (1),
.BR hatch\-env\-show (1)
.P
.BR hatch\-build (1),
+.BR hatch\-check (1),
.BR hatch\-clean (1),
.BR hatch\-config (1),
.BR hatch\-dep (1),
.BR hatch\-fmt (1),
+.BR hatch\-lock (1),
.BR hatch\-new (1),
.BR hatch\-project (1),
.BR hatch\-publish (1),
diff --git a/hatch-fmt.1 b/hatch-fmt.1
index ced199f..fe3bd1a 100644
--- a/hatch-fmt.1
+++ b/hatch-fmt.1
@@ -1,4 +1,4 @@
-.TH HATCH\-FMT "1" "August 2024" "" "User Commands"
+.TH HATCH\-FMT "1" "June 2026" "" "User Commands"
.SH NAME
.B hatch\ fmt
\(en Format and lint source code
@@ -23,12 +23,23 @@ with the current version of Hatch
.TP
.B \-h\fR, \fB\-\-help
Show a help message and exit
+.SH CAVEATS
+The
+.BR hatch\-fmt (1)
+command is being deprecated.
+Use
+.BR hatch\-check\-code (1)
+for linting and
+.BR hatch\-check\-fmt (1)
+for formatting instead.
.SH "SEE ALSO"
.BR hatch\-build (1),
+.BR hatch\-check (1),
.BR hatch\-clean (1),
.BR hatch\-config (1),
.BR hatch\-dep (1),
.BR hatch\-env (1),
+.BR hatch\-lock (1),
.BR hatch\-new (1),
.BR hatch\-project (1),
.BR hatch\-publish (1),
diff --git a/hatch-lock.1 b/hatch-lock.1
new file mode 100644
index 0000000..3d5491e
--- /dev/null
+++ b/hatch-lock.1
@@ -0,0 +1,52 @@
+.TH HATCH\-LOCK "1" "June 2026" "" "User Commands"
+.SH NAME
+.B hatch\ lock
+\(en Same as
+.BR hatch\-dep\-lock (1)
+for the environment selected with
+.BR \-e \ /
+.B HATCH_ENV
+.SH SYNOPSIS
+.B hatch\ lock
+.RI [ OPTIONS ]
+.SH OPTIONS
+.TP
+.B \-U\fR, \fB\-\-upgrade
+Upgrade all packages
+.TP
+.B \-P\fR, \fB\-\-upgrade\-package\ \fITEXT
+Upgrade specific package(s)
+.TP
+.B \-\-export\ \fIPATH
+Export lockfile to a custom path
+.TP
+.B \-\-export\-all\ \fIPATH
+Export lockfiles for all environments to a directory
+.TP
+.B \-\-check
+Check if lockfile is up-to-date
+.TP
+.B \-h\fR, \fB\-\-help
+Show a help message and exit
+.SH "SEE ALSO"
+.BR hatch\-dep\-lock (1)
+.P
+.BR hatch\-build (1),
+.BR hatch\-check (1),
+.BR hatch\-clean (1),
+.BR hatch\-config (1),
+.BR hatch\-dep (1),
+.BR hatch\-env (1),
+.BR hatch\-fmt (1),
+.BR hatch\-new (1),
+.BR hatch\-project (1),
+.BR hatch\-publish (1),
+.BR hatch\-python (1),
+.BR hatch\-run (1),
+.BR hatch\-self (1),
+.BR hatch\-shell (1),
+.BR hatch\-status (1),
+.BR hatch\-test (1),
+.BR hatch\-version (1)
+.P
+.BR hatch (1)
diff --git a/hatch-new.1 b/hatch-new.1
index 6ca627d..3b3916c 100644
--- a/hatch-new.1
+++ b/hatch-new.1
@@ -1,4 +1,4 @@
-.TH HATCH\-NEW "1" "August 2024" "" "User Commands"
+.TH HATCH\-NEW "1" "June 2026" "" "User Commands"
.SH NAME
.B hatch\ new
\(en Create or initialize a project
@@ -22,11 +22,13 @@ Initialize an existing project
Show a help message and exit
.SH "SEE ALSO"
.BR hatch\-build (1),
+.BR hatch\-check (1),
.BR hatch\-clean (1),
.BR hatch\-config (1),
.BR hatch\-dep (1),
.BR hatch\-env (1),
.BR hatch\-fmt (1),
+.BR hatch\-lock (1),
.BR hatch\-project (1),
.BR hatch\-publish (1),
.BR hatch\-python (1),
diff --git a/hatch-project.1 b/hatch-project.1
index 64c6432..c875fdd 100644
--- a/hatch-project.1
+++ b/hatch-project.1
@@ -1,4 +1,4 @@
-.TH HATCH\-PROJECT "1" "August 2024" "" "User Commands"
+.TH HATCH\-PROJECT "1" "June 2026" "" "User Commands"
.SH NAME
.B hatch\ project
\(en View project information
@@ -22,11 +22,13 @@ See
.BR hatch\-project\-metadata (1)
.P
.BR hatch\-build (1),
+.BR hatch\-check (1),
.BR hatch\-clean (1),
.BR hatch\-config (1),
.BR hatch\-dep (1),
.BR hatch\-env (1),
.BR hatch\-fmt (1),
+.BR hatch\-lock (1),
.BR hatch\-new (1),
.BR hatch\-publish (1),
.BR hatch\-python (1),
diff --git a/hatch-publish.1 b/hatch-publish.1
index e06c120..40f8398 100644
--- a/hatch-publish.1
+++ b/hatch-publish.1
@@ -1,4 +1,4 @@
-.TH HATCH\-PUBLISH "1" "August 2024" "" "User Commands"
+.TH HATCH\-PUBLISH "1" "June 2026" "" "User Commands"
.SH NAME
.B hatch\ publish
\(en Publish build artifacts
@@ -114,11 +114,13 @@ Options to pass to the publisher plugin
.BR \-\-option ]
.SH "SEE ALSO"
.BR hatch\-build (1),
+.BR hatch\-check (1),
.BR hatch\-clean (1),
.BR hatch\-config (1),
.BR hatch\-dep (1),
.BR hatch\-env (1),
.BR hatch\-fmt (1),
+.BR hatch\-lock (1),
.BR hatch\-new (1),
.BR hatch\-project (1),
.BR hatch\-python (1),
diff --git a/hatch-python-find.1 b/hatch-python-find.1
index 75e56b0..10aba78 100644
--- a/hatch-python-find.1
+++ b/hatch-python-find.1
@@ -1,11 +1,11 @@
-.TH HATCH\-PYTHON\-FIND "1" "December 2023" "" "User Commands"
+.TH HATCH\-PYTHON\-FIND "1" "June 2026" "" "User Commands"
.SH NAME
.B hatch\ python\ find
\(en Locate Python binaries
.SH SYNOPSIS
.B hatch\ python\ find
.RI [ OPTIONS ]
-.RI [ NAME ]
+.I NAME
.SH OPTIONS
.TP
.B \-p\fR, \fB\-\-parent
diff --git a/hatch-python-show.1 b/hatch-python-show.1
index d80af20..ddaf737 100644
--- a/hatch-python-show.1
+++ b/hatch-python-show.1
@@ -1,18 +1,10 @@
-.TH HATCH\-PYTHON\-SHOW "1" "December 2023" "" "User Commands"
+.TH HATCH\-PYTHON\-SHOW "1" "June 2026" "" "User Commands"
.SH NAME
.B hatch\ python\ show
\(en Show the available Python distributions
.SH SYNOPSIS
.B hatch\ python\ show
.RI [ OPTIONS ]
-.P
-You may select
-.B all
-to show all compatible distributions:
-.P
-.EX
-.B hatch\ python\ show\ all
-.EE
.SH OPTIONS
.TP
.B \-\-ascii
diff --git a/hatch-python.1 b/hatch-python.1
index 87f8cc3..12ebc80 100644
--- a/hatch-python.1
+++ b/hatch-python.1
@@ -1,4 +1,4 @@
-.TH HATCH\-PYTHON "1" "August 2024" "" "User Commands"
+.TH HATCH\-PYTHON "1" "June 2026" "" "User Commands"
.SH NAME
.B hatch\ python
\(en Manage Python installations
@@ -50,11 +50,13 @@ See
.BR hatch\-python\-update (1)
.P
.BR hatch\-build (1),
+.BR hatch\-check (1),
.BR hatch\-clean (1),
.BR hatch\-config (1),
.BR hatch\-dep (1),
.BR hatch\-env (1),
.BR hatch\-fmt (1),
+.BR hatch\-lock (1),
.BR hatch\-new (1),
.BR hatch\-project (1),
.BR hatch\-publish (1),
diff --git a/hatch-run.1 b/hatch-run.1
index 731cdaa..34f8408 100644
--- a/hatch-run.1
+++ b/hatch-run.1
@@ -1,4 +1,4 @@
-.TH HATCH\-RUN "1" "August 2024" "" "User Commands"
+.TH HATCH\-RUN "1" "June 2026" "" "User Commands"
.SH NAME
.B hatch\ run
\(en Run commands within project environments
@@ -76,11 +76,13 @@ may be used as an alias for
.BR python .
.SH "SEE ALSO"
.BR hatch\-build (1),
+.BR hatch\-check (1),
.BR hatch\-clean (1),
.BR hatch\-config (1),
.BR hatch\-dep (1),
.BR hatch\-env (1),
.BR hatch\-fmt (1),
+.BR hatch\-lock (1),
.BR hatch\-new (1),
.BR hatch\-project (1),
.BR hatch\-publish (1),
diff --git a/hatch-self-report.1 b/hatch-self-report.1
index d8648da..1e6ac5c 100644
--- a/hatch-self-report.1
+++ b/hatch-self-report.1
@@ -1,7 +1,7 @@
-.TH HATCH\-SELF\-REPORT "1" "August 2024" "" "User Commands"
+.TH HATCH\-SELF\-REPORT "1" "July 2026" "" "User Commands"
.SH NAME
.B hatch\ self\ report
-\(en Generate a pre-populated GitHub issue.
+\(en Generate a pre-populated GitHub issue
.SH SYNOPSIS
.B hatch\ self\ report
.RI [ OPTIONS ]
diff --git a/hatch-self.1 b/hatch-self.1
index f7890f4..680152c 100644
--- a/hatch-self.1
+++ b/hatch-self.1
@@ -1,4 +1,4 @@
-.TH HATCH\-SELF "1" "August 2024" "" "User Commands"
+.TH HATCH\-SELF "1" "June 2026" "" "User Commands"
.SH NAME
.B hatch\ self
\(en Manage Hatch
@@ -36,11 +36,13 @@ See
.BR hatch\-self\-update (1)
.P
.BR hatch\-build (1),
+.BR hatch\-check (1),
.BR hatch\-clean (1),
.BR hatch\-config (1),
.BR hatch\-dep (1),
.BR hatch\-env (1),
.BR hatch\-fmt (1),
+.BR hatch\-lock (1),
.BR hatch\-new (1),
.BR hatch\-project (1),
.BR hatch\-publish (1),
diff --git a/hatch-shell.1 b/hatch-shell.1
index e024929..cbf160d 100644
--- a/hatch-shell.1
+++ b/hatch-shell.1
@@ -1,4 +1,4 @@
-.TH HATCH\-SHELL "1" "August 2024" "" "User Commands"
+.TH HATCH\-SHELL "1" "June 2026" "" "User Commands"
.SH NAME
.B hatch\ shell
\(en Enter a shell within a project\(cqs environment
@@ -16,11 +16,13 @@ Show a help message and exit
.B \-\-path\ \fITEXT
.SH "SEE ALSO"
.BR hatch\-build (1),
+.BR hatch\-check (1),
.BR hatch\-clean (1),
.BR hatch\-config (1),
.BR hatch\-dep (1),
.BR hatch\-env (1),
.BR hatch\-fmt (1),
+.BR hatch\-lock (1),
.BR hatch\-new (1),
.BR hatch\-project (1),
.BR hatch\-publish (1),
diff --git a/hatch-status.1 b/hatch-status.1
index f9f315c..fb00a3b 100644
--- a/hatch-status.1
+++ b/hatch-status.1
@@ -1,4 +1,4 @@
-.TH HATCH\-STATUS "1" "August 2024" "" "User Commands"
+.TH HATCH\-STATUS "1" "June 2026" "" "User Commands"
.SH NAME
.B hatch\ status
\(en Show information about the current environment
@@ -11,11 +11,13 @@
Show a help message and exit
.SH "SEE ALSO"
.BR hatch\-build (1),
+.BR hatch\-check (1),
.BR hatch\-clean (1),
.BR hatch\-config (1),
.BR hatch\-dep (1),
.BR hatch\-env (1),
.BR hatch\-fmt (1),
+.BR hatch\-lock (1),
.BR hatch\-new (1),
.BR hatch\-project (1),
.BR hatch\-publish (1),
diff --git a/hatch-test.1 b/hatch-test.1
index 6f11dfe..036d78b 100644
--- a/hatch-test.1
+++ b/hatch-test.1
@@ -1,4 +1,4 @@
-.TH HATCH\-TEST "1" "August 2024" "" "User Commands"
+.TH HATCH\-TEST "1" "June 2026" "" "User Commands"
.SH NAME
.B hatch\ test
\(en Run tests using the \fBhatch\-test\fR environment matrix
@@ -70,9 +70,18 @@ Seconds to wait between retries
Measure code coverage
.TP
.B \-\-cover\-quiet
-Disable coverage reporting after tests, implicitly enabling
+Disable coverage reporting after tests,
+implicitly enabling
.B \-\-cover
.TP
+.B \-\-cover\-xml
+Generate XML coverage report after tests,
+implicitly enabling
+.B \-\-cover
+.TP
+.B \-\-cover\-xml\-output\ \fIPATH
+Path for the XML coverage report file
+.TP
.B \-a\fR, \fB\-\-all
Test all environments in the matrix
.TP
@@ -100,11 +109,13 @@ while matching any of the excluded variables
will prevent selection.
.SH "SEE ALSO"
.BR hatch\-build (1),
+.BR hatch\-check (1),
.BR hatch\-clean (1),
.BR hatch\-config (1),
.BR hatch\-dep (1),
.BR hatch\-env (1),
.BR hatch\-fmt (1),
+.BR hatch\-lock (1),
.BR hatch\-new (1),
.BR hatch\-project (1),
.BR hatch\-publish (1),
diff --git a/hatch-version.1 b/hatch-version.1
index b8995f9..8256b14 100644
--- a/hatch-version.1
+++ b/hatch-version.1
@@ -1,4 +1,4 @@
-.TH HATCH\-VERSION "1" "August 2024" "" "User Commands"
+.TH HATCH\-VERSION "1" "June 2026" "" "User Commands"
.SH NAME
.B hatch\ version
\(en View or set a project\(cqs version
@@ -8,15 +8,20 @@
.RI [ DESIRED_VERSION ]
.SH OPTIONS
.TP
+.B \-f\fR, \fB\-\-force
+Allow an explicit downgrading version to be given
+.TP
.B \-h\fR, \fB\-\-help
Show a help message and exit
.SH "SEE ALSO"
.BR hatch\-build (1),
+.BR hatch\-check (1),
.BR hatch\-clean (1),
.BR hatch\-config (1),
.BR hatch\-dep (1),
.BR hatch\-env (1),
.BR hatch\-fmt (1),
+.BR hatch\-lock (1),
.BR hatch\-new (1),
.BR hatch\-project (1),
.BR hatch\-publish (1),
diff --git a/hatch.1 b/hatch.1
index 47d2d1b..e8a148a 100644
--- a/hatch.1
+++ b/hatch.1
@@ -1,4 +1,4 @@
-.TH HATCH "1" "August 2024" "" "User Commands"
+.TH HATCH "1" "June 2026" "" "User Commands"
.SH NAME
.B hatch
\(en Modern, extensible Python project management
@@ -71,6 +71,12 @@ Build a project
See
.BR hatch\-build (1).
.TP
+.B check
+Check source code
+.IP
+See
+.BR hatch\-check (1).
+.TP
.B clean
Remove build artifacts
.IP
@@ -101,6 +107,15 @@ Lint and format source code
See
.BR hatch\-fmt (1).
.TP
+.B lock
+Generate a lockfile for the active environment
+(alias for
+.BR hatch\ dep\ lock ).
+.IP
+See
+.BR hatch\-lock (1),
+.BR hatch\-dep\-lock (1).
+.TP
.B new
Create or initialize a project
.IP
@@ -220,11 +235,13 @@ The path to a custom custom config file to use
.BR \-\-config ]
.SH "SEE ALSO"
.BR hatch\-build (1),
+.BR hatch\-check (1),
.BR hatch\-clean (1),
.BR hatch\-config (1),
.BR hatch\-dep (1),
.BR hatch\-env (1),
.BR hatch\-fmt (1),
+.BR hatch\-lock (1),
.BR hatch\-new (1),
.BR hatch\-project (1),
.BR hatch\-publish (1),
diff --git a/hatch.spec b/hatch.spec
index d3ff03e..d868f60 100644
--- a/hatch.spec
+++ b/hatch.spec
@@ -4,7 +4,7 @@
#global snapdate YYYYMMDD
Name: hatch
-Version: 1.16.5%{?commit:^%{snapdate}.%{sub %{commit} 1 7}}
+Version: 1.17.0%{?commit:^%{snapdate}.%{sub %{commit} 1 7}}
Release: %autorelease
Summary: A modern project, package, and virtual env manager
@@ -23,8 +23,12 @@ URL: https://github.com/pypa/hatch
Source0: %{url}/archive/%{tag}/hatch-%{tag}.tar.gz
# Written for Fedora in groff_man(7) format based on --help output
-Source100: hatch.1
-Source200: hatch-build.1
+Source1: hatch.1
+Source100: hatch-build.1
+Source200: hatch-check.1
+Source210: hatch-check-code.1
+Source220: hatch-check-fmt.1
+Source230: hatch-check-types.1
Source300: hatch-clean.1
Source400: hatch-config.1
Source410: hatch-config-explore.1
@@ -35,36 +39,40 @@ Source450: hatch-config-show.1
Source460: hatch-config-update.1
Source500: hatch-dep.1
Source510: hatch-dep-hash.1
-Source520: hatch-dep-show.1
-Source521: hatch-dep-show-requirements.1
-Source522: hatch-dep-show-table.1
+Source520: hatch-dep-lock.1
+Source530: hatch-dep-show.1
+Source531: hatch-dep-show-requirements.1
+Source532: hatch-dep-show-table.1
+Source540: hatch-dep-sync.1
Source600: hatch-env.1
Source610: hatch-env-create.1
Source620: hatch-env-find.1
-Source630: hatch-env-prune.1
-Source640: hatch-env-remove.1
-Source650: hatch-env-run.1
-Source660: hatch-env-show.1
-Source700: hatch-new.1
-Source800: hatch-project.1
-Source810: hatch-project-metadata.1
-Source900: hatch-publish.1
-Source1000: hatch-run.1
-Source1100: hatch-shell.1
-Source1200: hatch-status.1
-Source1300: hatch-version.1
-Source1400: hatch-fmt.1
-Source1500: hatch-python.1
-Source1510: hatch-python-find.1
-Source1520: hatch-python-install.1
-Source1530: hatch-python-remove.1
-Source1540: hatch-python-show.1
-Source1550: hatch-python-update.1
-Source1600: hatch-self.1
-Source1610: hatch-self-report.1
-Source1620: hatch-self-restore.1
-Source1630: hatch-self-update.1
+Source630: hatch-env-lock.1
+Source640: hatch-env-prune.1
+Source650: hatch-env-remove.1
+Source660: hatch-env-run.1
+Source670: hatch-env-show.1
+Source700: hatch-fmt.1
+Source800: hatch-lock.1
+Source900: hatch-new.1
+Source1000: hatch-project.1
+Source1010: hatch-project-metadata.1
+Source1100: hatch-python.1
+Source1110: hatch-python-find.1
+Source1120: hatch-python-install.1
+Source1130: hatch-python-remove.1
+Source1140: hatch-python-show.1
+Source1150: hatch-python-update.1
+Source1200: hatch-publish.1
+Source1300: hatch-run.1
+Source1400: hatch-self.1
+Source1410: hatch-self-report.1
+Source1420: hatch-self-restore.1
+Source1430: hatch-self-update.1
+Source1500: hatch-shell.1
+Source1600: hatch-status.1
Source1700: hatch-test.1
+Source1800: hatch-version.1
BuildSystem: pyproject
BuildOption(install): --assert-license hatch
@@ -137,25 +145,32 @@ export SETUPTOOLS_SCM_PRETEND_VERSION='%{scmversion}'
%install -a
install -D --preserve-timestamps --mode=0644 \
--target='%{buildroot}%{_mandir}/man1' \
+ '%{SOURCE1}' \
'%{SOURCE100}' \
- '%{SOURCE200}' \
+ '%{SOURCE200}' '%{SOURCE210}' '%{SOURCE220}' '%{SOURCE230}' \
'%{SOURCE300}' \
'%{SOURCE400}' '%{SOURCE410}' '%{SOURCE420}' '%{SOURCE430}' \
'%{SOURCE440}' '%{SOURCE450}' '%{SOURCE460}' \
- '%{SOURCE500}' '%{SOURCE510}' '%{SOURCE520}' '%{SOURCE521}' \
- '%{SOURCE522}' \
- '%{SOURCE600}' '%{SOURCE610}' '%{SOURCE620}' '%{SOURCE630}' \
- '%{SOURCE640}' '%{SOURCE650}' '%{SOURCE660}' \
+ '%{SOURCE500}' \
+ '%{SOURCE510}' \
+ '%{SOURCE520}' \
+ '%{SOURCE530}' '%{SOURCE531}' '%{SOURCE532}' \
+ '%{SOURCE540}' \
+ '%{SOURCE600}' '%{SOURCE610}' '%{SOURCE620}' '%{SOURCE630}' '%{SOURCE640}' \
+ '%{SOURCE650}' '%{SOURCE660}' '%{SOURCE670}' \
'%{SOURCE700}' \
- '%{SOURCE800}' '%{SOURCE810}' \
+ '%{SOURCE800}' \
'%{SOURCE900}' \
- '%{SOURCE1000}' \
- '%{SOURCE1100}' \
+ '%{SOURCE1000}' '%{SOURCE1010}' \
+ '%{SOURCE1100}' '%{SOURCE1110}' '%{SOURCE1120}' '%{SOURCE1130}' \
+ '%{SOURCE1140}' '%{SOURCE1150}' \
'%{SOURCE1200}' \
'%{SOURCE1300}' \
- '%{SOURCE1400}' \
- '%{SOURCE1500}' '%{SOURCE1510}' '%{SOURCE1520}' '%{SOURCE1530}' \
- '%{SOURCE1540}' '%{SOURCE1550}'
+ '%{SOURCE1400}' '%{SOURCE1410}' '%{SOURCE1420}' '%{SOURCE1430}' \
+ '%{SOURCE1500}' \
+ '%{SOURCE1600}' \
+ '%{SOURCE1700}' \
+ '%{SOURCE1800}'
%check -a
diff --git a/sources b/sources
index d7badd5..b00b85b 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (hatch-hatch-v1.16.5.tar.gz) = 74c6da280869f719e0752944ec7a4f65708a7d17b4d72a6517ce867d47bc91cc99b03573dcf99461e6ac3ab3a428f40a4652bcad8f4b84137abb0c3251dc883b
+SHA512 (hatch-hatch-v1.17.0.tar.gz) = 0a36aa5d85c010fb8badea3f9a24419704ee114d17b35d791a5939c95702598fc88c264672459f7edf409fcd4ca5f6dddbf784f4c9e83b9bc60d572bb564d24e
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-03 11:36 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-03 11:36 [rpms/hatch] rawhide: Update to 1.17.0 (close RHBZ#2483861) Benjamin A. Beasley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox