René's URL Explorer Experiment


Title: Requested lz4~=4.3 from file, but installing version 0.0.0/version: none · Issue #280 · python-lz4/python-lz4 · GitHub

Open Graph Title: Requested lz4~=4.3 from file, but installing version 0.0.0/version: none · Issue #280 · python-lz4/python-lz4

X Title: Requested lz4~=4.3 from file, but installing version 0.0.0/version: none · Issue #280 · python-lz4/python-lz4

Description: Trying to build a flatpak application from a Python project which requires lz4. However, when building from source, the build fails: ======================================================================== Building module python3-lz4 in ...

Open Graph Description: Trying to build a flatpak application from a Python project which requires lz4. However, when building from source, the build fails: ================================================================...

X Description: Trying to build a flatpak application from a Python project which requires lz4. However, when building from source, the build fails: ================================================================...

Opengraph URL: https://github.com/python-lz4/python-lz4/issues/280

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Requested lz4~=4.3 from file, but installing version 0.0.0/version: none","articleBody":"Trying to build a flatpak application from a Python project which requires lz4.\r\n\r\nHowever, when building from source, the build fails:\r\n```\r\n========================================================================\r\nBuilding module python3-lz4 in /home/evilsupahfly/src/Flatpak Testing/.flatpak-builder/build/python3-lz4-1\r\n========================================================================\r\nRunning: pip3 install --verbose --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} \"lz4==4.3.3\" --no-build-isolation\r\nUsing pip 24.0 from /usr/lib/python3.11/site-packages/pip (python 3.11)\r\nLooking in links: file:///run/build/python3-lz4\r\nERROR: Could not find a version that satisfies the requirement lz4==4.3.3 (from versions: none)\r\nERROR: No matching distribution found for lz4==4.3.3\r\nError: module python3-lz4: Child process exited with code 1\r\n```\r\n\r\nAccording to the help I got from my original [help request](https://discuss.python.org/t/requested-lz4-4-3-from-file-but-installing-version-0-0-0/57581/5) on python.org, this is a bug in lz4 itself:\r\n\r\n\u003e As can be seen on GitHub, the pyproject.toml file doesn’t specify a version number. pyproject.toml is in fact quite minimal in this case; it’s only specifying some build dependencies, and expecting the setup.py process to create all the needed metadata.\r\n\u003e \r\n\u003e But this project wants to compute the version using setuptools-scm, an [extension to setuptools that](https://pypi.org/project/setuptools-scm/) checks version control to retrieve information about the project and compute things like the version number.\r\n\u003e \r\n\u003e More specifically, it’s configured to use setuptools-scm to write a version number into a lz4/version.py file in the source directory, and then use that during building to set the version for metadata. (The file is then also available for the program to use internally at runtime.) The GitHub repository doesn’t contain this file (version control wouldn’t be tracking it on the devs’ machine) and neither does the source tarball. This is a problem, because it prevents anyone else from building from the source tarball - when unpacked on someone else’s machine, there’s no Git repo from which to extract the version info.\r\n\u003e \r\n\u003e So when the package is built from the sdist, it can’t produce the necessary file, therefore can’t inform the metadata creation process, and therefore falls back to a default version number.\r\n\r\nSo when attempting to build from source, it fails because the metadata doesn't contain any useable version information.","author":{"url":"https://github.com/EvilSupahFly","@type":"Person","name":"EvilSupahFly"},"datePublished":"2024-07-08T15:49:57.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/280/python-lz4/issues/280"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:3785e28e-3f4e-b3e6-fdd6-9ae5cbbea674
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idB4C0:172CD6:1CF59C2:2891468:69822DE0
html-safe-noncecaae0123d18b6f95e57583b7074cfa257f664c36970038106aca4f1c4340fdbc
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNEMwOjE3MkNENjoxQ0Y1OUMyOjI4OTE0Njg6Njk4MjJERTAiLCJ2aXNpdG9yX2lkIjoiNjE1NDkzODU1OTMwMTI5OTY4MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac0f6da2cd5eadd629ec75dec4f875024e89bd2fa23836049eb8330251176ebb81
hovercard-subject-tagissue:2395991472
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python-lz4/python-lz4/280/issue_layout
twitter:imagehttps://opengraph.githubassets.com/b08ae3181397221ff43c04f4cbfc66b5ec4e4e0bc753888ab82067001319d435/python-lz4/python-lz4/issues/280
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/b08ae3181397221ff43c04f4cbfc66b5ec4e4e0bc753888ab82067001319d435/python-lz4/python-lz4/issues/280
og:image:altTrying to build a flatpak application from a Python project which requires lz4. However, when building from source, the build fails: ================================================================...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameEvilSupahFly
hostnamegithub.com
expected-hostnamegithub.com
None9200c22eadc77fb46da7f3065c3f5dbd68119fe90366eb8f2cba5dcd703a9791
turbo-cache-controlno-preview
go-importgithub.com/python-lz4/python-lz4 git https://github.com/python-lz4/python-lz4.git
octolytics-dimension-user_id18689658
octolytics-dimension-user_loginpython-lz4
octolytics-dimension-repository_id57201963
octolytics-dimension-repository_nwopython-lz4/python-lz4
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id57201963
octolytics-dimension-repository_network_root_nwopython-lz4/python-lz4
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasee610a56e0569bf596eb9af47b60c456c2b4a965e
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/python-lz4/python-lz4/issues/280#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-lz4%2Fpython-lz4%2Fissues%2F280
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-lz4%2Fpython-lz4%2Fissues%2F280
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=python-lz4%2Fpython-lz4
Reloadhttps://patch-diff.githubusercontent.com/python-lz4/python-lz4/issues/280
Reloadhttps://patch-diff.githubusercontent.com/python-lz4/python-lz4/issues/280
Reloadhttps://patch-diff.githubusercontent.com/python-lz4/python-lz4/issues/280
python-lz4 https://patch-diff.githubusercontent.com/python-lz4
python-lz4https://patch-diff.githubusercontent.com/python-lz4/python-lz4
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fpython-lz4%2Fpython-lz4
Fork 81 https://patch-diff.githubusercontent.com/login?return_to=%2Fpython-lz4%2Fpython-lz4
Star 297 https://patch-diff.githubusercontent.com/login?return_to=%2Fpython-lz4%2Fpython-lz4
Code https://patch-diff.githubusercontent.com/python-lz4/python-lz4
Issues 19 https://patch-diff.githubusercontent.com/python-lz4/python-lz4/issues
Pull requests 9 https://patch-diff.githubusercontent.com/python-lz4/python-lz4/pulls
Actions https://patch-diff.githubusercontent.com/python-lz4/python-lz4/actions
Projects 0 https://patch-diff.githubusercontent.com/python-lz4/python-lz4/projects
Security 0 https://patch-diff.githubusercontent.com/python-lz4/python-lz4/security
Insights https://patch-diff.githubusercontent.com/python-lz4/python-lz4/pulse
Code https://patch-diff.githubusercontent.com/python-lz4/python-lz4
Issues https://patch-diff.githubusercontent.com/python-lz4/python-lz4/issues
Pull requests https://patch-diff.githubusercontent.com/python-lz4/python-lz4/pulls
Actions https://patch-diff.githubusercontent.com/python-lz4/python-lz4/actions
Projects https://patch-diff.githubusercontent.com/python-lz4/python-lz4/projects
Security https://patch-diff.githubusercontent.com/python-lz4/python-lz4/security
Insights https://patch-diff.githubusercontent.com/python-lz4/python-lz4/pulse
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/python-lz4/python-lz4/issues/280
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/python-lz4/python-lz4/issues/280
Requested lz4~=4.3 from file, but installing version 0.0.0/version: nonehttps://patch-diff.githubusercontent.com/python-lz4/python-lz4/issues/280#top
https://github.com/EvilSupahFly
https://github.com/EvilSupahFly
EvilSupahFlyhttps://github.com/EvilSupahFly
on Jul 8, 2024https://github.com/python-lz4/python-lz4/issues/280#issue-2395991472
help requesthttps://discuss.python.org/t/requested-lz4-4-3-from-file-but-installing-version-0-0-0/57581/5
extension to setuptools thathttps://pypi.org/project/setuptools-scm/
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.