Skip to content

Commit

Permalink
Exclude pandas from armv7 and i386
Browse files Browse the repository at this point in the history
  • Loading branch information
cdce8p committed Sep 25, 2024
1 parent 2b63bb1 commit f2319ac
Showing 1 changed file with 15 additions and 7 deletions.
22 changes: 15 additions & 7 deletions script/gen_requirements_all.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,12 @@
"pyuserinput",
}

# Pandas has issues building on armhf, it is expected they
# will drop the platform in the near future (they consider it
# "flimsy" on 386). The following packages depend on pandas,
# so we comment them out.
EXCLUDED_REQUIREMENTS_PANDAS = {"env-canada", "noaa-coops", "pyezviz", "pykrakenapi"}


# Requirements to exclude or include when running github actions.
# Requirements listed in "exclude" will be commented-out in
Expand All @@ -60,17 +66,19 @@
OVERRIDDEN_REQUIREMENTS_ACTIONS = {
"pytest": {"exclude": set(), "include": {"python-gammu"}},
"wheels_aarch64": {"exclude": set(), "include": INCLUDED_REQUIREMENTS_WHEELS},
# Pandas has issues building on armhf, it is expected they
# will drop the platform in the near future (they consider it
# "flimsy" on 386). The following packages depend on pandas,
# so we comment them out.
"wheels_armhf": {
"exclude": {"env-canada", "noaa-coops", "pyezviz", "pykrakenapi"},
"exclude": EXCLUDED_REQUIREMENTS_PANDAS,
"include": INCLUDED_REQUIREMENTS_WHEELS,
},
"wheels_armv7": {
"exclude": EXCLUDED_REQUIREMENTS_PANDAS,
"include": INCLUDED_REQUIREMENTS_WHEELS,
},
"wheels_armv7": {"exclude": set(), "include": INCLUDED_REQUIREMENTS_WHEELS},
"wheels_amd64": {"exclude": set(), "include": INCLUDED_REQUIREMENTS_WHEELS},
"wheels_i386": {"exclude": set(), "include": INCLUDED_REQUIREMENTS_WHEELS},
"wheels_i386": {
"exclude": EXCLUDED_REQUIREMENTS_PANDAS,
"include": INCLUDED_REQUIREMENTS_WHEELS,
},
}

IGNORE_PIN = ("colorlog>2.1,<3", "urllib3")
Expand Down

0 comments on commit f2319ac

Please sign in to comment.