Daniel Garcia
bdc84c90cb
- The run/env run and test commands now treat inclusion variable options as an intersection rather than a union to allow for specific targeting of environments - Add ability to control the source of Python distributions - Upgrade Ruff to 0.4.5 - Upgrade PyApp to 0.22.0 for binary builds - The fmt command no longer hides the commands that are being executed - Add default timeout for network requests, useful when installing Python distributions - Fix syntax highlighting contrast for the config show command - 1.11.1: - Add official GitHub Action for installing Hatch - Fix terminal.styles.spinner configuration - Fix entry points in the pre-built distributions that binaries use - 1.11.0: - Upgrade PyApp to 0.21.1 for binary builds - On Linux, install the highest compatible Python distribution variant based on CPU architecture rather than assuming recent hardware - 1.10.0: - The run/env run, fmt and shell commands now only change the current working directory to the project root if not already inside the project - The shell command now accepts a single argument to specify the environment to enter which overrides the standard choice mechanisms. The arguments determining shell options have been converted to flags. - Add test command OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hatch?expand=0&rev=35
19 lines
724 B
Diff
19 lines
724 B
Diff
Index: hatch-hatch-v1.12.0/tests/conftest.py
|
|
===================================================================
|
|
--- hatch-hatch-v1.12.0.orig/tests/conftest.py
|
|
+++ hatch-hatch-v1.12.0/tests/conftest.py
|
|
@@ -95,11 +95,12 @@ def isolation(uv_on_path) -> Generator[P
|
|
'GIT_AUTHOR_EMAIL': 'foo@bar.baz',
|
|
'COLUMNS': '80',
|
|
'LINES': '24',
|
|
+ 'HATCH_ENV_TYPE_VIRTUAL_UV_PATH': '',
|
|
}
|
|
if PLATFORM.windows:
|
|
default_env_vars['COMSPEC'] = 'cmd.exe'
|
|
else:
|
|
- default_env_vars['SHELL'] = 'sh'
|
|
+ default_env_vars['SHELL'] = 'bash'
|
|
|
|
with d.as_cwd(default_env_vars):
|
|
os.environ.pop(AppEnvVars.ENV_ACTIVE, None)
|