18 Commits

Author SHA256 Message Date
Dominique Leuenberger
bf1c206c2f Accepting request 1086107 from devel:languages:python
- Add fix-sdist-target.patch to fix tests: gh#pypa/hatch@1b10663e645e
- 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/request/show/1086107
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hatch?expand=0&rev=6
2023-05-11 10:33:35 +00:00
d318249e4b - 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
244b96836e - 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
Dominique Leuenberger
7892c0913f Accepting request 1057750 from 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
    cached for improved performance
  * Add build_environment_exists method to the environment
    interface for implementations that cache the build environment
  * Add path option to the virtual environment type
  * Add --initialize-auth flag to the index publisher to allow for
    the saving of authentication information before publishing
  * Support Bash on Windows for the shell command
  * The setuptools migration script no longer modifies the
    formatting of existing pyproject.toml configuration
  * Bump the minimum supported version of Hatchling to 1.11.0
  ## Fixed:
  * Environments now respect dynamically defined project
    dependencies
  * The dep hash and all dep show commands now respect dynamically
    defined project dependencies
  * The env show, dep hash, and all dep show commands now honor
    context formatting
  * Fix matrix variable inclusion filtering of the run and env run
    commands when there are multiple possible variables
  * Build environment compatibility is now checked before use
  * Decreasing verbosity now has no affect on output that should
    always be displayed
  * Handle more edge cases in the setuptools migration script
  * Environments now respect user defined environment variables for
    context formatting
  * Update the scripts in the generated test environment template
    for new projects to reflect the documentation
  * Allow extra-dependencies in environment overrides
  * Depend on packaging explicitly rather than relying on it being
    a transitive dependency of Hatchling
- Release 1.5.0 - 2022-08-28
  ## Added:
  * The index publisher now recognizes repository-specific options
  * Add the --ignore-compat flag to the env run command
  * Setting the HATCH_PYTHON environment variable to self will now
    force the use of the Python executable Hatch is running on for
    virtual environment creation
  ## Fixed:
  * Fix the --force-continue flag of the env run command
  * Handle more edge cases in the setuptools migration script
- Release 1.4.2 - 2022-08-16
  ## Fixed:
  * Fix check for updating static versions with the version command
    when metadata hooks are in use
- Release 1.4.1 - 2022-08-13
  ## Fixed:
  * Fix non-detached inheritance disabling for environments
- Release 1.4.0 - 2022-08-06
  ## Added:
  * The default Python for virtual environments now checks PATH
    before using the one Hatch is running on
  * Values for environment env-vars now support context formatting
  * Add name override for environments to allow for regular
    expression matching
  * The index publisher now better supports non-PyPI indices
  * Add certificate options to the index publisher
  * Display waiting text when checking dependencies and removing
    environments
  * Display help text the first time the shell command is executed
  * Update project templates with Python 3.11 and the latest
    versions of various GitHub Actions
  * Add support for Almquist (ash) shells
  * Add hyperlink as a dependency for better handling of package
    index URLs
  * Bump the minimum supported version of virtualenv to 20.16.2
  * Bump the minimum supported version of tomlkit to 0.11.1
  ## Fixed:
  * Acknowledge extra-dependencies for the env show command
  * Fix locating executables within virtual environments on Debian
  * Fix managing the terminal size inside the shell command
  * Fix default code coverage file omission for the src-layout
    project template option
- Release 1.3.1 - 2022-07-11
  ## Fixed:
  * Support -h/--help flag for the run command
- Release 1.3.0 - 2022-07-10
  ## Changed:
  * Rename the default publishing plugin from pypi to the more
    generic index
  ## Added:
  * Support the absence of pyproject.toml files, as is the case for
    apps and non-Python projects
  * Hide scripts that start with an underscore for the env show
    command by default
  * Ignoring the exit codes of commands by prefixing with hyphens
    now works with entire named scripts
  * Add a way to require confirmation for publishing
  * Add --force-continue flag to the env run command
  * Make tracebacks colorful and less verbose
  * When shell configuration has not been defined, attempt to use
    the current shell based on parent processes before resorting to
    the defaults
  * The shell name pwsh is now an alias for powershell
  * Remove atomicwrites dependency
  * Relax constraint on userpath dependency
  * Bump the minimum supported version of Hatchling to 1.4.1
  ## Fixed:
  * Keep environments in sync with the dependencies of the selected
    features
  * Use utf-8 for all files generated for new projects
  * Escape special characters Git may return in the user name when
    writing generated files for new projects
  * Normalize the package name to lowercase in setuptools migration
    script
  * Fix parsing of source distributions during publishing
- Release 1.2.1 - 2022-05-30
  ## Fixed:
  * Fix handling of top level data_files in setuptools migration
    script
- Release 1.2.0 - 2022-05-22
  ## Changed:
  * The enter_shell environment plugin method now accepts an
    additional args parameter
  ## Added:
  * Allow context string formatting for environment dependencies
  * Add environment context string formatting fields env_name,
    env_type, matrix, verbosity, and args
  * Support overriding the default arguments used to spawn shells
    on non-Windows systems
  * Bump the minimum supported version of Hatchling to 1.3.0
  ## Fixed:
  * Improve setuptools migration script
- Release 1.1.2 - 2022-05-20
  ## Fixed:
  * Bump the minimum supported version of Hatchling to 1.2.0
  * Update project metadata to reflect support for Python 3.11
- Release 1.1.1 - 2022-05-12
  ## Fixed:
  * Fix setuptools migration script for non-Windows systems
- Release 1.1.0 - 2022-05-12
  ## Changed:
  * In order to simplify the implementation of command execution
    for environment plugins, the run_shell_commands method has been
    replaced by the singular run_shell_command. A new
    command_context method has been added to more easily satisfy
    complex use cases.
  * The finalize_command environment plugin method has been removed
    in favor of the newly introduced context formatting
    functionality.
  ## Added:
  * Add context formatting functionality i.e. the ability to insert
    values into configuration like environment variables and
    command line arguments
  * Any verbosity for command execution will now always display
    headers, even for single environments
  * Every executed command is now displayed when running multiple
    commands or when verbosity is enabled
  * Similar to make, ignore the exit code of executed commands that
    start with - (a hyphen)
  * Add ability for the --init flag of the new command to
    automatically migrate setuptools configuration
  * Update project metadata to reflect the adoption by PyPA and
    production stability
- Release 1.0.0 - 2022-04-28
  * This is the first stable release of Hatch v1, a complete
    rewrite. Enjoy!
- Use python dependency generator, check in multibuild
- Add hatch-pr659-utf8.patch for compatibility with new hatchling
  (gh#pypa/hatch#659).

OBS-URL: https://build.opensuse.org/request/show/1057750
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hatch?expand=0&rev=5
2023-01-11 13:36:00 +00:00
3f35c6d07e 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
fcd053b419 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
Dominique Leuenberger
8e32bb0b75 Accepting request 812555 from devel:languages:python
- Testsuite is too flaky, just skip the stuff overall unless someone
  invests more time into it

- Skip more flaky tests

OBS-URL: https://build.opensuse.org/request/show/812555
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hatch?expand=0&rev=4
2020-06-08 22:08:52 +00:00
Tomáš Chvátal
044cbdde33 - 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
ddf43c21a0 - 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
Yuchen Lin
e742487e1d Accepting request 808802 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/808802
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hatch?expand=0&rev=3
2020-05-26 15:49:54 +00:00
Tomáš Chvátal
8016ec84a9 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
Dominique Leuenberger
3df40cf8e7 Accepting request 791483 from devel:languages:python
- Skip flaky test

- Update to 0.23.0:
  * fixes wheel packaging a bit

OBS-URL: https://build.opensuse.org/request/show/791483
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hatch?expand=0&rev=2
2020-04-05 18:55:28 +00:00
Tomáš Chvátal
0f272e08b3 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hatch?expand=0&rev=6 2020-04-05 07:46:07 +00:00
Tomáš Chvátal
fb612fedf5 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hatch?expand=0&rev=5 2020-04-05 07:28:56 +00:00
Tomáš Chvátal
b15350b4cc - 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
781676957e OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hatch?expand=0&rev=3 2020-04-05 07:17:47 +00:00
Dominique Leuenberger
fa6a27e1e9 Accepting request 745356 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/745356
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hatch?expand=0&rev=1
2019-11-27 12:51:17 +00:00
Tomáš Chvátal
aceb204284 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