Skip to content

Commit 50255cc

Browse files
committed
chore: Update python dependencies
1 parent dbccf3f commit 50255cc

File tree

2 files changed

+41
-48
lines changed

2 files changed

+41
-48
lines changed

pyproject.toml

Lines changed: 41 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -10,32 +10,27 @@ features = ["pyo3/extension-module"]
1010
[project]
1111
name = "nutpie"
1212
description = "Sample Stan or PyMC models"
13-
authors = [{name = "PyMC Developers", email = "[email protected]"}]
13+
authors = [{ name = "PyMC Developers", email = "[email protected]" }]
1414
readme = "README.md"
15-
requires-python = ">=3.9"
15+
requires-python = ">=3.10"
1616
license = { text = "MIT" }
1717
classifiers = [
18-
"Programming Language :: Rust",
19-
"Programming Language :: Python :: Implementation :: CPython",
20-
"Programming Language :: Python :: Implementation :: PyPy",
18+
"Programming Language :: Rust",
19+
"Programming Language :: Python :: Implementation :: CPython",
20+
"Programming Language :: Python :: Implementation :: PyPy",
2121
]
2222

2323
dependencies = [
24-
"pyarrow >= 12.0.0",
25-
"pandas >= 2.0",
26-
"xarray >= 2023.06.0",
27-
"arviz >= 0.15.0",
28-
"fastprogress >= 1.0.3",
24+
"pyarrow >= 12.0.0",
25+
"pandas >= 2.0",
26+
"xarray >= 2023.06.0",
27+
"arviz >= 0.15.0",
2928
]
3029

3130
[project.optional-dependencies]
32-
stan = ["bridgestan >= 2.1.2"]
33-
pymc = ["pymc >= 5.5.0", "numba >= 0.57.1"]
34-
all = [
35-
"bridgestan >= 2.1.2",
36-
"pymc >= 5.5.0",
37-
"numba >= 0.57.1",
38-
]
31+
stan = ["bridgestan >= 2.4.1"]
32+
pymc = ["pymc >= 5.15.0", "numba >= 0.59.1"]
33+
all = ["bridgestan >= 2.4.1", "pymc >= 5.15.0", "numba >= 0.59.1"]
3934

4035
[tool.ruff]
4136
line-length = 88
@@ -45,37 +40,37 @@ output-format = "full"
4540

4641
[tool.ruff.lint]
4742
select = [
48-
"E", # pycodestyle errors
49-
"W", # pycodestyle warnings
50-
"F", # Pyflakes
51-
"I", # isort
52-
"C4", # flake8-comprehensions
53-
"B", # flake8-bugbear
54-
"UP", # pyupgrade
55-
"RUF", # Ruff-specific rules
56-
"TID", # flake8-tidy-imports
57-
"BLE", # flake8-blind-except
58-
"PTH", # flake8-pathlib
59-
"A", # flake8-builtins
43+
"E", # pycodestyle errors
44+
"W", # pycodestyle warnings
45+
"F", # Pyflakes
46+
"I", # isort
47+
"C4", # flake8-comprehensions
48+
"B", # flake8-bugbear
49+
"UP", # pyupgrade
50+
"RUF", # Ruff-specific rules
51+
"TID", # flake8-tidy-imports
52+
"BLE", # flake8-blind-except
53+
"PTH", # flake8-pathlib
54+
"A", # flake8-builtins
6055
]
6156
ignore = [
62-
"C408", # unnecessary-collection-call (allow dict(a=1, b=2); clarity over speed!)
63-
# The following list is recommended to disable these when using ruff's formatter.
64-
# (Not all of the following are actually enabled.)
65-
"W191", # tab-indentation
66-
"E111", # indentation-with-invalid-multiple
67-
"E114", # indentation-with-invalid-multiple-comment
68-
"E117", # over-indented
69-
"D206", # indent-with-spaces
70-
"D300", # triple-single-quotes
71-
"Q000", # bad-quotes-inline-string
72-
"Q001", # bad-quotes-multiline-string
73-
"Q002", # bad-quotes-docstring
74-
"Q003", # avoidable-escaped-quote
75-
"COM812", # missing-trailing-comma
76-
"COM819", # prohibited-trailing-comma
77-
"ISC001", # single-line-implicit-string-concatenation
78-
"ISC002", # multi-line-implicit-string-concatenation
57+
"C408", # unnecessary-collection-call (allow dict(a=1, b=2); clarity over speed!)
58+
# The following list is recommended to disable these when using ruff's formatter.
59+
# (Not all of the following are actually enabled.)
60+
"W191", # tab-indentation
61+
"E111", # indentation-with-invalid-multiple
62+
"E114", # indentation-with-invalid-multiple-comment
63+
"E117", # over-indented
64+
"D206", # indent-with-spaces
65+
"D300", # triple-single-quotes
66+
"Q000", # bad-quotes-inline-string
67+
"Q001", # bad-quotes-multiline-string
68+
"Q002", # bad-quotes-docstring
69+
"Q003", # avoidable-escaped-quote
70+
"COM812", # missing-trailing-comma
71+
"COM819", # prohibited-trailing-comma
72+
"ISC001", # single-line-implicit-string-concatenation
73+
"ISC002", # multi-line-implicit-string-concatenation
7974
]
8075

8176
[tool.ruff.lint.flake8-tidy-imports]

python/nutpie/sample.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
import numpy as np
77
import pandas as pd
88
import pyarrow
9-
from fastprogress.fastprogress import ConsoleProgressBar
109

1110
from nutpie import _lib
1211

@@ -314,7 +313,6 @@ class _BackgroundSampler:
314313
_chains_finished: int
315314
_compiled_model: CompiledModel
316315
_save_warmup: bool
317-
_progress = ConsoleProgressBar
318316

319317
def __init__(
320318
self,

0 commit comments

Comments
 (0)