Skip to content

Commit

Permalink
Remove use_2to3 flag
Browse files Browse the repository at this point in the history
The resolution of setuptools 2769 made any package using `use_2to3` to
fail its build.  This patch removes the flag, in support of outroducing
rdflib-jsonld.

The test suite is showing other follow-on patches will be necessary to
fix matters 2to3 had been quietly fixing along the way.  However, this
first patch does restore a working call to `pip install .` with
up-to-date setuptools.

Unit test results: This causes only the same five tests as were
previously failing to fail.

setuptools versions tested:
* 41.2.0
* 58.0.4

References:
* pypa/setuptools#2769
* RDFLib/rdflib#1405

Reported-by: Ralf Grubenmann <[email protected]>
Signed-off-by: Alex Nelson <[email protected]>
  • Loading branch information
ajnelson-nist committed Sep 10, 2021
1 parent 73a3066 commit 2bf7fb8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ def md2pypi(filename):
url="https://github.com/RDFLib/rdflib-jsonld",
license="BSD",
packages=["rdflib_jsonld"],
use_2to3=True,
zip_safe=False,
platforms=["any"],
classifiers=[
Expand Down

0 comments on commit 2bf7fb8

Please sign in to comment.