Skip to content

Commit

Permalink
Drop --build-option flag from isolated build script (#2497)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamchainz committed Sep 9, 2022
1 parent 7db7771 commit 2e0def4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/changelog/2497.bugfix.rst
@@ -0,0 +1 @@
Dropped ``--build-option`` in isolated builds, an alternative fix for the ``SetuptoolsDeprecationWarning`` about using ``--global-option`` -- by :user:`adamchainz`
2 changes: 1 addition & 1 deletion src/tox/helper/build_isolated.py
Expand Up @@ -38,5 +38,5 @@ def _ensure_module_in_paths(module, paths):
if backend_obj:
backend = getattr(backend, backend_obj)

basename = backend.build_sdist(dist_folder, {"--build-option": ["--formats=gztar"]})
basename = backend.build_sdist(dist_folder, {})
print(basename)

0 comments on commit 2e0def4

Please sign in to comment.