Skip to content

Commit

Permalink
Fix SetuptoolsDeprecationWarning about using --global-option
Browse files Browse the repository at this point in the history
  • Loading branch information
adamchainz committed Sep 7, 2022
1 parent fd58e73 commit 89cb2b8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/changelog/2478.bugfix.rst
@@ -0,0 +1 @@
Fixed ``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, {"--global-option": ["--formats=gztar"]})
basename = backend.build_sdist(dist_folder, {"--build-option": ["--formats=gztar"]})
print(basename)

0 comments on commit 89cb2b8

Please sign in to comment.