Skip to content

Commit ef4551e

Browse files
theorashidjessegrabowskimaresb
authored andcommitted
clean up project root (pymc-devs#370)
* do not need pylintrc since we have ruff * simplify project build and package installation from setup.py to pyproject, including the versioning using __version__ attribute * remove .txt files from rtd and gitpod * rename experimental -> extras * Adjustment to requirements * remove __all__ * Adjust setup.py * Add numpy to build-system requires * remove requirements.txt * Read dynamic version from text file * Delete .gitattributes * Move `conftest.py` to tests folder * Simplify setup.py * Switch to `hatchling` based build * Include tests in sdist Co-authored-by: Ben Mares <[email protected]> * Build project with `hatch` in `pypi.yml` * Back to build in the pypi CI * Add `__version__` to `__init__.py` * Add Python 3.13 classifier * Add missing histogram and dask_histogram extras --------- Co-authored-by: Jesse Grabowski <[email protected]> Co-authored-by: Jesse Grabowski <[email protected]> Co-authored-by: Ben Mares <[email protected]>
1 parent 724289d commit ef4551e

File tree

2 files changed

+6
-105
lines changed

2 files changed

+6
-105
lines changed

pyproject.toml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ classifiers = [
1212
"Development Status :: 5 - Production/Stable",
1313
"Programming Language :: Python",
1414
"Programming Language :: Python :: 3",
15+
"Programming Language :: Python :: 3.10",
1516
"Programming Language :: Python :: 3.11",
1617
"Programming Language :: Python :: 3.12",
1718
"Programming Language :: Python :: 3.13",
@@ -22,7 +23,7 @@ classifiers = [
2223
"Operating System :: OS Independent",
2324
]
2425
readme = "README.md"
25-
requires-python = ">=3.11"
26+
requires-python = ">=3.10"
2627
keywords = [
2728
"probability",
2829
"machine learning",
@@ -34,12 +35,9 @@ keywords = [
3435
license = {file = "LICENSE"}
3536
dynamic = ["version"] # specify the version in the __init__.py file
3637
dependencies = [
37-
"pymc>=5.24.1",
38-
"pytensor>=2.31.4",
38+
"pymc>=5.21.1",
3939
"scikit-learn",
40-
"better-optimize>=0.1.5",
41-
"pydantic>=2.0.0",
42-
"preliz>=0.20.0",
40+
"better-optimize"
4341
]
4442

4543
[project.optional-dependencies]
@@ -49,15 +47,15 @@ complete = [
4947
]
5048
dev = [
5149
"pytest>=6.0",
52-
"pytest-mock",
5350
"dask[all]<2025.1.1",
5451
"blackjax",
5552
"statsmodels",
5653
]
5754
docs = [
5855
"nbsphinx>=0.4.2",
56+
"pydata-sphinx-theme>=0.6.3",
5957
"sphinx>=4.0",
60-
"pymc-sphinx-theme>=0.16",
58+
"pymc-sphinx-theme@git+https://github.com/pymc-devs/pymc-sphinx-theme",
6159
]
6260
dask_histogram = [
6361
"dask[complete]<2025.1.1",

setup.py

Lines changed: 0 additions & 97 deletions
This file was deleted.

0 commit comments

Comments
 (0)