Skip to content

Move to uv and pin versions #2790

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

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from
Draft
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
49 changes: 24 additions & 25 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,11 @@ classifiers = [
]
readme = "README.md"
dependencies = [
"numpy",
"pandas",
"tqdm",
"scipy",
"pythran>=0.17.0 ; sys_platform == 'darwin'", # required for darwin scipy overrides in nix

"numpy>=2.2.6,<3",
"pandas>=2.2.3,<3",
"scipy>=1.15.3,<2",
"tqdm>=4.67.1,<5",
"pythran>=0.17.0,<1 ; sys_platform == 'darwin'", # required for darwin scipy overrides in nix
]
dynamic = ["version"]

Expand All @@ -50,37 +49,37 @@ rec = ["mesa[network,viz]"]
all = ["mesa[network,viz,dev,examples,docs]"]
# Core dependencies
network = [
"networkx",
"networkx>=3.4.2,<4",
]
viz = [
"matplotlib",
"solara",
"altair",
"matplotlib[viz]>=3.10.3,<4",
"altair[viz]>=5.5.0,<6",
"solara>=1.47.0,<2",
]
# Dev and CI stuff
dev = [
"mesa[rec]",
"ruff",
"pytest",
"pytest-cov",
"sphinx",
"pytest-mock",
"ipython>=9.2.0",
"ruff>=0.11.10,<1",
"pytest-mock>=3.14.0,<4",
"sphinx>=8.2.3,<9",
"pytest-cov>=6.1.1,<7",
"pytest>=8.3.5,<9",
"ipython>=9.2.0,<10",
]
examples = [
"mesa[rec]",
"pytest",
"scipy",
"pytest>=8.3.5,<9",
"scipy>=1.15.3,<2",
]
docs = [
"ipython>=9.2.0,<10",
"mesa[rec]",
"sphinx",
"ipython",
"pydata_sphinx_theme",
"seaborn",
"myst-nb",
"myst-parser", # Markdown in Sphinx
"sphinx-copybutton", # Add a copy option in docs
"myst-nb>=1.2.0,<2",
"myst-parser>=4.0.1,<5",
"pydata-sphinx-theme>=0.16.1,<1",
"seaborn>=0.13.2,<1",
"sphinx>=8.2.3,<9",
"sphinx-copybutton>=0.5.2,<1",
]

[project.urls]
Expand Down
Loading