Skip to content

Commit

Permalink
Merge pull request #43 from huggingface/fix-minimal-version
Browse files Browse the repository at this point in the history
Fix minimal supported Python version
  • Loading branch information
mariosasko authored Dec 18, 2023
2 parents 1df8e4a + d7c3327 commit c1f3108
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
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

0 comments on commit c1f3108

Please sign in to comment.