Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Homepage project urls #5

Merged
merged 2 commits into from
Nov 14, 2024
Merged

Homepage project urls #5

merged 2 commits into from
Nov 14, 2024

Conversation

amjith
Copy link
Contributor

@amjith amjith commented Nov 13, 2024

That was tedious but it is now done.

@amjith amjith requested a review from thatch November 13, 2024 06:13
@amjith amjith force-pushed the homepage-project-urls branch from 8800b8c to d395a83 Compare November 13, 2024 18:57
n = v.setup_call_args.get("name")
if n:
if n is UNKNOWN:
raise ValueError("Complex setup call can't extract name")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think long-term these shouldn't raise; the snippets above do that because finding deps was the original use of this. It doesn't matter for your artifact-validation use case though.

README.md Outdated
provides_extra=frozenset(),
name='pynt',
requires_python='>=3.6',
url='https://stash.corp.netflix.com/projects/NFPY/repos/pynt/browse',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are you happy with this example? Maybe use requests or something more recognizable instead?

README.md Outdated
)
```

The metadata can be extracted from a `wheel`, `sdist` (zip or tarball). Check [`__init__.py`](metadata_please/__init__.py) file for all available functions.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

also "most straightforward source checkouts"

@@ -229,6 +367,8 @@ def from_setup_cfg_checkout(path: Path) -> bytes:
"Requires-Dist: " + merge_extra_marker(extra_name, i) + "\n"
)

# TODO name requires_python url project_urls
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TODO can go

Copy link
Member

@thatch thatch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree that looked tedious

@amjith amjith merged commit 5815c7a into main Nov 14, 2024
29 checks passed
@amjith amjith deleted the homepage-project-urls branch November 14, 2024 01:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants