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

Fix minimal supported Python version #43

Merged
merged 2 commits into from
Dec 18, 2023
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
5 changes: 1 addition & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
package_dir={"": "src"},
package_data={"": ["assets/*"]},
include_package_data=True,
python_requires=">=3.7.0",
python_requires=">=3.10.0",
install_requires=install_requires,
extras_require=extras,
classifiers=[
Expand All @@ -66,9 +66,6 @@
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
],
Expand Down
4 changes: 2 additions & 2 deletions src/datatrove/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ class MediaType:
class Media:
type: int
url: str
alt: str = None
local_path: str = None
alt: str | None = None
local_path: str | None = None


@dataclass
Expand Down