Skip to content

Commit

Permalink
drop compat code (#91)
Browse files Browse the repository at this point in the history
  • Loading branch information
wbolster authored Sep 1, 2023
1 parent 0d07758 commit 10a2c69
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
7 changes: 1 addition & 6 deletions jsonlines/jsonlines.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
import io
import json
import os
import sys
import types
import typing
from typing import (
Expand All @@ -18,6 +17,7 @@
Iterable,
Iterator,
List,
Literal,
Optional,
Tuple,
Type,
Expand All @@ -27,11 +27,6 @@
overload,
)

if sys.version_info >= (3, 8):
from typing import Literal
else:
from typing_extensions import Literal # pragma: no cover

import attr

orjson: Optional[types.ModuleType]
Expand Down
3 changes: 1 addition & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,9 @@ classifiers =

[options]
packages = jsonlines
python_requires = >=3.7
python_requires = >=3.8
install_requires =
attrs>=19.2.0
typing_extensions; python_version < "3.8"

[options.package_data]
jsonlines = py.typed
Expand Down

0 comments on commit 10a2c69

Please sign in to comment.