Skip to content

Commit

Permalink
Merge pull request #32 from qthequartermasterman/set-dependencies-ranges
Browse files Browse the repository at this point in the history
build: 🐛 set dependency ranges for optimal compatibility
  • Loading branch information
qthequartermasterman authored May 10, 2024
2 parents fca76c9 + 4a25c1d commit 71c52b7
Showing 1 changed file with 20 additions and 4 deletions.
24 changes: 20 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ description = "Hypothesis strategies for various Pytorch structures, including t

dynamic = ["version"]
dependencies = [
"hypothesis",
"torch",
"hypothesis>=6.0.0,<=6.98.8",
"torch>=1.13.0,<=2.3.0",
]
requires-python = ">=3.9"
authors=[{name="Andrew P. Sansom", email="[email protected]"}]
Expand Down Expand Up @@ -41,7 +41,7 @@ _ = "hypothesis_torch.register_random_torch_state:_register_random_torch_state"

[project.optional-dependencies]
huggingface = [
"transformers",
"transformers<=4.40.0,>=4.0.0",
]
dev = [
"ruff==0.4.3",
Expand All @@ -59,7 +59,7 @@ docs = [

[project.urls]
Homepage = "https://github.com/qthequartermasterman/hypothesis-torch"
Documentation = "https://github.com/qthequartermasterman/hypothesis-torch"
Documentation = "https://hypothesis-torch.readthedocs.io/en/latest/"
Repository = "https://github.com/qthequartermasterman/hypothesis-torch.git"
Issues = "https://github.com/qthequartermasterman/hypothesis-torch/issues"

Expand All @@ -73,6 +73,22 @@ version_variables = [
]
build_command = "python -m pip install build && python -m build"

[tool.semantic_release.commit_parser_options]
allowed_tags = [
"build",
"chore",
"ci",
"docs",
"feat",
"fix",
"perf",
"style",
"refactor",
"test",
]
minor_tags = ["feat"]
patch_tags = ["fix", "perf", "build"]

[tool.setuptools.dynamic]
version = {attr = "hypothesis_torch.__version__"}

Expand Down

5 comments on commit 71c52b7

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tests Skipped Failures Errors Time
1256 1209 💤 0 ❌ 0 🔥 1m 2s ⏱️

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tests Skipped Failures Errors Time
1256 1205 💤 0 ❌ 0 🔥 1m 10s ⏱️

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tests Skipped Failures Errors Time
1256 1205 💤 0 ❌ 0 🔥 1m 10s ⏱️

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tests Skipped Failures Errors Time
1249 1198 💤 0 ❌ 0 🔥 1m 15s ⏱️

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tests Skipped Failures Errors Time
1256 1205 💤 0 ❌ 0 🔥 1m 13s ⏱️

Please sign in to comment.