Skip to content

Commit

Permalink
Merge pull request #134 from qthequartermasterman/dependabot/pip/main…
Browse files Browse the repository at this point in the history
…/optional-dependencies-d4b53791ec

build(deps): update transformers requirement from <=4.42.4,>=4.42.3 to >=4.42.3,<=4.46.1 in the optional-dependencies group across 1 directory
  • Loading branch information
qthequartermasterman authored Oct 31, 2024
2 parents 0fa12f1 + 4629597 commit ace778b
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 6 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/build-reusable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,7 @@ jobs:
python -m pip install --upgrade uv
- name: Install dependencies
run: |
uv pip install ".[dev,huggingface]"
- name: Install Specific PyTorch version
if: ${{ inputs.torch-version != '' }}
run: |
uv pip install 'torch==${{ inputs.torch-version }}+cpu' --extra-index-url https://download.pytorch.org/whl/cpu
uv pip install ".[dev,huggingface,torch${{ inputs.torch-version }}]" --extra-index-url https://download.pytorch.org/whl/cpu --index-strategy unsafe-best-match
- name: Lint with ruff
if: ${{ inputs.lint }}
run: |
Expand Down
31 changes: 30 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ _ = "hypothesis_torch.register_random_torch_state:_register_random_torch_state"

[project.optional-dependencies]
huggingface = [
"transformers>=4.42.3,<=4.42.4",
"transformers>=4.42.3,<=4.46.1",
]
dev = [
"mypy==1.13.0",
Expand All @@ -61,6 +61,35 @@ docs = [
"mkdocs-snippets==1.3.0",
"mkdocs-exclude==1.0.2",
]
numpy=[
"numpy==2.0.1 ; python_version=='3.9'",
"numpy==2.1.2 ; python_version>='3.10'",
]
old-numpy=["numpy==1.26.4",]
torch = [
"torch",
"numpy"
]
"torch2.1.2"=[
"torch==2.1.2+cpu",
"hypothesis_torch[old-numpy]"
]
"torch2.2.2"=[
"torch==2.2.2+cpu",
"hypothesis_torch[old-numpy]"
]
"torch2.3.1"=[
"torch==2.3.1+cpu",
"hypothesis_torch[numpy]"
]
"torch2.4.0"=[
"torch==2.4.0+cpu",
"hypothesis_torch[numpy]"
]
"torch2.5.1"=[
"torch==2.5.1+cpu",
"hypothesis_torch[numpy]"
]

[project.urls]
Homepage = "https://github.com/qthequartermasterman/hypothesis-torch"
Expand Down

23 comments on commit ace778b

@github-actions
Copy link

Choose a reason for hiding this comment

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

Coverage

Coverage Report
FileStmtsMissCoverMissing
hypothesis_torch
   huggingface.py1072775%104–106, 134, 140, 157, 164, 168, 172, 176–177, 180, 191–194, 196, 198–200, 203, 206, 210, 215, 258, 261, 270
   inspection_util.py33197%31
   module.py811581%164, 168, 198, 200, 204, 206, 215, 219–221, 254–259
   optim.py54394%108, 118, 124
TOTAL4684690% 

Tests Skipped Failures Errors Time
1307 1249 💤 0 ❌ 0 🔥 1m 14s ⏱️

@github-actions
Copy link

Choose a reason for hiding this comment

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

Coverage

Coverage Report
FileStmtsMissCoverMissing
hypothesis_torch
   huggingface.py1072775%104–106, 134, 140, 157, 164, 168, 172, 176–177, 180, 191–194, 196, 198–200, 203, 206, 210, 215, 258, 261, 270
   inspection_util.py33197%31
   module.py811581%164, 168, 198, 200, 204, 206, 215, 219–221, 254–259
   optim.py54394%108, 118, 124
TOTAL4684690% 

Tests Skipped Failures Errors Time
1307 1249 💤 0 ❌ 0 🔥 1m 20s ⏱️

@github-actions
Copy link

Choose a reason for hiding this comment

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

Coverage

Coverage Report
FileStmtsMissCoverMissing
hypothesis_torch
   huggingface.py1072775%104–106, 134, 140, 157, 164, 168, 172, 176–177, 180, 191–194, 196, 198–200, 203, 206, 210, 215, 258, 261, 270
   inspection_util.py33197%31
   module.py811581%164, 168, 198, 200, 204, 206, 215, 219–221, 254–259
   optim.py54296%108, 124
TOTAL4684590% 

Tests Skipped Failures Errors Time
1307 1249 💤 0 ❌ 0 🔥 1m 16s ⏱️

@github-actions
Copy link

Choose a reason for hiding this comment

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

Coverage

Coverage Report
FileStmtsMissCoverMissing
hypothesis_torch
   huggingface.py1072775%104–106, 134, 140, 157, 164, 168, 172, 176–177, 180, 191–194, 196, 198–200, 203, 206, 210, 215, 258, 261, 270
   inspection_util.py33197%31
   module.py811581%164, 168, 198, 200, 204, 206, 215, 219–221, 254–259
   optim.py54591%108, 118, 124, 128–129
TOTAL4684890% 

Tests Skipped Failures Errors Time
1307 1249 💤 0 ❌ 0 🔥 1m 13s ⏱️

@github-actions
Copy link

Choose a reason for hiding this comment

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

Coverage

Coverage Report
FileStmtsMissCoverMissing
hypothesis_torch
   huggingface.py1072775%104–106, 134, 140, 157, 164, 168, 172, 176–177, 180, 191–194, 196, 198–200, 203, 206, 210, 215, 258, 261, 270
   inspection_util.py33197%31
   module.py811581%164, 168, 198, 200, 204, 206, 215, 219–221, 254–259
   optim.py54591%108, 118, 124, 128–129
TOTAL4684890% 

Tests Skipped Failures Errors Time
1307 1249 💤 0 ❌ 0 🔥 1m 12s ⏱️

@github-actions
Copy link

Choose a reason for hiding this comment

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

Coverage

Coverage Report
FileStmtsMissCoverMissing
hypothesis_torch
   huggingface.py1072775%104–106, 134, 140, 157, 164, 168, 172, 176–177, 180, 191–194, 196, 198–200, 203, 206, 210, 215, 258, 261, 270
   inspection_util.py33197%31
   module.py811581%164, 168, 198, 200, 204, 206, 215, 219–221, 254–259
   optim.py54493%108, 124, 128–129
TOTAL4684790% 

Tests Skipped Failures Errors Time
1307 1249 💤 0 ❌ 0 🔥 1m 14s ⏱️

@github-actions
Copy link

Choose a reason for hiding this comment

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

Coverage

Coverage Report
FileStmtsMissCoverMissing
hypothesis_torch
   huggingface.py1072775%104–106, 134, 140, 157, 164, 168, 172, 176–177, 180, 191–194, 196, 198–200, 203, 206, 210, 215, 258, 261, 270
   inspection_util.py33197%31
   module.py811581%164, 168, 198, 200, 204, 206, 215, 219–221, 254–259
   optim.py54591%108, 118, 124, 128–129
TOTAL4684890% 

Tests Skipped Failures Errors Time
1307 1249 💤 0 ❌ 0 🔥 1m 20s ⏱️

@github-actions
Copy link

Choose a reason for hiding this comment

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

Coverage

Coverage Report
FileStmtsMissCoverMissing
hypothesis_torch
   huggingface.py1072775%104–106, 134, 140, 157, 164, 168, 172, 176–177, 180, 191–194, 196, 198–200, 203, 206, 210, 215, 258, 261, 270
   inspection_util.py33197%31
   module.py811581%164, 168, 198, 200, 204, 206, 215, 219–221, 254–259
   optim.py54591%108, 118, 124, 128–129
TOTAL4584890% 

Tests Skipped Failures Errors Time
1307 1249 💤 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.

Coverage

Coverage Report
FileStmtsMissCoverMissing
hypothesis_torch
   huggingface.py1072775%104–106, 134, 140, 157, 164, 168, 172, 176–177, 180, 191–194, 196, 198–200, 203, 206, 210, 215, 258, 261, 270
   inspection_util.py33197%31
   module.py811581%164, 168, 198, 200, 204, 206, 215, 219–221, 254–259
   optim.py54296%108, 124
TOTAL4684590% 

Tests Skipped Failures Errors Time
1307 1249 💤 0 ❌ 0 🔥 1m 34s ⏱️

@github-actions
Copy link

Choose a reason for hiding this comment

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

Coverage

Coverage Report
FileStmtsMissCoverMissing
hypothesis_torch
   huggingface.py1072775%104–106, 134, 140, 157, 164, 168, 172, 176–177, 180, 191–194, 196, 198–200, 203, 206, 210, 215, 258, 261, 270
   inspection_util.py33197%31
   module.py811581%164, 168, 198, 200, 204, 206, 215, 219–221, 254–259
   optim.py54493%108, 124, 128–129
TOTAL4684790% 

Tests Skipped Failures Errors Time
1307 1249 💤 0 ❌ 0 🔥 1m 21s ⏱️

@github-actions
Copy link

Choose a reason for hiding this comment

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

Coverage

Coverage Report
FileStmtsMissCoverMissing
hypothesis_torch
   huggingface.py1072775%104–106, 134, 140, 157, 164, 168, 172, 176–177, 180, 191–194, 196, 198–200, 203, 206, 210, 215, 258, 261, 270
   inspection_util.py33197%31
   module.py811581%164, 168, 198, 200, 204, 206, 215, 219–221, 254–259
   optim.py54493%108, 124, 128–129
TOTAL4684790% 

Tests Skipped Failures Errors Time
1307 1249 💤 0 ❌ 0 🔥 1m 38s ⏱️

@github-actions
Copy link

Choose a reason for hiding this comment

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

Coverage

Coverage Report
FileStmtsMissCoverMissing
hypothesis_torch
   huggingface.py1072775%104–106, 134, 140, 157, 164, 168, 172, 176–177, 180, 191–194, 196, 198–200, 203, 206, 210, 215, 258, 261, 270
   inspection_util.py33197%31
   module.py811581%164, 168, 198, 200, 204, 206, 215, 219–221, 254–259
   optim.py54493%108, 124, 128–129
TOTAL4684790% 

Tests Skipped Failures Errors Time
1300 1242 💤 0 ❌ 0 🔥 1m 34s ⏱️

@github-actions
Copy link

Choose a reason for hiding this comment

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

Coverage

Coverage Report
FileStmtsMissCoverMissing
hypothesis_torch
   huggingface.py1072775%104–106, 134, 140, 157, 164, 168, 172, 176–177, 180, 191–194, 196, 198–200, 203, 206, 210, 215, 258, 261, 270
   inspection_util.py33197%31
   module.py811581%164, 168, 198, 200, 204, 206, 215, 219–221, 254–259
   optim.py54394%108, 118, 124
TOTAL4684690% 

Tests Skipped Failures Errors Time
1307 1249 💤 0 ❌ 0 🔥 1m 39s ⏱️

@github-actions
Copy link

Choose a reason for hiding this comment

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

Coverage

Coverage Report
FileStmtsMissCoverMissing
hypothesis_torch
   huggingface.py1072775%104–106, 134, 140, 157, 164, 168, 172, 176–177, 180, 191–194, 196, 198–200, 203, 206, 210, 215, 258, 261, 270
   inspection_util.py33197%31
   module.py811581%164, 168, 198, 200, 204, 206, 215, 219–221, 254–259
   optim.py54493%108, 124, 128–129
TOTAL4584790% 

Tests Skipped Failures Errors Time
1307 1249 💤 0 ❌ 0 🔥 1m 16s ⏱️

@github-actions
Copy link

Choose a reason for hiding this comment

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

Coverage

Coverage Report
FileStmtsMissCoverMissing
hypothesis_torch
   huggingface.py1072775%104–106, 134, 140, 157, 164, 168, 172, 176–177, 180, 191–194, 196, 198–200, 203, 206, 210, 215, 258, 261, 270
   inspection_util.py33197%31
   module.py811581%164, 168, 198, 200, 204, 206, 215, 219–221, 254–259
   optim.py54493%108, 124, 128–129
TOTAL4584790% 

Tests Skipped Failures Errors Time
1307 1249 💤 0 ❌ 0 🔥 1m 20s ⏱️

@github-actions
Copy link

Choose a reason for hiding this comment

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

Coverage

Coverage Report
FileStmtsMissCoverMissing
hypothesis_torch
   huggingface.py1072775%104–106, 134, 140, 157, 164, 168, 172, 176–177, 180, 191–194, 196, 198–200, 203, 206, 210, 215, 258, 261, 270
   inspection_util.py33197%31
   module.py811581%164, 168, 198, 200, 204, 206, 215, 219–221, 254–259
   optim.py54296%108, 124
TOTAL4584590% 

Tests Skipped Failures Errors Time
1307 1249 💤 0 ❌ 0 🔥 1m 19s ⏱️

@github-actions
Copy link

Choose a reason for hiding this comment

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

Coverage

Coverage Report
FileStmtsMissCoverMissing
hypothesis_torch
   huggingface.py1072775%104–106, 134, 140, 157, 164, 168, 172, 176–177, 180, 191–194, 196, 198–200, 203, 206, 210, 215, 258, 261, 270
   inspection_util.py33197%31
   module.py811581%164, 168, 198, 200, 204, 206, 215, 219–221, 254–259
   optim.py54394%108, 118, 124
TOTAL4584690% 

Tests Skipped Failures Errors Time
1307 1249 💤 0 ❌ 0 🔥 1m 12s ⏱️

@github-actions
Copy link

Choose a reason for hiding this comment

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

Coverage

Coverage Report
FileStmtsMissCoverMissing
hypothesis_torch
   huggingface.py1072775%104–106, 134, 140, 157, 164, 168, 172, 176–177, 180, 191–194, 196, 198–200, 203, 206, 210, 215, 258, 261, 270
   inspection_util.py33197%31
   module.py811581%164, 168, 198, 200, 204, 206, 215, 219–221, 254–259
   optim.py54493%108, 124, 128–129
TOTAL4684790% 

Tests Skipped Failures Errors Time
1307 1249 💤 0 ❌ 0 🔥 1m 11s ⏱️

@github-actions
Copy link

Choose a reason for hiding this comment

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

Coverage

Coverage Report
FileStmtsMissCoverMissing
hypothesis_torch
   huggingface.py1072775%104–106, 134, 140, 157, 164, 168, 172, 176–177, 180, 191–194, 196, 198–200, 203, 206, 210, 215, 258, 261, 270
   inspection_util.py33197%31
   module.py811581%164, 168, 198, 200, 204, 206, 215, 219–221, 254–259
   optim.py54493%108, 124, 128–129
TOTAL4684790% 

Tests Skipped Failures Errors Time
1307 1249 💤 0 ❌ 0 🔥 1m 14s ⏱️

@github-actions
Copy link

Choose a reason for hiding this comment

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

Coverage

Coverage Report
FileStmtsMissCoverMissing
hypothesis_torch
   huggingface.py1072775%104–106, 134, 140, 157, 164, 168, 172, 176–177, 180, 191–194, 196, 198–200, 203, 206, 210, 215, 258, 261, 270
   inspection_util.py33197%31
   module.py811581%164, 168, 198, 200, 204, 206, 215, 219–221, 254–259
   optim.py54493%108, 124, 128–129
TOTAL4684790% 

Tests Skipped Failures Errors Time
1307 1249 💤 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.

Coverage

Coverage Report
FileStmtsMissCoverMissing
hypothesis_torch
   huggingface.py1072775%104–106, 134, 140, 157, 164, 168, 172, 176–177, 180, 191–194, 196, 198–200, 203, 206, 210, 215, 258, 261, 270
   inspection_util.py33197%31
   module.py811581%164, 168, 198, 200, 204, 206, 215, 219–221, 254–259
   optim.py54493%108, 124, 128–129
TOTAL4684790% 

Tests Skipped Failures Errors Time
1300 1242 💤 0 ❌ 0 🔥 1m 31s ⏱️

@github-actions
Copy link

Choose a reason for hiding this comment

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

Coverage

Coverage Report
FileStmtsMissCoverMissing
hypothesis_torch
   huggingface.py1072775%104–106, 134, 140, 157, 164, 168, 172, 176–177, 180, 191–194, 196, 198–200, 203, 206, 210, 215, 258, 261, 270
   inspection_util.py33197%31
   module.py811581%164, 168, 198, 200, 204, 206, 215, 219–221, 254–259
   optim.py54394%108, 118, 124
TOTAL4684690% 

Tests Skipped Failures Errors Time
1307 1249 💤 0 ❌ 0 🔥 1m 22s ⏱️

@github-actions
Copy link

Choose a reason for hiding this comment

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

Coverage

Coverage Report
FileStmtsMissCoverMissing
hypothesis_torch
   huggingface.py1072775%104–106, 134, 140, 157, 164, 168, 172, 176–177, 180, 191–194, 196, 198–200, 203, 206, 210, 215, 258, 261, 270
   inspection_util.py33197%31
   module.py811581%164, 168, 198, 200, 204, 206, 215, 219–221, 254–259
   optim.py54591%108, 118, 124, 128–129
TOTAL4584890% 

Tests Skipped Failures Errors Time
1307 1249 💤 0 ❌ 0 🔥 1m 12s ⏱️

Please sign in to comment.