Skip to content

Commit

Permalink
drop 3.8 support
Browse files Browse the repository at this point in the history
  • Loading branch information
akshayka committed Oct 1, 2024
1 parent 4b7cf7e commit 282d9d4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
6 changes: 1 addition & 5 deletions marimo/_utils/paths.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,11 @@
from __future__ import annotations

import os
import sys
from typing import Any


def import_files(filename: str) -> Any:
if sys.version_info < (3, 9):
from importlib_resources import files as importlib_files
else:
from importlib.resources import files as importlib_files
from importlib.resources import files as importlib_files

return importlib_files(filename)

Expand Down
6 changes: 2 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ dynamic = ["version"]
dependencies = [
# For maintainable cli
"click>=8.0,<9",
# For python 3.8 compatibility
"importlib_resources>=5.10.2; python_version < \"3.9\"",
# code completion
"jedi>=0.18.0",
# compile markdown to html
Expand Down Expand Up @@ -51,7 +49,7 @@ dependencies = [
]
readme = "README.md"
license = { file = "LICENSE" }
requires-python = ">=3.8"
requires-python = ">=3.9"
classifiers = [
"Operating System :: OS Independent",
"License :: OSI Approved :: Apache Software License",
Expand All @@ -61,10 +59,10 @@ classifiers = [
"Intended Audience :: Science/Research",
"Intended Audience :: Education",
"Programming Language :: Python",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3 :: Only",
]

Expand Down

0 comments on commit 282d9d4

Please sign in to comment.