Skip to content

Commit

Permalink
feat: support Python 3.10 (#363)
Browse files Browse the repository at this point in the history
  • Loading branch information
domoritz authored Aug 2, 2022
1 parent 371705e commit 1a5431b
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .python-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.9
3.10
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ clean:
@jupyter-book clean docs
@rm -rf .coverage
@rm -rf dist
@find . -type d -name '.pytype' -exec rm -rf {} +
@find . -type d -name '.mypy_cache' -exec rm -rf {} +
@find . -type d -name '__pycache__' -exec rm -rf {} +
@find . -type d -name '*pytest_cache*' -exec rm -rf {} +
Expand Down
2 changes: 1 addition & 1 deletion docs/intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ The code for Draco is [available as open source on GitHub](https://github.com/cm

## Installation

TODO: set up and describe installation with conda.
You can install the Draco package from Pypi via `pip install draco --pre`. Note that the new version of Draco is current a prerelease.
5 changes: 3 additions & 2 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 2 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,14 @@ classifiers = [
"Operating System :: MacOS :: MacOS X",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
]

[tool.poetry.dependencies]
clingo = "^5.5.2"
matplotlib = "^3.5.2"
pandas = "^1.4.2"
python = ">=3.8.0,<3.10"
python = ">=3.8.0,<3.11"
scikit-learn = "^1.1.1"

[tool.poetry.dev-dependencies]
Expand All @@ -56,8 +57,5 @@ build-backend = "poetry.core.masonry.api"
[tool.pyright]
include = ["draco"]

[tool.black]
exclude = "docs/conf.py|docs/_build|.pytype"

[tool.isort]
profile = "black"

0 comments on commit 1a5431b

Please sign in to comment.