dbt-labs / dbt-common

Apache License 2.0
10 stars 15 forks source link

Update agate requirement from <1.10,>=1.7.0 to >=1.7.0,<1.13 #173

Open dependabot[bot] opened 3 months ago

dependabot[bot] commented 3 months ago

Updates the requirements on agate to permit the latest version.

Changelog

Sourced from agate's changelog.

1.12.0 - July 29, 2024

  • feat: :class:.Number accepts a no_leading_zeroes keyword argument, to indicate whether to disallow numbers with leading zeroes (not including a single zero, or a single zero before a decimal).

1.11.0 - May 27, 2024

  • fix: The key argument to :meth:.Table.to_json errors if two values are equal, even if their CSV representation is different: for example, "1/1/2020" and "01/01/2020". However, until now, this was not the case for numbers: for example, "3.0" was treated as unequal to "3.00".

1.10.2 - April 28, 2024

  • fix: Version 1.10.0 errors on piped data.

1.10.1 - April 28, 2024

  • fix: Version 1.10.0 errors on empty tables and seeks to the file's beginning, instead of to the original offset.
  • fix: :meth:.Number.csvify returns a Decimal (or None), instead of str. :meth:.Table.to_csv with quoting=csv.QUOTE_NONNUMERIC now works.

1.10.0 - April 27, 2024

  • feat: :meth:.Table.from_csv reads the file line by line. If column_types is a :class:.TypeTester, it reads the file into memory. (#778)

  • fix: Fix :meth:.TableSet.print_structure for nested tablesets. (#765)

    .. code-block:: python

    import agate mytable = agate.Table([ ('foo', 'FOO', 1), ('foo', 'FOO', 2), ('bar', 'BOZ', 1), ('bar', 'BAZ', 2), ('bar', 'BIZ'), ])

    Instead of:

    .. code-block:: none

    mytable.group_by('a').group_by('b') AttributeError: 'TableSet' object has no attribute 'rows'

    Now:

    .. code-block:: none

    mytable.group_by('a').group_by('b')

... (truncated)

Commits


You can trigger a rebase of this PR 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 show ignore conditions` will show all of the ignore conditions of the specified dependency - `@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)

Note Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

github-actions[bot] commented 3 months ago

Thank you for your pull request! We could not find a changelog entry for this change. For details on how to document a change, see the contributing guide.