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

feat!: add initial support for python 3.12 #209

Merged
merged 1 commit into from
Mar 4, 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 .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
matrix:
# Test against all supported Python minor versions
# Specified only minor version: the latest patch is used
python-version: ['3.11', '3.10', '3.9', '3.8']
python-version: ['3.12', '3.11', '3.10', '3.9']
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
Expand Down
17 changes: 9 additions & 8 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,14 @@ exclude = ["tests"]
readme = "README.md"

[tool.poetry.dependencies]
python = ">=3.8, <3.12"
python = ">=3.9, <3.13"
ipykernel = "*"
pandas = [
{ version = ">=1.5, <2.1", python = "~3.8" },
{ version = ">=1.5, <2.3", python = ">=3.9" }
pandas = ">=1.5, <2.3"
numpy = [
{ version = "*", python = "<3.12" },
{ version = "^1.26.0", python = ">=3.12" },
]
numpy = "*"
scipy = { version = "^1.11", python = ">=3.12" }
matplotlib = "^3.3"
seaborn = "^0.13"
plotly = ">=4.0.0, <6"
Expand All @@ -26,12 +27,12 @@ ipywidgets = ">=7.5, <9"
colorlover = "*"
scikit-learn = ">=0.22.1"
nbconvert = "^7.0.0" # Required for exporting to HTML
umap-learn = { version = "^0.5.4", optional = true}
umap-learn = { version = "^0.5.4", optional = true, python = "<3.12"}
# umap-learn dependes on numba. It is specified explicitly to install
# a newer version, since by default it installs an older version of numba,
# which also installs an older version of llmvlite, which is incompatible
# with newer version of LLVM binaries.
numba = { version = "^0.57", optional = true }
numba = { version = "^0.59", optional = true }
pyarrow = { version = "^14.0.1", optional = true }
isort = "^5.10.1"

Expand All @@ -48,7 +49,7 @@ sphinx-rtd-theme = "~1.3.0"
toml = "^0.10.0"
jupyter = "*"
black = "^22.3.0"
pylint = "^2.14.3"
pylint = "~3.1"
sphinx-copybutton = "^0.5.2"
pytest-xdist = "^3.3.1"

Expand Down
Loading