Skip to content

Commit

Permalink
tests/real_projects/python-algorithms: Disable one test on MacOS
Browse files Browse the repository at this point in the history
The all_reqs_installed test must be skipped on MacOS for the ~same
reasons as skipping it on Windows: The tensorflow package on (ARM-based)
MacOS is a placeholder package which causes a false-positive undeclared
dependency.

Newer versions of tensorflow (>=v2.15.1) seem to have stopped shipping
placeholder packages for ARM-based MacOS, so we might be able to revert
this some time in the future.
  • Loading branch information
jherland committed May 6, 2024
1 parent c16ef43 commit e3e0338
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/real_projects/python-algorithms.toml
Original file line number Diff line number Diff line change
Expand Up @@ -110,12 +110,12 @@ unused_deps = [
description = """
Running FD on the TheAlgorithms/Python project, with all requirements
installed. This improves the situation somewhat, compared to the above, but
there are still several problems: qiskit and tensorflow (on Windows only)
are "placeholder packages" that rely on transitive dependencies to provide
their expected import names. Additionally, there appears to be several true
undeclared unused deps.
there are still several problems: qiskit and tensorflow (only on Windows and
ARM-based MacOS in some versions) are "placeholder packages" that rely on
transitive dependencies to provide their expected import names.
Additionally, there appears to be several true undeclared unused deps.
"""
compatibility = "POSIX"
compatibility = "LINUX"
args = []
requirements = [
"beautifulsoup4",
Expand Down

0 comments on commit e3e0338

Please sign in to comment.