jazzband / tablib

Python Module for Tabular Datasets in XLS, CSV, JSON, YAML, &c.
https://tablib.readthedocs.io/
MIT License
4.58k stars 589 forks source link

Specify build backend for editable installs #501

Closed hugovk closed 2 years ago

hugovk commented 2 years ago

Fixes the issue that showed up in https://github.com/jazzband/tablib/pull/500, also reproducible locally:

With the old pip==21.2.4 we could do python -m pip install -e . for an editable install.

Now, with new pip==21.3 we need to specify the build backend. See:

  • Support editable installs for projects that have a pyproject.toml and use a build backend that supports PEP 660. (#8212)

https://pip.pypa.io/en/stable/news/#features

See also https://pip.pypa.io/en/stable/reference/build-system/pyproject-toml/

codecov[bot] commented 2 years ago

Codecov Report

Merging #501 (e25f1df) into master (ebd916e) will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #501   +/-   ##
=======================================
  Coverage   90.78%   90.78%           
=======================================
  Files          28       28           
  Lines        2647     2647           
=======================================
  Hits         2403     2403           
  Misses        244      244           

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update ebd916e...e25f1df. Read the comment docs.

claudep commented 2 years ago

Thanks!