Skip to content

Commit 69ea553

Browse files
authored
Fixes before release (#77)
* fix Signed-off-by: SumanthRH <[email protected]> * rework dependencies; fix openai stuff Signed-off-by: SumanthRH <[email protected]> * move skythought_evals to evals/ Signed-off-by: SumanthRH <[email protected]> * fix pyproject.toml before release Signed-off-by: SumanthRH <[email protected]> * lint Signed-off-by: SumanthRH <[email protected]> --------- Signed-off-by: SumanthRH <[email protected]>
1 parent c236fd1 commit 69ea553

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

75 files changed

+80
-80
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ repos:
55
- id: ruff
66
args: [ --fix, --exit-non-zero-on-fix ]
77
# NOTE (sumanthrh): Many of the files excluded here are used for validating code generation, and linters do not recognize some of the logic in these files. skythought/train is excluded for now because it's a fork of Llamafactory
8-
exclude: (^skythought/train/.*|^skythought/skythought-rl/.*|skythought_evals/tasks/taco/pyext2\.py|skythought_evals/tasks/taco/taco_util\.py|skythought_evals/tasks/apps/apps_util\.py|scripts/prompts\.py)$
8+
exclude: (^skythought/train/.*|^skythought/skythought-rl/.*|tasks/taco/pyext2\.py|tasks/taco/taco_util\.py|tasks/apps/apps_util\.py|scripts/prompts\.py)$
99

1010

1111
# Black needs to be ran after ruff with --fix
1212
- repo: https://github.com/psf/black
1313
rev: 24.10.0
1414
hooks:
1515
- id: black
16-
exclude: (^skythought/train/.*|^skythought/skythought-rl/.*|skythought_evals/tasks/taco/pyext2\.py)$
16+
exclude: (^skythought/train/.*|^skythought/skythought-rl/.*|tasks/taco/pyext2\.py)$

README.md

Lines changed: 1 addition & 0 deletions

pyproject.toml

Lines changed: 25 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
[project]
22
name = "skythought"
33
version = "0.1.0"
4-
description = "Skythought Evals"
4+
description = "Skythought Evals: Evaluation and Data Generation Tools for Reasoning Models"
55
authors = [
6-
{ name = "NovaSky Team"}
6+
{ name = "NovaSky Team" }
77
]
8-
requires-python = ">=3.9,<=3.10" # pyext requires 3.10 or below
8+
requires-python = ">=3.9,<3.11"
99
dependencies = [
1010
"vllm==0.7.0",
1111
"pyext",
@@ -17,24 +17,38 @@ dependencies = [
1717
"setuptools",
1818
"typer",
1919
]
20+
license = { text = "Apache-2.0" }
21+
readme = "README.md"
22+
23+
[project.urls]
24+
Repository = "https://github.com/NovaSky-AI/SkyThought"
25+
26+
[build-system]
27+
requires = ["setuptools>=61", "wheel"]
28+
build-backend = "setuptools.build_meta"
29+
30+
[tool.setuptools]
31+
include-package-data = true # Ensures package_data is included in wheel
2032

2133
[tool.setuptools.packages.find]
22-
where = ["skythought"]
23-
include = ["skythought_evals*"]
34+
where = ["."]
35+
include = [
36+
"skythought", # top-level package
37+
"skythought.evals*" # subpackage(s) under skythought/evals
38+
]
2439

2540
[tool.setuptools.package-data]
26-
skythought_evals = ["*.yaml", "*.yml"] # Include all YAML files
27-
41+
skythought = ["evals/**/*.yaml", "evals/**/*.yml"]
2842

2943
[project.scripts]
30-
skythought = "skythought_evals.cli:main"
44+
skythought = "skythought.evals.cli:main"
45+
46+
[project.optional-dependencies]
47+
dev = ["pytest", "pytest-mock", "black", "ruff", "pre-commit"]
3148

3249
[tool.ruff]
3350
line-length = 160
3451

3552
[tool.ruff.lint]
3653
extend-select = ["E", "F", "I", "ASYNC", "B"]
3754
ignore = ["F811", "B006"]
38-
39-
[project.optional-dependencies]
40-
dev = ["pytest", "pytest-mock", "black", "ruff", "pre-commit"]

setup.py

Lines changed: 0 additions & 23 deletions
This file was deleted.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)