You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2022/02/04 16:00:37 UTC
[GitHub] [beam] AnandInguva commented on a change in pull request #16633: [BEAM-4032]Support staging binary distributions of dependency packages
AnandInguva commented on a change in pull request #16633:
URL: https://github.com/apache/beam/pull/16633#discussion_r799599383
##########
File path: sdks/python/apache_beam/runners/portability/stager_test.py
##########
@@ -723,6 +765,65 @@ def test_remove_dependency_from_requirements(self):
self.assertEqual(['apache_beam\n', 'avro-python3\n', 'numpy\n'],
sorted(lines))
+ def _create_file(
+ self, requirements_file, temp_dir, populate_cache_with_sdists):
+ if not populate_cache_with_sdists:
+ self.create_temp_file(os.path.join(temp_dir, 'nothing.whl'), 'Fake whl')
+ self.create_temp_file(
+ os.path.join(temp_dir, 'nothing.tar.gz'), 'Fake tarball')
+ else:
+ self.create_temp_file(
+ os.path.join(temp_dir, 'nothing.tar.gz'), 'Fake tarball')
Review comment:
Done
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@beam.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org