surfedushare / search-portal

A search service for finding open access higher education learning materials
MIT License
2 stars 1 forks source link

Bump argh from 0.26.2 to 0.28.1 #802

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps argh from 0.26.2 to 0.28.1.

Release notes

Sourced from argh's releases.

v0.28.1

What's Changed

Full Changelog: https://github.com/neithere/argh/compare/v0.28.0...v0.28.1

Thanks to everyone who reported

v.0.28.0

A major modernisation and cleanup.

Backward incompatible changes:

  • Dropped support for Python 2.7 and 3.7.

Deprecated features, to be removed in v.0.30:

  • argh.assembling.SUPPORTS_ALIASES.

    • Always True for recent versions of Python.
  • argh.io.safe_input() AKA argh.interaction.safe_input().

    • Not relevant anymore. Please use the built-in input() instead.
  • argument pre_call in dispatch().

    Even though this hack seems to have been used in some projects, it was never part of the official API and never recommended.

    Describing your use case in the discussion about shared arguments (#63) can help improve the library to accomodate it in a proper way.

  • Argument help as annotations.

    • Annotations will only be used for types after v.0.30.
    • Please replace any instance of:
      def func(foo: "Foobar"):
      
      with the following::
      @arg('-f', '--foo', help="Foobar")
      def func(foo):
      
      It will be decided later how to keep this functionality "DRY" (don't repeat yourself) without conflicts with modern conventions and tools.
  • Added deprecation warnings for some arguments deprecated back in v.0.26.

Full Changelog: https://github.com/neithere/argh/compare/v0.27.2...v0.28.0

... (truncated)

Changelog

Sourced from argh's changelog.

Version 0.28.1

Version 0.28.0

A major cleanup.

Backward incompatible changes:

  • Dropped support for Python 2.7 and 3.7.

Deprecated features, to be removed in v.0.30:

  • argh.assembling.SUPPORTS_ALIASES.

    • Always True for recent versions of Python.
  • argh.io.safe_input() AKA argh.interaction.safe_input().

    • Not relevant anymore. Please use the built-in input() instead.
  • argument pre_call in dispatch().

    Even though this hack seems to have been used in some projects, it was never part of the official API and never recommended.

    Describing your use case in the discussion about shared arguments_ can help improve the library to accomodate it in a proper way.

    .. _discussion about shared arguments: neithere/argh#63

  • Argument help as annotations.

    • Annotations will only be used for types after v.0.30.

    • Please replace any instance of::

      def func(foo: "Foobar"):

      with the following::

      @​arg('-f', '--foo', help="Foobar") def func(foo):

      It will be decided later how to keep this functionality "DRY" (don't repeat yourself) without conflicts with modern conventions and tools.

  • Added deprecation warnings for some arguments deprecated back in v.0.26.

... (truncated)

Commits


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
dependabot[bot] commented 1 year ago

Looks like argh is up-to-date now, so this is no longer needed.