mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-11-28 11:32:24 +08:00
# Conflicts: # client/src/components/Form/Elements/FormDirectory.test.js # client/src/components/SelectionDialog/SelectionDialog.vue
351 lines
11 KiB
TOML
351 lines
11 KiB
TOML
[project]
|
|
name = "galaxy-workspace"
|
|
version = "0.1.0" # Not the real version, which is instead defined in lib/galaxy/version/__init__.py
|
|
description = "Galaxy is an open, web-based platform for accessible, reproducible, and transparent computational research."
|
|
authors = [
|
|
{name = "Galaxy Contributors"},
|
|
]
|
|
maintainers = [
|
|
{name = "Galaxy Committers", email = "galaxy-committers@lists.galaxyproject.org"}
|
|
]
|
|
license = {file = "LICENSE.txt"}
|
|
readme = "README.rst"
|
|
requires-python = ">=3.11"
|
|
dependencies = [
|
|
"a2wsgi",
|
|
"aiofiles",
|
|
"aiohttp",
|
|
"alembic",
|
|
"apispec",
|
|
"Babel",
|
|
"bdbag>=1.6.3",
|
|
"Beaker",
|
|
"bioblend",
|
|
"bleach",
|
|
"boltons",
|
|
"boto",
|
|
"bx-python",
|
|
"celery>=5.4.0", # prefer not downgrading this to upgrading typing-extensions
|
|
"cloudauthz==0.6.0",
|
|
"circus",
|
|
"conda-package-streaming",
|
|
"CT3>=3.3.3", # Python 3.13 support
|
|
"cwl-utils>=0.46",
|
|
"cwltool>=3.1.20230624081518", # save time, minimum needed by cwl-1.0 branch
|
|
"dictobj",
|
|
"dnspython",
|
|
"docutils!=0.17,!=0.17.1",
|
|
"dparse",
|
|
"edam-ontology",
|
|
"fastapi>=0.137.2", # https://github.com/fastapi/fastapi/pull/15785
|
|
"fastmcp>=4.0.0",
|
|
"fissix",
|
|
"fs",
|
|
"future>=1.0.0", # Python 3.12 support
|
|
"gravity>=1.2.3", # Graceful restart on galaxy >= 26.1
|
|
"gunicorn!=25.1.0", # https://github.com/benoitc/gunicorn/discussions/3509
|
|
"gxformat2>=0.29.2",
|
|
"h5grove>=1.2.1",
|
|
"h5py>=3.12", # Python 3.13 support
|
|
"httpx",
|
|
"ijson",
|
|
"importlib-resources ; python_version<'3.12'", # for importlib.{abc.Traversable,resources.{files, Package}}
|
|
"isa-rwval>=0.10.11", # https://github.com/ISA-tools/isa-rwval/pull/17
|
|
"isal>=1.7.0",
|
|
"isal>=1.8.0; python_version >= '3.14'", # Wheels for Python 3.14 and newer
|
|
"jinja2",
|
|
"kombu>=5.5.0", # prefer not downgrading this to upgrading typing-extensions
|
|
"lagom",
|
|
"Mako",
|
|
"Markdown",
|
|
"MarkupSafe",
|
|
"mercurial>=7.2", # Python 3.14 support
|
|
"mrcfile",
|
|
"more-itertools",
|
|
"msal",
|
|
"nodejs-wheel>=22,<23",
|
|
"numpy>=2.1.0", # Python 3.13 support
|
|
"openpyxl>=3.1.5", # Minimum version ever tested with
|
|
"packaging",
|
|
"paramiko!=2.9.0,!=2.9.1", # https://github.com/paramiko/paramiko/issues/1961
|
|
"Parsley",
|
|
"Paste",
|
|
# https://github.com/noxdafox/pebble/issues/164
|
|
# https://github.com/noxdafox/pebble/pull/168
|
|
"pebble!=5.2.1,!=5.2.2",
|
|
"pillow",
|
|
"pkg-resources-backport", # needed by fs https://github.com/PyFilesystem/pyfilesystem2/issues/577
|
|
"psutil",
|
|
"pulsar-galaxy-lib>=0.16.0",
|
|
"pycryptodome",
|
|
"pydantic[email]>=2.7.4", # https://github.com/pydantic/pydantic/pull/9639
|
|
"pydantic-ai>=1.56.0", # https://github.com/pydantic/pydantic-ai/security/advisories/GHSA-2jrp-274c-jhv3
|
|
"pydantic-extra-types",
|
|
"pydicom",
|
|
"PyJWT",
|
|
"pykwalify",
|
|
"pylibmagic",
|
|
"pyparsing>=3.0.0",
|
|
"pypng",
|
|
"pysam>=0.21", # for Python 3.11 support on macOS
|
|
"python-dateutil",
|
|
"python-magic",
|
|
"python-multipart", # required to support form parsing in FastAPI/Starlette
|
|
"python-slugify",
|
|
"PyYAML",
|
|
"quickjs-ng>=0.16.2.1", # QuickJS worker for CWL/ECMAScript expression evaluation
|
|
"refgenconf>=0.13.0", # https://github.com/refgenie/refgenconf/pull/149
|
|
"regex",
|
|
"requests",
|
|
"rocrate<0.15.0", # https://github.com/crs4/rocrate-validator/issues/107
|
|
"Routes",
|
|
"s3fs>=2023.1.0",
|
|
"schema-salad>=8.7.20240905150001", # Python 3.13 support
|
|
"slowapi",
|
|
"social-auth-core>=4.5.0,<6", # >=4.5.0 to drop dependency on abandoned python-jose, <6 until #23941
|
|
"sortedcontainers",
|
|
"SQLAlchemy>=2.0.37,<2.1,!=2.0.41", # https://github.com/sqlalchemy/sqlalchemy/issues/12019 , https://github.com/sqlalchemy/sqlalchemy/issues/12600
|
|
"starlette>=1.0.1", # CVE-2026-48710 BadHost
|
|
"starlette-context",
|
|
"svgwrite",
|
|
"tifffile",
|
|
"typing-extensions>=4.13", # for TypeForm
|
|
"tuspyserver",
|
|
"tzdata", # zoneinfo data for Celery's "UTC" timezone setting where the OS ships none
|
|
"uvicorn!=0.28.0", # https://github.com/galaxyproject/galaxy/issues/17669
|
|
"uvloop>=0.21.0", # Python 3.13 support
|
|
"WebOb>=1.8.9", # Python 3.13 support
|
|
"Whoosh",
|
|
"zipstream-new",
|
|
"fsspec>=2025.7.0",
|
|
]
|
|
|
|
[project.urls]
|
|
Homepage = "https://galaxyproject.org/"
|
|
Documentation = "https://docs.galaxyproject.org/"
|
|
Repository = "https://github.com/galaxyproject/galaxy"
|
|
"Bug Tracker" = "https://github.com/galaxyproject/galaxy/issues"
|
|
|
|
[dependency-groups]
|
|
test = [
|
|
"aiocop",
|
|
"ase>=3.18.1",
|
|
"axe-selenium-python",
|
|
"boto3",
|
|
"cloudbridge>=4.4.2",
|
|
"cwltest>=2.5.20240906231108", # Python 3.13 support
|
|
"fluent-logger",
|
|
"gcsfs",
|
|
"hvac",
|
|
"lxml!=4.2.2",
|
|
"onedatafilerestclient==21.2.5.2",
|
|
"pkce",
|
|
"playwright>=1.48.0", # Python 3.13 support
|
|
"pyftpdlib",
|
|
"pykube-ng==23.6.0", # Match the conditional Kubernetes runner dependency.
|
|
"pytest",
|
|
"pytest-asyncio",
|
|
"pytest-cov",
|
|
"pytest-html",
|
|
"pytest-httpserver",
|
|
"python-irodsclient!=1.1.2", # https://github.com/irods/python-irodsclient/issues/356
|
|
"pytest-json-report",
|
|
"pytest-mock",
|
|
"pytest-playwright",
|
|
"pytest-postgresql!=3.0.0", # https://github.com/ClearcodeHQ/pytest-postgresql/issues/426
|
|
"pytest-shard",
|
|
"pytest-xdist",
|
|
"responses",
|
|
"roc-validator!=0.7.2", # https://github.com/crs4/rocrate-validator/pull/97
|
|
"rucio-clients>=40.2.0", # https://github.com/rucio/rucio/pull/7665
|
|
"selenium",
|
|
"seletools",
|
|
"statsd",
|
|
"testfixtures",
|
|
"total-perspective-vortex>=3.1.1,<4", # https://github.com/galaxyproject/total-perspective-vortex/pull/173
|
|
"tuspy",
|
|
"watchdog",
|
|
"Werkzeug",
|
|
]
|
|
dev = [
|
|
{include-group = "test"},
|
|
"black",
|
|
"codespell",
|
|
"darker",
|
|
"galaxy-release-util",
|
|
"isort",
|
|
"markdown-it-reporter",
|
|
"myst-parser",
|
|
"Sphinx>=4.0", # support docutils 0.17
|
|
"sphinx-rtd-theme",
|
|
"sphinxcontrib-mermaid",
|
|
]
|
|
typecheck = [
|
|
"boto3-stubs[s3]",
|
|
"lxml-stubs",
|
|
"mypy>=2.2.0", # support for closed TypedDicts
|
|
"pydantic>=2.7.4", # for pydantic.mypy plugin
|
|
"types-bleach",
|
|
"types-boto",
|
|
"types-cachetools",
|
|
"types-contextvars",
|
|
"types-dataclasses",
|
|
"types-docutils",
|
|
"types-Markdown",
|
|
"types-paramiko",
|
|
"types-protobuf",
|
|
"types-python-dateutil",
|
|
"types-python-slugify",
|
|
"types-PyYAML",
|
|
"types-requests",
|
|
"types-setuptools",
|
|
"types-six",
|
|
"types-webob",
|
|
]
|
|
|
|
[tool.black]
|
|
line-length = 120
|
|
include = '\.pyi?$'
|
|
extend-exclude = '''
|
|
^/(
|
|
| packages
|
|
| lib/tool_shed/test/test_data/repos
|
|
| lib/galaxy/tool_util/unittest_utils/functional_tools/cwl_tools
|
|
)/
|
|
'''
|
|
|
|
[tool.darker]
|
|
isort = true
|
|
|
|
[tool.ruff]
|
|
exclude = [
|
|
"lib/tool_shed/test/test_data/repos"
|
|
]
|
|
line-length = 120
|
|
src = ["lib"]
|
|
namespace-packages = ["lib/galaxy"]
|
|
|
|
[tool.ruff.lint]
|
|
# Enable: pycodestyle errors (E), Pyflakes (F), flake8-bugbear (B),
|
|
# flake8-comprehensions (C4), flake8-logging-format (G),
|
|
# flake8-implicit-str-concat (ISC) and pyupgrade (UP)
|
|
select = ["E", "F", "B", "C4", "G", "ISC", "NPY", "UP"]
|
|
# Exceptions:
|
|
# B008 Do not perform function calls in argument defaults (for FastAPI Depends and Body)
|
|
# B9 flake8-bugbear opinionated warnings
|
|
# E402 module level import not at top of file # TODO, we would like to improve this.
|
|
# E501 is line length (delegated to black)
|
|
# G* are TODOs
|
|
ignore = ["B008", "B9", "E402", "E501", "G001", "G002", "G004"]
|
|
|
|
[tool.ruff.lint.flake8-comprehensions]
|
|
allow-dict-calls-with-keyword-arguments = true
|
|
|
|
[tool.ruff.lint.isort]
|
|
# We are not selecting "I" rules in ruff yet because the isort option
|
|
# force_grid_wrap=2 is not currently supported:
|
|
# https://github.com/astral-sh/ruff/issues/2601
|
|
case-sensitive = false
|
|
combine-as-imports = true
|
|
no-lines-before = ["local-folder"]
|
|
order-by-type = false
|
|
relative-imports-order = "closest-to-furthest"
|
|
|
|
[tool.ruff.lint.pyupgrade]
|
|
# Preserve types, even if a file imports `from __future__ import annotations`.
|
|
keep-runtime-typing = true
|
|
|
|
[tool.ruff.lint.per-file-ignores]
|
|
# Don't check pyupgrade rules on tool scripts, which may use different Python versions
|
|
"test/functional/tools/*" = ["UP"]
|
|
"tools/*" = ["UP"]
|
|
# Don't check pyupgrade rules on generated files
|
|
"lib/galaxy/schema/bco/*" = ["UP"]
|
|
"lib/galaxy/schema/drs/*" = ["UP"]
|
|
"lib/tool_shed_client/schema/trs.py" = ["UP"]
|
|
"lib/tool_shed_client/schema/trs_service_info.py" = ["UP"]
|
|
|
|
[tool.uv]
|
|
# Build settings shared by workspace members.
|
|
config-settings = { editable_mode = "compat" }
|
|
constraint-dependencies = [
|
|
"limits>=2.5.0", # prefer not downgrading this to upgrading packaging
|
|
"mirakuru!=3.0.0", # https://github.com/dbfixtures/mirakuru/pull/949
|
|
"scipy>=1.14.1", # Python 3.13 support
|
|
]
|
|
default-groups = []
|
|
extra-index-url = ["https://wheels.galaxyproject.org/simple"]
|
|
index-strategy = "unsafe-best-match"
|
|
package = false
|
|
|
|
# Galaxy's index carries wheels for some releases that only cover a subset of
|
|
# Python versions (isal 1.8.0 for Python 3.15 only, lxml 6.1.3 for Python 3.8
|
|
# only). With `unsafe-best-match`, uv doesn't combine files from different
|
|
# indexes for the same release, so select PyPI explicitly where these wheels
|
|
# would otherwise shadow PyPI's wheels for the same release (for isal on
|
|
# Python versions before 3.15, for lxml always).
|
|
[[tool.uv.index]]
|
|
name = "pypi-only"
|
|
url = "https://pypi.org/simple"
|
|
explicit = true
|
|
|
|
[tool.uv.sources]
|
|
isal = { index = "pypi-only", marker = "python_version < '3.15'" }
|
|
lxml = { index = "pypi-only" }
|
|
galaxy-auth = { workspace = true }
|
|
galaxy-config = { workspace = true }
|
|
galaxy-data = { workspace = true }
|
|
galaxy-files = { workspace = true }
|
|
galaxy-job-execution = { workspace = true }
|
|
galaxy-job-metrics = { workspace = true }
|
|
galaxy-navigation = { workspace = true }
|
|
galaxy-objectstore = { workspace = true }
|
|
galaxy-schema = { workspace = true }
|
|
galaxy-selenium = { workspace = true }
|
|
galaxy-test-api = { workspace = true }
|
|
galaxy-test-base = { workspace = true }
|
|
galaxy-test-driver = { workspace = true }
|
|
galaxy-test-selenium = { workspace = true }
|
|
galaxy-tool-shed = { workspace = true }
|
|
galaxy-tool-shed-schema = { workspace = true }
|
|
galaxy-tours = { workspace = true }
|
|
galaxy-web-apps = { workspace = true }
|
|
galaxy-web-client = { workspace = true }
|
|
galaxy-web-framework = { workspace = true }
|
|
galaxy-web-stack = { workspace = true }
|
|
galaxy-util = { workspace = true }
|
|
galaxy-tool-util-models = { workspace = true }
|
|
galaxy-tool-util = { workspace = true }
|
|
galaxy-app = { workspace = true }
|
|
galaxy = { workspace = true }
|
|
|
|
[tool.uv.workspace]
|
|
members = [
|
|
"packages/tool_util_models",
|
|
"packages/util",
|
|
"packages/config",
|
|
"packages/files",
|
|
"packages/job_metrics",
|
|
"packages/navigation",
|
|
"packages/objectstore",
|
|
"packages/schema",
|
|
"packages/tool_shed_schema",
|
|
"packages/tool_util",
|
|
"packages/data",
|
|
"packages/selenium",
|
|
"packages/tours",
|
|
"packages/test_base",
|
|
"packages/test_driver",
|
|
"packages/test_api",
|
|
"packages/test_selenium",
|
|
"packages/auth",
|
|
"packages/job_execution",
|
|
"packages/web_framework",
|
|
"packages/web_stack",
|
|
"packages/app",
|
|
"packages/web_apps",
|
|
"packages/tool_shed",
|
|
"packages/web_client",
|
|
"packages/meta",
|
|
]
|