1 --- setuptools-75.5.0/setuptools/tests/config/test_setupcfg.py.orig
2 +++ setuptools-75.5.0/setuptools/tests/config/test_setupcfg.py
6 class TestConfigurationReader:
7 + @pytest.mark.skip(reason="fails with tox-current-env")
8 def test_basic(self, tmpdir):
12 with pytest.raises(DistutilsFileError):
13 read_configuration('%s' % tmpdir.join('setup.cfg'))
15 + @pytest.mark.skip(reason="fails with tox-current-env")
16 def test_ignore_errors(self, tmpdir):
20 with get_dist(tmpdir) as dist:
21 dist.parse_config_files()
23 + @pytest.mark.skip(reason="fails with tox-current-env")
24 def test_cmdclass(self, tmpdir):
25 module_path = Path(tmpdir, "src/custom_build.py") # auto discovery for src
26 module_path.parent.mkdir(parents=True, exist_ok=True)
27 --- setuptools-75.5.0/setuptools/tests/config/test_apply_pyprojecttoml.py.orig
28 +++ setuptools-75.5.0/setuptools/tests/config/test_apply_pyprojecttoml.py
30 @pytest.mark.parametrize("url", urls_from_file(HERE / EXAMPLES_FILE))
31 @pytest.mark.filterwarnings("ignore")
32 @pytest.mark.uses_network
33 +@pytest.mark.skip(reason="fails with tox-current-env")
34 def test_apply_pyproject_equivalent_to_setupcfg(url, monkeypatch, tmp_path):
35 monkeypatch.setattr(expand, "read_attr", Mock(return_value="0.0.1"))
36 setupcfg_example = retrieve_file(url)
41 +@pytest.mark.skip(reason="fails with tox-current-env")
42 def test_utf8_maintainer_in_metadata( # issue-3663
43 expected_maintainers_meta_value,
49 + @pytest.mark.skip(reason="fails with tox-current-env")
50 def test_not_listed_in_dynamic(self, tmp_path, attr, field, value):
51 """Setuptools cannot set a field if not listed in ``dynamic``"""
52 pyproject = self.pyproject(tmp_path, [])
54 dist_value = _some_attrgetter(f"metadata.{attr}", attr)(dist)
55 assert dist_value == value
57 + @pytest.mark.skip(reason="fails with tox-current-env")
58 def test_warning_overwritten_dependencies(self, tmp_path):
59 src = "[project]\nname='pkg'\nversion='0.1'\ndependencies=['click']\n"
60 pyproject = tmp_path / "pyproject.toml"
61 --- setuptools-75.5.0/setuptools/tests/test_easy_install.py.orig
62 +++ setuptools-75.5.0/setuptools/tests/test_easy_install.py
64 run_setup(test_setup_py, ['--version'])
65 assert len(mock_index.requests) == 0
67 + @pytest.mark.skip(reason="fails with tox-current-env")
68 def test_setup_requires_with_allow_hosts(self, mock_index):
69 """The `allow-hosts` option in not supported anymore."""
71 --- setuptools-75.5.0/setuptools/tests/test_editable_install.py.orig
72 +++ setuptools-75.5.0/setuptools/tests/test_editable_install.py
74 three = import_module("parent.child.three")
77 + @pytest.mark.skip(reason="fails with tox-current-env")
78 def test_no_recursion(self, tmp_path):
81 --- setuptools-75.5.0/setuptools/tests/test_extern.py.orig
82 +++ setuptools-75.5.0/setuptools/tests/test_extern.py
85 from setuptools import Distribution
90 def test_reimport_extern():
91 packaging2 = importlib.import_module(packaging.__name__)
92 assert packaging is packaging2
95 +@pytest.mark.skip(reason="fails with tox-current-env")
96 def test_distribution_picklable():
97 pickle.loads(pickle.dumps(Distribution()))
98 --- setuptools-75.5.0/setuptools/tests/test_build_py.py.orig
99 +++ setuptools-75.5.0/setuptools/tests/test_build_py.py
104 +@pytest.mark.skip(reason="fails with tox-current-env")
105 def test_excluded_subpackages(tmpdir_cwd):
106 jaraco.path.build(EXAMPLE_WITH_MANIFEST)
107 dist = Distribution({"script_name": "%PEP 517%"})
108 --- setuptools-75.5.0/setuptools/tests/test_develop.py.orig
109 +++ setuptools-75.5.0/setuptools/tests/test_develop.py
111 # assert '0.0' not in foocmd_text
113 @pytest.mark.xfail(reason="legacy behavior retained for compatibility #4167")
114 + @pytest.mark.skip(reason="fails with tox-current-env")
115 def test_egg_link_filename(self):
117 name='Foo $$$ Bar_baz-bing',
118 --- setuptools-75.5.0/setuptools/tests/test_core_metadata.py.orig
119 +++ setuptools-75.5.0/setuptools/tests/test_core_metadata.py
123 @pytest.mark.parametrize(("name", "attrs"), __read_test_cases())
124 +@pytest.mark.skip(reason="fails with tox-current-env")
125 def test_read_metadata(name, attrs):
126 dist = Distribution(attrs)
127 metadata_out = dist.metadata
128 --- setuptools-75.5.0/setuptools/_distutils/tests/test_dist.py.orig
129 +++ setuptools-75.5.0/setuptools/_distutils/tests/test_dist.py
131 {"name": "package", "version": "1.0", "provides": ["my.pkg (splat)"]},
134 + @pytest.mark.skip(reason="fails with tox-current-env")
135 def test_requires(self):
138 --- setuptools-75.5.0/setuptools/tests/test_egg_info.py.orig
139 +++ setuptools-75.5.0/setuptools/tests/test_egg_info.py
141 with pytest.raises(distutils.errors.DistutilsFileError, match=msg):
144 + @pytest.mark.skip(reason="fails with tox-current-env")
145 def test_license_is_a_string(self, tmpdir_cwd, env):
149 mismatch_marker=mismatch_marker,
150 mismatch_marker_alternate=mismatch_marker_alternate,
152 + @pytest.mark.skip(reason="fails with tox-current-env")
156 --- setuptools-75.5.0/setuptools/tests/test_bdist_deprecations.py.orig
157 +++ setuptools-75.5.0/setuptools/tests/test_bdist_deprecations.py
159 @pytest.mark.skipif(sys.platform == 'win32', reason='non-Windows only')
160 @pytest.mark.xfail(reason="bdist_rpm is long deprecated, should we remove it? #1988")
161 @mock.patch('distutils.command.bdist_rpm.bdist_rpm')
162 +@pytest.mark.skip(reason="fails with tox-current-env")
163 def test_bdist_rpm_warning(distutils_cmd, tmpdir_cwd):
166 --- setuptools-75.5.0/setuptools/tests/test_virtualenv.py.orig
167 +++ setuptools-75.5.0/setuptools/tests/test_virtualenv.py
172 +@pytest.mark.skip(reason="fails with tox-current-env")
173 def test_pip_upgrade_from_source(
174 pip_version, venv_without_setuptools, setuptools_wheel, setuptools_sdist
176 --- setuptools-75.5.0/setuptools/tests/test_build_clib.py.orig
177 +++ setuptools-75.5.0/setuptools/tests/test_build_clib.py
181 @mock.patch('setuptools.command.build_clib.newer_pairwise_group')
182 + @pytest.mark.skip(reason="fails with tox-current-env")
183 def test_build_libraries(self, mock_newer):
184 dist = Distribution()
185 cmd = build_clib(dist)
187 assert cmd.compiler.create_static_lib.call_count == 1
189 @mock.patch('setuptools.command.build_clib.newer_pairwise_group')
190 + @pytest.mark.skip(reason="fails with tox-current-env")
191 def test_build_libraries_reproducible(self, mock_newer):
192 dist = Distribution()
193 cmd = build_clib(dist)
194 --- setuptools-75.5.0/setuptools/tests/test_build_ext.py.orig
195 +++ setuptools-75.5.0/setuptools/tests/test_build_ext.py
197 "package_dir": {"": "src"},
200 + @pytest.mark.skip(reason="fails with tox-current-env")
201 def test_get_outputs(self, tmpdir_cwd, monkeypatch):
202 monkeypatch.setenv('SETUPTOOLS_EXT_SUFFIX', '.mp3') # make test OS-independent
203 monkeypatch.setattr('setuptools.command.build_ext.use_stubs', False)
205 f"{build_lib}/mypkg/subpkg/ext2.mp3": "src/mypkg/subpkg/ext2.mp3",
208 + @pytest.mark.skip(reason="fails with tox-current-env")
209 def test_get_output_mapping_with_stub(self, tmpdir_cwd, monkeypatch):
210 monkeypatch.setenv('SETUPTOOLS_EXT_SUFFIX', '.mp3') # make test OS-independent
211 monkeypatch.setattr('setuptools.command.build_ext.use_stubs', True)