Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unused dependency #1383

Merged
merged 1 commit into from
May 31, 2024
Merged

Conversation

kajinamit
Copy link
Contributor

The trollius library is required only in Python <= 3.4, but currently Python 3.8 is the minimum supported version.

@kajinamit kajinamit closed this Apr 20, 2024
@kajinamit kajinamit reopened this Apr 20, 2024
@rafaelweingartner
Copy link
Contributor

rafaelweingartner commented May 29, 2024

Isn't this used here?

import trollius as asyncio

https://github.com/gnocchixyz/gnocchi/blob/master/gnocchi/statsd.py#L21

The trollius library is required only in Python <= 3.4, but currently
Python 3.8 is the minimum supported version.
@kajinamit
Copy link
Contributor Author

kajinamit commented May 30, 2024

Isn't this used here?

import trollius as asyncio

https://github.com/gnocchixyz/gnocchi/blob/master/gnocchi/statsd.py#L21

Oops. Good catch. I removed the ImportError fallback because the asyncio module is available in all of the python versions currently supported (python >= 3.8) and the fallback is not actually used.

@tobias-urdin tobias-urdin merged commit 49c9901 into gnocchixyz:master May 31, 2024
23 checks passed
@kajinamit kajinamit deleted the remove-dep branch August 20, 2024 09:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants