pypa / pypa/packaging

tags: MacOS base_version via dynlib files

Open
#288 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement packaging.tags
Dominant language
Python
Stars
751
Forks
324
Avg merge
12h 58m
Merged PRs (30d)
3

Description

macOS version dectection via pep425tags.py uses any dynlib files to determine the base_version of macOS to support in the wheel (see calculate_macosx_platform_tag. packaging does not seem to have this ability.

Originally posted by @mattip in https://github.com/pypa/wheel/pull/346#issuecomment-602106578

And this was one of the biggest road blocks to switching to packaging.

Originally posted by @agronholm in https://github.com/pypa/wheel/pull/346#issuecomment-602174508


This looks like a case of the fork of pep425tags.py in wheel, diverging from the one in pip. Such cases were expected, and (based on a quick skim) I don't see a reason to not add this functionality.

/cc @brettcannon

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Compare the forked pep425tags.py with pip's version, focusing on calculate_macosx_platform_tag and its dynlib-based macOS base_version detection. Review how packaging currently handles platform tags, and consider the work complete when the needed detection is supported without breaking existing tag behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.