Tornium / tornium

A website and Discord bot to assist with the playing of Torn City developed with love <3
https://tornium.com
12 stars 7 forks source link

Bump async-timeout from 3.0.1 to 4.0.2 #10

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Bumps async-timeout from 3.0.1 to 4.0.2.

Release notes

Sourced from async-timeout's releases.

v4.0.2

Misc

v4.0.1

  • Fix regression:

    1. Don't raise TimeoutError from timeout object that doesn't enter into async context manager

    2. Use call_soon() for raising TimeoutError if deadline is reached on entering into async context manager

    (#258)

  • Make Timeout class available in __all__.

async-timeout 4.0.0

Changes

  • Implemented timeout_at(deadline) (#117)

  • Supported timeout.deadline and timeout.expired properties.

  • Drooped timeout.remaining property: it can be calculated as timeout.deadline - loop.time()

  • Dropped timeout.timeout property that returns a relative timeout based on the timeout object creation time; the absolute timeout.deadline should be used instead.

  • Added the deadline modification methods: timeout.reject(), timeout.shift(delay), timeout.update(deadline).

  • Deprecated synchronous context manager usage

Changelog

Sourced from async-timeout's changelog.

4.0.2 (2021-12-20)

Misc

  • [#259](https://github.com/aio-libs/async-timeout/issues/259) <https://github.com/aio-libs/async-timeout/issues/259>, [#274](https://github.com/aio-libs/async-timeout/issues/274) <https://github.com/aio-libs/async-timeout/issues/274>

4.0.1 (2121-11-10)

  • Fix regression:

    1. Don't raise TimeoutError from timeout object that doesn't enter into async context manager

    2. Use call_soon() for raising TimeoutError if deadline is reached on entering into async context manager

    (#258)

  • Make Timeout class available in __all__.

4.0.0 (2021-11-01)

  • Implemented timeout_at(deadline) (#117)

  • Supported timeout.deadline and timeout.expired properties.

  • Dropped timeout.remaining property: it can be calculated as timeout.deadline - loop.time()

  • Dropped timeout.timeout property that returns a relative timeout based on the timeout object creation time; the absolute timeout.deadline should be used instead.

  • Added the deadline modification methods: timeout.reject(), timeout.shift(delay), timeout.update(deadline).

  • Deprecated synchronous context manager usage

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)
dssecret commented 2 years ago

Incompatible with discord.py

  File "/home/xxx/PycharmProjects/tornium-pro/bot.py", line 12, in <module>
    import discord
  File "/home/xxx/IdeaProjects/torn-command/venv/lib/python3.8/site-packages/discord/__init__.py", line 25, in <module>
    from .client import Client
  File "/home/xxx/IdeaProjects/torn-command/venv/lib/python3.8/site-packages/discord/client.py", line 33, in <module>
    import aiohttp
  File "/home/xxx/IdeaProjects/torn-command/venv/lib/python3.8/site-packages/aiohttp/__init__.py", line 6, in <module>
    from .client import (
  File "/home/xxx/IdeaProjects/torn-command/venv/lib/python3.8/site-packages/aiohttp/client.py", line 35, in <module>
    from . import hdrs, http, payload
  File "/home/xxx/IdeaProjects/torn-command/venv/lib/python3.8/site-packages/aiohttp/http.py", line 7, in <module>
    from .http_parser import (
  File "/home/xxx/IdeaProjects/torn-command/venv/lib/python3.8/site-packages/aiohttp/http_parser.py", line 15, in <module>
    from .helpers import NO_EXTENSIONS, BaseTimerContext
  File "/home/xxx/IdeaProjects/torn-command/venv/lib/python3.8/site-packages/aiohttp/helpers.py", line 667, in <module>
    class CeilTimeout(async_timeout.timeout):
TypeError: function() argument 'code' must be code, not str
dependabot[bot] commented 2 years ago

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.