34 Commits

Author SHA256 Message Date
bdc7ae15e0 - Add packaging26.patch to fix compatibility with packaging 26.0
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hatch?expand=0&rev=62
2026-02-03 10:10:33 +00:00
ea1640c038 Accepting request 1329686 from home:mcalabkova:branches:devel:languages:python
- Update to 1.16.3
  * Env var for keep-env when an exception occurs during environment
    creation to enable debugging.
  * Fix issue with self-referential dependencies not being recognized.
  * Fix incomplete environments created when an exception occurs during
    creation.
  * Fix dependency-groups not working with when environment is not
    marked as builder.
  * Change Keyring to take expect repository URL instead of repository
    name.
- Drop python39 build requirement
- Add shell.patch to fix visible regression with 1.16.3

OBS-URL: https://build.opensuse.org/request/show/1329686
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hatch?expand=0&rev=60
2026-01-29 12:17:14 +00:00
a24f5e1c13 Accepting request 1325482 from home:bnavigator:branches:devel:languages:python
- Update to 1.16.2
  * Properly send informational output to stderr instead of stdout
  * Implement documented support for sbom-files as build data for
    the wheel build target
  * Fix regression where environments no longer acknowledged the
    project.optional-dependencies field
- Release 1.16.1
  * Handle special characters correctly in path for editable
    installs.
  * Fix multiple calls to install on sync_dependencies to become a
    single call.
  * Fix context variable formatting in project dependencies to
    prevent crashes when using variables like {root:parent:uri} in
    the [project] section.
  * Fix environment overrides for dependency-groups field to
    properly support matrix and conditional configurations.
- Release 1.16.0
  ## Changed:
  * Drop support for 3.9
  * Environment type plugins are now no longer expected to support
    a pseudo-build environment as any environment now may be used
    for building. The following methods have been removed:
    build_environment, build_environment_exists, run_builder,
    construct_build_command
  ## Added:
  * Support for workspaces inspired by Cargo Workspaces
  * Dependency group support.
  * The version and project metadata commands now support projects
    that do not use Hatchling as the build backend
  * The version command accepts a --force option, allowing for
    downgrades when an explicit version number is given.
  * Build environments can now be configured, the default build
    environment is hatch-build
  * The environment interface now has the following methods and
    properties in order to better support builds on remote
    machines: project_root, sep, pathsep, fs_context
  * Bump the minimum supported version of packaging to 24.2
  * Upgrade Ruff to 0.13.2
  ## Fixed:
  * All HTTP requests now set an identifiable User-Agent header.
  * Fix issue where terminal output would be out of sync during
    build.
  * Fix for Click Sentinel value when using run command
- Drop fix-with-latest-hatchling.patch
- Drop fix-tests.patch
- Provide some wheels for the test suite gh#pypa/hatch#2123

OBS-URL: https://build.opensuse.org/request/show/1325482
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hatch?expand=0&rev=58
2026-01-06 14:10:52 +00:00
9c15560d82 Accepting request 1318177 from home:glaubitz:branches:devel:languages:python
- Update to 1.15.1
  * Fix compatibility with cached default CPython distributions
    that were sourced from GitHub releases of the old owner

OBS-URL: https://build.opensuse.org/request/show/1318177
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hatch?expand=0&rev=56
2025-11-18 11:37:17 +00:00
0b0721e665 - Use python-uv for Requires, so it explicitly matches the Python version.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hatch?expand=0&rev=54
2025-11-10 01:25:14 +00:00
9dcaccbafe Accepting request 1311650 from home:nkrapp:branches:devel:languages:python
- Update to 1.15.0
  * Drop support for Python 3.8
  * Support Python 3.14
  * Upgrade default CPython distributions to 20251014
  * Upgrade default PyPy distributions to 7.3.20
- Update to 1.14.2
  * Fix compatibility with recent versions of Click
- drop click-8.2.patch, fixed upstream
- Add fix-tests.patch to fix tests

OBS-URL: https://build.opensuse.org/request/show/1311650
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hatch?expand=0&rev=52
2025-10-16 16:30:42 +00:00
6e4ef61fad - Convert to libalternatives on SLE-16-based and newer systems only
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hatch?expand=0&rev=50
2025-08-21 08:23:45 +00:00
7bba036ccb - Convert to libalternatives
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hatch?expand=0&rev=48
2025-07-10 12:34:37 +00:00
7270bf5920 - Add click-8.2.patch to fix tests with click >= 8.2
gh#pypa/hatch#2013

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hatch?expand=0&rev=46
2025-06-26 09:39:19 +00:00
9292141c57 Accepting request 1269779 from home:glaubitz:branches:devel:languages:python
- Update to 1.14.1
  * Remove uses of the deprecated --no-python-version-warning
    flag when using pip

OBS-URL: https://build.opensuse.org/request/show/1269779
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hatch?expand=0&rev=44
2025-04-16 07:57:04 +00:00
7bad004796 Accepting request 1232667 from home:nkrapp:branches:devel:languages:python
- Add fix-with-latest-hatchling.patch to restore compatibility with
  hatchling >= 1.26.0
- actually remove fix-test.patch from tracked files
- Update to 1.14.0:
  * Upgrade default CPython distributions to 20241206
  * Bump the minimum supported version of Hatchling to 1.26.3
  * Update virtualenv dependency

OBS-URL: https://build.opensuse.org/request/show/1232667
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hatch?expand=0&rev=42
2024-12-19 18:48:28 +00:00
5c0b58ddd6 - actually remove fix-test.patch from tracked files
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hatch?expand=0&rev=41
2024-12-19 15:41:12 +00:00
80c4b86eba - Upgrade to 1.13.0:
- Remove upstreamed patches:
  - fix-tests.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hatch?expand=0&rev=40
2024-12-11 18:33:50 +00:00
99479a20f6 - Add new patch to fix tests: fix-tests.patch
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hatch?expand=0&rev=38
2024-08-13 06:34:01 +00:00
2fb6b3f81d - Remove upstreamed patch: support-hatchling-1.22.patch
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hatch?expand=0&rev=37
2024-08-12 09:31:07 +00:00
858a8a313d - update to 1.12.0:
- 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
2024-08-08 11:43:47 +00:00
a84b0f4025 - Add patch support-hatchling-1.22.patch:
* Support updates for the new Hatchling.
- Add missing BuildRequires on editables, required for tests.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hatch?expand=0&rev=33
2024-03-27 03:00:48 +00:00
6033f1e457 - update to 1.9.4:
* Limit the maximum version of Hatchling in anticipation of
    backward incompatible changes
- update to 1.9.3:
  * Fix loading of local plugins to account for newly released
    versions of a dependency
- update to 1.9.2:
  * Fix the default token variable name for publishing to PyPI

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hatch?expand=0&rev=32
2024-03-24 13:26:02 +00:00
11592ceca1 Accepting request 1135083 from home:bnavigator:branches:devel:languages:python
- Update to 1.9.1
  * Ensure that the dependency_hash method of the environment
    interface is called after sync_dependencies for cases where the
    hash is only known at that point, such as for dependency
    lockers
  * Only acknowledge the HATCH_PYTHON_VARIANT_* environment
    variables for Python resolution for supported platforms and
    architectures
  * Fix Python resolution when there are metadata hooks with
    unsatisfied dependencies
- Unskip default platform tests gh#pypa/hatch#1145, but skip
  error checker

- Update to 1.9.0
  ## Changed:
  * Environments prefixed by hatch- are now considered internal and
    used for special purposes such as configuration for static
    analysis
  ## Added:
  * Enable docstring formatting by default for static analysis
  * Allow for overriding config of internal environments
  * Concretely state the expected API contract for the environment
    interface methods find and check_compatibility
  * Upgrade Ruff to 0.1.8
  * Bump the minimum supported version of Hatchling to 1.21.0
  ## Fixed:
  * Ignore a project's Python requirement for environments where
    the project is not installed
  * When not persisting config for static analysis, properly manage
    internal settings when Ruff's top level table already exists

OBS-URL: https://build.opensuse.org/request/show/1135083
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hatch?expand=0&rev=30
2023-12-27 10:46:48 +00:00
da1a768e1f Accepting request 1133911 from home:bnavigator:branches:devel:languages:python
- Update to 1.8.1
  ## Fixed:
  * Fix regression in calling subprocesses with updated PATH
  * Fix automatic installation of environment plugins when running
    as a standalone binary
  * Change default location of Python installations
- Release 1.8.0
  ## Changed:
  * Drop support for Python 3.7
  * The get_build_process method of the environment interface has
    been removed; plugins should use the new run_builder method
    instead
  * Remove pyperclip dependency and the --copy flag of the config
    find command
  * When running the build command all output from builders is now
    displayed as-is in real time without the stripping of ANSI
    codes
  * Version information (for Hatch itself) is now derived from Git
  ## Added:
  * Support Python 3.12
  * Add installers and standalone binaries
  * Add the ability to manage Python installations
  * Add fmt command
  * The virtual environment type can now automatically download
    requested versions of Python that are not installed
  * Add dependency_hash method to the environment interface
  * The state of installed dependencies for environments is saved
    as metadata so if dependency definitions have not changed then
    no checking is performed, which can be computationally
    expensive

OBS-URL: https://build.opensuse.org/request/show/1133911
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hatch?expand=0&rev=28
2023-12-19 08:42:14 +00:00
031dc71fa4 Accepting request 1128299 from home:mcalabkova:branches:devel:languages:python
- Add packaging232.patch to fix tests with recent packaging

OBS-URL: https://build.opensuse.org/request/show/1128299
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hatch?expand=0&rev=26
2023-11-23 13:52:07 +00:00
1120227034 - Remove superflous BR pytest plugins: randomly rerunfailures
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hatch?expand=0&rev=24
2023-10-07 11:16:23 +00:00
c7793e9b7f Accepting request 1112235 from home:mcalabkova:branches:devel:languages:python
- Add CI.patch to fix tests

OBS-URL: https://build.opensuse.org/request/show/1112235
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hatch?expand=0&rev=22
2023-09-19 11:18:19 +00:00
58498cffc0 Accepting request 1094318 from home:bnavigator:branches:devel:languages:python
- Add hatch-pr828-pth-tests.patch, gh#pypa/hatch#828 fixing
  test failure with hatchling >= 1.17.1

OBS-URL: https://build.opensuse.org/request/show/1094318
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hatch?expand=0&rev=20
2023-06-21 17:27:58 +00:00
2cd8e4d8dd Accepting request 1092100 from home:ecsos:python
- Add %{?sle15_python_module_pythons}

OBS-URL: https://build.opensuse.org/request/show/1092100
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hatch?expand=0&rev=19
2023-06-11 11:43:49 +00:00
7ff6f72e32 - Add fix-sdist-target.patch to fix tests: gh#pypa/hatch@1b10663e645e
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hatch?expand=0&rev=17
2023-05-10 16:08:00 +00:00
5e38d82e08 - update to 1.7.0:
* The `src-layout` project template option is now enabled by
    default
  * Non-critical output now goes to stderr
  * Add `tool.hatch.env.requires` configuration to automatically
    install dependencies for environment and environment
    collector plugins
  * Add `custom` environment collector
  * Improve syncing of dependencies provided through Git direct
    references
  * Add `isolated_data_directory` attribute to the environment
    interface
  * Increase the timeout for and add retries to the `index`
    publisher
  * Expand home and environment variables in configured cache and
    data directories
  * Improve readability of exceptions
  * Update project templates
  * Bump the minimum supported version of Hatchling to 1.14.0
  * Fix displaying the version with the `version` command when
    the version is static and build dependencies are unmet
  * Fix build environments for the `virtual` environment type
    when storing within a relative path
  * Allow setuptools metadata migration for projects without
    `setup.py` if `setup.cfg` is present
  * Handle additional edge cases for setuptools metadata
    migration
  * Support boolean values for the `config set` command
- drop hatch-pr659-utf8.patch (upstream)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hatch?expand=0&rev=16
2023-05-05 10:47:00 +00:00
4ce430c335 Fix changelog
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hatch?expand=0&rev=14
2023-01-11 10:41:16 +00:00
2418b00a2a Accepting request 1057152 from home:bnavigator:branches:devel:languages:python
- Update to v1.6.3
  ## Fixed:
  * Fix version command when the version is dynamic and build
    dependencies are unmet
- Release 1.6.2 - 2022-10-20
  ## Fixed:
  * Fix getting dynamic metadata from hooks for environments when
    dependencies are not dynamic
- Release 1.6.1 - 2022-10-16
  ## Fixed:
  * Computing the path to the user's home directory now gracefully
    falls back to ~ when it cannot be determined
- Release 1.6.0 - 2022-10-08
  ## Changed:
  * The run_shell_command environment interface method now accepts
    arbitrary subprocess.Popen keyword arguments. This is not
    strictly breaking, but will be utilized in upcoming features.
  * The internal directory structure for storing virtual
    environments is now more nested. This is not breaking, but any
    local environments will be created anew.
  ## Added:
  * Add project command group to view details about the project
    like PEP 621 metadata
  * Better support for auto-detection of environments by tools like
    Visual Studio Code now that the storage directory of virtual
    environments will be flat if Hatch's configured virtual
    environment directory resides somewhere within the project root
    or if it is set to a .virtualenvs directory within the user's
    home directory
  * Build environments for the virtual environment type are now

OBS-URL: https://build.opensuse.org/request/show/1057152
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hatch?expand=0&rev=13
2023-01-10 14:21:55 +00:00
Tomáš Chvátal
76395fd80a - Testsuite is too flaky, just skip the stuff overall unless someone
invests more time into it

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hatch?expand=0&rev=11
2020-06-08 11:02:47 +00:00
Tomáš Chvátal
70ae5cc706 - Skip more flaky tests
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hatch?expand=0&rev=10
2020-06-03 08:08:31 +00:00
Tomáš Chvátal
c1446cc71e Accepting request 808747 from home:pgajdos:python
submit

OBS-URL: https://build.opensuse.org/request/show/808747
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hatch?expand=0&rev=8
2020-05-25 13:36:27 +00:00
Tomáš Chvátal
1457253c12 - Skip flaky test
- Update to 0.23.0:
  * fixes wheel packaging a bit

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hatch?expand=0&rev=4
2020-04-05 07:19:49 +00:00
Tomáš Chvátal
8335f4d5f4 Accepting request 741474 from home:jayvdb:py-new
Old tool, so low current download stats, revitalised with new release today
Available on Fedora https://repology.org/project/hatch/versions

OBS-URL: https://build.opensuse.org/request/show/741474
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hatch?expand=0&rev=1
2019-10-21 11:40:13 +00:00