← All tasks
pythonlark-parser/lark #1307Not a task: already works

Wheels built using the new pyproject file don't include .lark files

envgap__lark-parser__lark-1307

01 / FAILURE SIGNATURE

As reported upstream

No identifying execution failure has been captured.
Not a benchmark task.
  • The project already builds and runs before the fix, so there is nothing to repair.

02 / ENVIRONMENT RECIPE

Base commit
e795810d9849a5ee517effadc7693f7a4ea2f076
Manifest
pyproject.toml
Reproduce
Awaiting issue-specific recipe
Run under trace
Awaiting a meaningful runtime command

03 / ORIGINAL ISSUE TEXT

lark-parser/lark #1307 · read the original issue
**Describe the bug**

When building lark 1.1.6 or later using a pep517-compatible tool, the resulting wheel does not include the `.lark` files in `lark/grammars/`



**To Reproduce**

Build the package with, for example, [build][1]; then, install the resulting package and check `lark/grammars/` ( or try using something that depends on `common.lark` )



Simple Docker reproduction example:

```

docker run --rm -it alpine:edge sh -c 'apk add py3-build py3-wheel py3-setuptools git unzip; git clone -b 1.1.7 https://github.com/lark-parser/lark; cd lark; python3 -m build --wheel --no-isolation; unzip -l ./dist/lark-1.1.7-py3-none-any.whl | grep lark/grammars'

```



[1]: https://pypi.org/project/build/
Continue on GitHub ↗

04 / LABELS

Labels from the report text only; not yet run

No supported category has been assigned.

Label rules and the text that matched
[]