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

chore: remove typing-extensions from dependencies #169

Merged
merged 1 commit into from
Apr 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion journalpump.spec
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Summary: Pump messages from systemd journal to Elasticsearch, Kafka, Logp
License: ASL 2.0
Source0: journalpump-rpm-src.tar.gz
Requires: python3-kafka, systemd-python3, python3-requests, python3-botocore, python3-google-api-client
Requires: python3-google-auth, python3-geoip2, python3-typing-extensions
Requires: python3-google-auth, python3-geoip2
Requires: python3-websockets, python3-aiohttp-socks, python3-snappy
BuildRequires: python3-kafka, systemd-python3, python3-requests, python3-botocore, python3-google-api-client
BuildRequires: python3-devel, python3-pytest, python3-pylint python3-responses
Expand Down
8 changes: 2 additions & 6 deletions journalpump/types.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
"""JournalPump internal types"""
import enum
import sys
from typing import Protocol

if sys.version_info >= (3, 8):
from typing import Protocol # pylint: disable=no-name-in-module
else:
from typing_extensions import Protocol
import enum


class GeoIPProtocol(Protocol):
Expand Down
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,4 @@ google-api-python-client
google-auth
geoip2
https://github.com/systemd/python-systemd/zipball/master
typing-extensions
google-re2
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
"google-api-python-client",
"google-auth",
"geoip2",
"typing-extensions",
],
dependency_links=[],
package_data={},
Expand Down
Loading