You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pants_test/engine/legacy/test_graph_integration.py sF.F.F [100%]
=================================== FAILURES ===================================
__________________ GraphIntegrationTest.test_existing_bundles __________________
self = <pants_test.engine.legacy.test_graph_integration.GraphIntegrationTest testMethod=test_existing_bundles>
def test_existing_bundles(self):
target_full = '{}:mapper'.format(self._BUNDLE_TARGET_BASE)
pants_run = self.run_pants(['filedeps', target_full], config={
GLOBAL_SCOPE_CONFIG_SECTION: {
'glob_expansion_failure': 'warn',
},
})
self.assert_success(pants_run)
> self.assertNotIn("Globs", pants_run.stderr_data)
E AssertionError: 'Globs' unexpectedly found in '/b/f/w/pants/engine/fs.py:31: DeprecationWarning: DEPRECATED: pants.util.objects.datatype will be removed in version 1.24.0.dev2.\n Use @dataclass to declare typed named tuples instead!\n FilesContent = Collection.of(FileContent)\n/b/f/w/pants/engine/fs.py:173: DeprecationWarning: DEPRECATED: pants.util.objects.datatype will be removed in version 1.24.0.dev2.\n Use @dataclass to declare typed named tuples instead!\n DirectoriesToMaterialize = Collection.of(DirectoryToMaterialize)\n/b/f/w/pants/engine/fs.py:182: DeprecationWarning: DEPRECATED: pants.util.objects.datatype will be removed in version 1.24.0.dev2.\n Use @dataclass to declare typed named tuples instead!\n MaterializeDirectoriesResult = Collection.of(MaterializeDirectoryResult)\n/b/f/w/pants/source/source_root.py:29: DeprecationWarning: DEPRECATED: pants.util.objects.datatype will be removed in version 1.24.0.dev2.\n Use @dataclass to declare typed named tuples instead!\n class AllSourceRoots(Collection.of(SourceRoot)):\n/b/f/w/pants/engine/addressable.py:15: DeprecationWarning: DEPRECATED: pants.util.objects.datatype will be removed in version 1.24.0.dev2.\n Use @dataclass to declare typed named tuples instead!\n Addresses = Collection.of(Address)\n/b/f/w/pants/engine/addressable.py:25: DeprecationWarning: DEPRECATED: pants.util.objects.datatype will be removed in version 1.24.0.dev2.\n Use @dataclass to declare typed named tuples instead!\n class BuildFileAddresses(Collection.of(BuildFileAddress)):\n/b/f/w/pants/engine/addressable.py:32: DeprecationWarning: DEPRECATED: pants.util.objects.datatype will be removed in version 1.24.0.dev2.\n Use @dataclass to declare typed named tuples instead!\n ProvenancedBuildFileAddresses = Collection.of(ProvenancedBuildFileAddress)\n/b/f/w/pants/engine/legacy/graph.py:381: DeprecationWarning: DEPRECATED: pants.util.objects.datatype will be removed in version 1.24.0.dev2.\n Use @dataclass to declare typed named tuples instead!\n class HydratedTargets(Collection.of(HydratedTarget)):\n/b/f/w/pants/engine/scheduler.py:325: DeprecationWarning: DEPRECATED: pants.util.objects.datatype will be removed in version 1.24.0.dev2.\n Use @dataclass to declare typed named tuples instead!\n _PathGlobsAndRootCollection = Collection.of(PathGlobsAndRoot)\n/b/f/w/pants/engine/scheduler.py:328: DeprecationWarning: DEPRECATED: pants.util.objects.datatype will be removed in version 1.24.0.dev2.\n Use @dataclass to declare typed named tuples instead!\n _DirectoryDigests = Collection.of(Digest)\nScrubbed PYTHONPATH=/b/f/w:/b/f/w/pytest-with-requirements.pex:/pyenv-docker-build/versions/3.6.8/lib/python36.zip:/pyenv-docker-build/versions/3.6.8/lib/python3.6:/pyenv-docker-build/versions/3.6.8/lib/python3.6/lib-dynload:/b/f/w/pex_root/install/twitter.common.log-0.3.11-py3-none-any.whl.c920dbc14b8e880aec2bb78850d101855d756952/twitter.common.log-0.3.11-py3-none-any.whl:/b/f/w/pex_root/install/docutils-0.14-py3-none-any.whl.199b17a7fbabc943293d072079258c1dd5c68e0a/docutils-0.14-py3-none-any.whl:/b/f/w/pex_root/install/python_Levenshtein-0.12.0-cp36-cp36m-linux_x86_64.whl.84166427d03452356dbc6efbc47328ff00182d55/python_Levenshtein-0.12.0-cp36-cp36m-linux_x86_64.whl:/b/f/w/pex_root/install/traceback2-1.4.0-py2.py3-none-any.whl.5e1797d06c7ad5dc1603d4320126d8c992157962/traceback2-1.4.0-py2.py3-none-any.whl:/b/f/w/pex_root/install/Pygments-2.3.1-py2.py3-none-any.whl.ee4bd72946de1ced4595abfa01a778b34f0cad86/Pygments-2.3.1-py2.py3-none-any.whl:/b/f/w/pex_root/install/chardet-3.0.4-py2.py3-none-any.whl.c4332e34e38b781695ce775973fe40663558a897/chardet-3.0.4-py2.py3-none-any.whl:/b/f/w/pex_root/install/more_itertools-7.2.0-py3-none-any.whl.f037f4802a5f30643d86c366cbf14ceb21d39f97/more_itertools-7.2.0-py3-none-any.whl:/b/f/w/pex_root/install/psutil-5.6.3-cp36-cp36m-linux_x86_64.whl.54dbf12b59be05156cf0cab2b560a8491408320e/psutil-5.6.3-cp36-cp36m-linux_x86_64.whl:/b/f/w/pex_root/install/pytest-3.6.4-py2.py3-none-any.whl.3cf4d2d91a6d84f9b62d5d5633d46f1dea9222bb/pytest-3.6.4-py2.py3-none-any.whl:/b/f/w/pex_root/install/dataclasses-0.6-py3-none-any.whl.b0182a0043d72149b99128f2badc2b43ed38de40/dataclasses-0.6-py3-none-any.whl:/b/f/w/pex_root/install/setproctitle-1.1.10-cp36-cp36m-linux_x86_64.whl.4b7f1ca0ffb03f668d5cd5acf41f15cda09e9fbf/setproctitle-1.1.10-cp36-cp36m-linux_x86_64.whl:/b/f/w/pex_root/install/certifi-2019.9.11-py2.py3-none-any.whl.9f399d4ea01e8af030fdb7731c76799123ef0839/certifi-2019.9.11-py2.py3-none-any.whl:/b/f/w/pex_root/install/pystache-0.5.3-py3-none-any.whl.0a04214ba1f2c3adf1b0141fd1b4fabe4c16109b/pystache-0.5.3-py3-none-any.whl:/b/f/w/pex_root/install/wheel-0.31.1-py2.py3-none-any.whl.9162405b4c6d47ff554018389d29281b6e4854a6/wheel-0.31.1-py2.py3-none-any.whl:/b/f/w/pex_root/install/packaging-16.8-py2.py3-none-any.whl.e40536ef84ff020576b969f64434fa248c714237/packaging-16.8-py2.py3-none-any.whl:/b/f/w/pex_root/install/twitter.common.lang-0.3.11-py3-none-any.whl.753335ecc81fb9377df5ad090881a9a3cfaf6aa9/twitter.common.lang-0.3.11-py3-none-any.whl:/b/f/w/pex_root/install/six-1.12.0-py2.py3-none-any.whl.56417fecea1347c6c047607ab9996cc97aec99de/six-1.12.0-py2.py3-none-any.whl:/b/f/w/pex_root/install/twitter.common.collections-0.3.11-py3-none-any.whl.b3eeeb6a640fca93f1e271a2dd9a8a81fb47c030/twitter.common.collections-0.3.11-py3-none-any.whl:/b/f/w/pex_root/install/pluggy-0.7.1-py2.py3-none-any.whl.742f368de18a3c89563e6d1a269f2b5b7f336d2d/pluggy-0.7.1-py2.py3-none-any.whl:/b/f/w/pex_root/install/requests-2.22.0-py2.py3-none-any.whl.bb3699cc576016729d42f9bf4eccfdbcb292ec50/requests-2.22.0-py2.py3-none-any.whl:/b/f/w/pex_root/install/cffi-1.12.3-cp36-cp36m-manylinux1_x86_64.whl.73be7de09a609474b1efc2d12432becbbd0f0de4/cffi-1.12.3-cp36-cp36m-manylinux1_x86_64.whl:/b/f/w/pex_root/install/twitter.common.options-0.3.11-py3-none-any.whl.136eca7ec58c4a151b2d5b6a71d631ed1b3658b8/twitter.common.options-0.3.11-py3-none-any.whl:/b/f/w/pex_root/install/pyOpenSSL-17.3.0-py2.py3-none-any.whl.f542e1c53dc88676d30ec1b1da93018ff42cb6a9/pyOpenSSL-17.3.0-py2.py3-none-any.whl:/b/f/w/pex_root/install/linecache2-1.0.0-py2.py3-none-any.whl.fd2cf72046aaaf68615409af851242d5c32b321f/linecache2-1.0.0-py2.py3-none-any.whl:/b/f/w/pex_root/install/idna-2.8-py2.py3-none-any.whl.645e82ab4157606d15a8766060dd690deebcc4f2/idna-2.8-py2.py3-none-any.whl:/b/f/w/pex_root/install/asttokens-1.1.13-py2.py3-none-any.whl.00fa8ee883d8fd945420c0f59d79e2b8387d013b/asttokens-1.1.13-py2.py3-none-any.whl:/b/f/w/pex_root/install/twitter.common.dirutil-0.3.11-py3-none-any.whl.27719e6d70e5792a4eaa4b057e7ad31a39bceddd/twitter.common.dirutil-0.3.11-py3-none-any.whl:/b/f/w/pex_root/install/ply-3.11-py2.py3-none-any.whl.ced24d23e3ca145d26f6ac130df2de53c3e35188/ply-3.11-py2.py3-none-any.whl:/b/f/w/pex_root/install/py-1.8.0-py2.py3-none-any.whl.3402fa58a6c20477b2e9efe86f4f43a119cd771a/py-1.8.0-py2.py3-none-any.whl:/b/f/w/pex_root/install/pathspec-0.5.9-py3-none-any.whl.8385d9631afea5f89b0b84977cd9d811d214d314/pathspec-0.5.9-py3-none-any.whl:/b/f/w/pex_root/install/urllib3-1.25.6-py2.py3-none-any.whl.be3132b0776d8d906e57978f1591774617a1d4fb/urllib3-1.25.6-py2.py3-none-any.whl:/b/f/w/pex_root/install/pytest_timeout-1.2.1-py2.py3-none-any.whl.4581b560be35b67389220084292ed6b31c056bc3/pytest_timeout-1.2.1-py2.py3-none-any.whl:/b/f/w/pex_root/install/PyYAML-5.1.2-cp36-cp36m-linux_x86_64.whl.9cf42c8cdcdf7383fe851f85465a864fa2f34348/PyYAML-5.1.2-cp36-cp36m-linux_x86_64.whl:/b/f/w/pex_root/install/pywatchman-1.4.1-cp36-cp36m-linux_x86_64.whl.fff5da8bcc13fc32a429b12491a3a71f44257e42/pywatchman-1.4.1-cp36-cp36m-linux_x86_64.whl:/b/f/w/pex_root/install/attrs-19.3.0-py2.py3-none-any.whl.01c47aecb2cee3cc26140dc70eb5d5066d174785/attrs-19.3.0-py2.py3-none-any.whl:/b/f/w/pex_root/install/twitter.common.confluence-0.3.11-py3-none-any.whl.db65f7c09e90802248102d3fe380f367d26b066e/twitter.common.confluence-0.3.11-py3-none-any.whl:/b/f/w/pex_root/install/beautifulsoup4-4.6.3-py3-none-any.whl.f69b3796d967a649e5bef9622259dadb21e19d59/beautifulsoup4-4.6.3-py3-none-any.whl:/b/f/w/pex_root/install/coverage-4.5.4-cp36-cp36m-manylinux1_x86_64.whl.53442ad0427aece4db45460c3b9db6b525598f8f/coverage-4.5.4-cp36-cp36m-manylinux1_x86_64.whl:/b/f/w/pex_root/install/fasteners-0.14.1-py2.py3-none-any.whl.99944bb9e5cc9cc4f6144bc3ee6173a78219b35a/fasteners-0.14.1-py2.py3-none-any.whl:/b/f/w/pex_root/install/pytest_cov-2.4.0-py2.py3-none-any.whl.18334e5c5b4fe92fac23389f65776f52e363bbd5/pytest_cov-2.4.0-py2.py3-none-any.whl:/b/f/w/pex_root/install/setuptools-40.6.3-py2.py3-none-any.whl.4a47c8d55bbea45ef1029b493d822f7c1d55a196/setuptools-40.6.3-py2.py3-none-any.whl:/b/f/w/pex_root/install/unittest2-1.1.0-py2.py3-none-any.whl.825429223a8ef4a056925c48c01a7f7a387cb1fd/unittest2-1.1.0-py2.py3-none-any.whl:/b/f/w/pex_root/install/pex-1.6.12-py2.py3-none-any.whl.d8a368099663ef2d23c79e3403d86115039740d7/pex-1.6.12-py2.py3-none-any.whl:/b/f/w/pex_root/install/atomicwrites-1.3.0-py2.py3-none-any.whl.2bce967cb4fb97fa3931f45e5b4decdf527bf276/atomicwrites-1.3.0-py2.py3-none-any.whl:/b/f/w/pex_root/install/thriftpy2-0.4.7-cp36-cp36m-linux_x86_64.whl.21f6416b61ab690d8454b1a6cf8c6cfee0a61d8f/thriftpy2-0.4.7-cp36-cp36m-linux_x86_64.whl:/b/f/w/pex_root/install/pycparser-2.19-py2.py3-none-any.whl.53078ed0a121a74ad0e5d5d8534cec1c8f49234e/pycparser-2.19-py2.py3-none-any.whl:/b/f/w/pex_root/install/pycodestyle-2.4.0-py2.py3-none-any.whl.0a958eee162effa42dbebab9ec410ad2e5c7fa7b/pycodestyle-2.4.0-py2.py3-none-any.whl:/b/f/w/pex_root/install/monotonic-1.5-py2.py3-none-any.whl.e6c7e442a796dc3284dafc29d5bee78b3d3b527a/monotonic-1.5-py2.py3-none-any.whl:/b/f/w/pex_root/install/pyflakes-2.1.1-py2.py3-none-any.whl.728507c2086c87982c8c1c24ff46b1c2e6c46574/pyflakes-2.1.1-py2.py3-none-any.whl:/b/f/w/pex_root/install/cryptography-2.8-cp36-cp36m-linux_x86_64.whl.fb86a63dbcd99734250a2790f7b1f4dc63133b91/cryptography-2.8-cp36-cp36m-linux_x86_64.whl:/b/f/w/pex_root/install/contextlib2-0.5.5-py2.py3-none-any.whl.edad6efe1aebf29bea2d8a9e8dab93fbbc2555bc/contextlib2-0.5.5-py2.py3-none-any.whl:/b/f/w/pex_root/install/argparse-1.4.0-py2.py3-none-any.whl.dd8addeaf2a7bb1139fae1ac955d19f7c60bd9b2/argparse-1.4.0-py2.py3-none-any.whl:/b/f/w/pex_root/install/ansicolors-1.0.2-py3-none-any.whl.0088834e21b2c8f3df9b82794f4dca1c75af4f12/ansicolors-1.0.2-py3-none-any.whl:/b/f/w/pex_root/install/www_authenticate-0.9.2-py3-none-any.whl.a7cb2145b3e03bc83c68b6a3bd8f7d26627568b4/www_authenticate-0.9.2-py3-none-any.whl:/b/f/w/pex_root/install/typing_extensions-3.7.4-py3-none-any.whl.1edcbe8619e77859668b3f056ad84bcfdf2e0fcd/typing_extensions-3.7.4-py3-none-any.whl:/b/f/w/pex_root/install/Markdown-2.1.1-py3-none-any.whl.6456b7a4f7d5e30ef5882665fd6c267d5996a993/Markdown-2.1.1-py3-none-any.whl:/b/f/w/pex_root/install/py_zipkin-0.18.4-py2.py3-none-any.whl.cf7543ab85c6b8493274c465aa3e70d8bedd4118/py_zipkin-0.18.4-py2.py3-none-any.whl:/b/f/w/pex_root/install/pyparsing-2.4.2-py2.py3-none-any.whl.50391d7edbea580d5d233c392696aef4d9056311/pyparsing-2.4.2-py2.py3-none-any.whl:/b/f/w/pytest-with-requirements.pex/.bootstrap from the environment.\n/b/f/w/pants/backend/project_info/rules/source_file_validator.py:96: DeprecationWarning: DEPRECATED: pants.util.objects.datatype will be removed in version 1.24.0.dev2.\n Use @dataclass to declare typed named tuples instead!\n RegexMatchResults = Collection.of(RegexMatchResult)\n\n'
pants_test/engine/legacy/test_graph_integration.py:143: AssertionError
The text was updated successfully, but these errors were encountered:
Fixes#8539 and #8520.
----
Revert "fix mypy type error in meta.py (#8509)"
This reverts commit 9ad14d3.
----
Revert "support using @DataClass for engine params (#8181)"
This reverts commit 00c4f8c.
The text was updated successfully, but these errors were encountered: