Skip to content

Commit a0a2fec

Browse files
Make dependencies compatible with PyPI (#1378)
* make deps not point to github urls * formatting * try making PyPI only run on tag pushes
1 parent 0da0dcb commit a0a2fec

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

.github/workflows/publish.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
name: Publish Python distribution to PyPI
22

3-
on: push
3+
on:
4+
push:
5+
tags:
6+
- '*'
47

58
jobs:
69
build:

pyproject.toml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "lm_eval"
7-
version = "0.4.0"
7+
version = "0.4.1"
88
authors = [
99
{name="EleutherAI", email="contact@eleuther.ai"}
1010
]
@@ -56,16 +56,14 @@ Repository = "https://github.com/EleutherAI/lm-evaluation-harness"
5656
[project.optional-dependencies]
5757
anthropic = ["anthropic"]
5858
dev = ["pytest", "pytest-cov", "pytest-xdist", "pre-commit", "mypy"]
59-
gptq = ["auto-gptq[triton] @ git+https://github.com/PanQiWei/AutoGPTQ"]
59+
gptq = ["auto-gptq[triton]>=0.6.0"]
6060
ifeval = ["langdetect", "immutabledict"]
6161
mamba = ["mamba_ssm", "causal-conv1d==1.0.2"]
6262
math = ["sympy>=1.12", "antlr4-python3-runtime==4.11"]
6363
multilingual = ["nagisa>=0.2.7", "jieba>=0.42.1", "pycountry"]
6464
openai = ["openai==1.3.9", "tiktoken"]
6565
optimum = ["optimum[openvino]"]
66-
promptsource = [
67-
"promptsource @ git+https://github.com/bigscience-workshop/promptsource.git#egg=promptsource"
68-
]
66+
promptsource = ["promptsource>=0.2.3"]
6967
sentencepiece = ["sentencepiece>=0.1.98", "protobuf>=4.22.1"]
7068
testing = ["pytest", "pytest-cov", "pytest-xdist"]
7169
vllm = ["vllm<=0.2.5"]

0 commit comments

Comments
 (0)