-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
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
[staging-next] python3Packages.poetry*: fixes #120086
Conversation
This reverts commit 50ddbc8. This is a pre-release, and causes poetry to fail
https://github.com/python-poetry/poetry-core/releases/tag/1.1.0a3 Clearly marked as pre-release, but the release atom feed does not seem to reflect that. <?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:media="http://search.yahoo.com/mrss/" xml:lang="en-US">
<id>tag:github.com,2008:https://github.com/python-poetry/poetry-core/releases</id>
<link type="text/html" rel="alternate" href="https://github.com/python-poetry/poetry-core/releases"/>
<link type="application/atom+xml" rel="self" href="https://github.com/python-poetry/poetry-core/releases.atom"/>
<title>Release notes from poetry-core</title>
<updated>2021-04-09T15:37:58Z</updated>
<entry>
<id>tag:github.com,2008:Repository/238972646/1.1.0a3</id>
<updated>2021-04-09T15:49:33Z</updated>
<link rel="alternate" type="text/html" href="https://github.com/python-poetry/poetry-core/releases/tag/1.1.0a3"/>
<title>1.1.0a3</title>
<content type="html"><h3>Fixed</h3>
<ul>
<li>Fixed dependency markers not being properly copied when changing the constraint (<a href="https://github.com/python-poetry/poetry-core/pull/162" data-hovercard-type="pull_request" data-hovercard-url="/python-poetry/poetry-core/pull/162/hovercard">#162</a>).</li>
</ul></content>
<author>
<name>sdispater</name>
</author>
<media:thumbnail height="30" width="30" url="https://avatars.githubusercontent.com/u/555648?s=60&v=4"/>
</entry>
<entry>
<id>tag:github.com,2008:Repository/238972646/1.0.3</id>
<updated>2021-04-09T15:45:11Z</updated>
<link rel="alternate" type="text/html" href="https://github.com/python-poetry/poetry-core/releases/tag/1.0.3"/>
<title>1.0.3</title>
<content type="html"><h3>Fixed</h3>
<ul>
<li>Fixed an error when handling single-digit Python markers (<a href="https://github.com/python-poetry/poetry-core/pull/156" data-hovercard-type="pull_request" data-hovercard-url="/python-poetry/poetry-core/pull/156/hovercard">#156</a>).</li>
<li>Fixed dependency markers not being properly copied when changing the constraint (<a href="https://github.com/python-poetry/poetry-core/pull/163" data-hovercard-type="pull_request" data-hovercard-url="/python-poetry/poetry-core/pull/163/hovercard">#163</a>).</li>
</ul></content>
<author>
<name>sdispater</name>
</author>
<media:thumbnail height="30" width="30" url="https://avatars.githubusercontent.com/u/555648?s=60&v=4"/>
</entry>
<entry>
<id>tag:github.com,2008:Repository/238972646/1.1.0a2</id>
<updated>2021-04-08T15:57:30Z</updated>
<link rel="alternate" type="text/html" href="https://github.com/python-poetry/poetry-core/releases/tag/1.1.0a2"/>
<title>1.1.0a2</title>
<content type="html"><h3>Fixed</h3>
<ul>
<li>Fixed performance regressions when parsing version constraints (<a href="https://github.com/python-poetry/poetry-core/pull/152" data-hovercard-type="pull_request" data-hovercard-url="/python-poetry/poetry-core/pull/152/hovercard">#152</a>).</li>
<li>Fixed how local build versions are handled and compared (<a href="https://github.com/python-poetry/poetry-core/pull/157" data-hovercard-type="pull_request" data-hovercard-url="/python-poetry/poetry-core/pull/157/hovercard">#157</a>, <a href="https://github.com/python-poetry/poetry-core/pull/158" data-hovercard-type="pull_request" data-hovercard-url="/python-poetry/poetry-core/pull/158/hovercard">#158</a>).</li>
<li>Fixed errors when parsing some environment markers (<a href="https://github.com/python-poetry/poetry-core/pull/155" data-hovercard-type="pull_request" data-hovercard-url="/python-poetry/poetry-core/pull/155/hovercard">#155</a>).</li>
</ul></content>
<author>
<name>sdispater</name>
</author>
<media:thumbnail height="30" width="30" url="https://avatars.githubusercontent.com/u/555648?s=60&v=4"/>
</entry>
<entry>
<id>tag:github.com,2008:Repository/238972646/1.1.0a1</id>
<updated>2021-03-30T15:21:27Z</updated>
<link rel="alternate" type="text/html" href="https://github.com/python-poetry/poetry-core/releases/tag/1.1.0a1"/>
<title>1.1.0a1</title>
<content type="html"><p>This version is the first to drop support for Python 2.7 and 3.5.</p>
<p>If you are still using these versions you should update the <code>requires</code> property of the <code>build-system</code> section<br>
to restrict the version of <code>poetry-core</code>:</p>
<div class="highlight highlight-source-toml"><pre>[<span class="pl-en">build-system</span>]
<span class="pl-smi">requires</span> = [<span class="pl-s"><span class="pl-pds">"</span>poetry-core&lt;1.1.0<span class="pl-pds">"</span></span>]
<span class="pl-smi">build-backend</span> = <span class="pl-s"><span class="pl-pds">"</span>poetry.core.masonry.api<span class="pl-pds">"</span></span></pre></div>
<h3>Changed</h3>
<ul>
<li>Dropped support for Python 2.7 and 3.5 (<a href="https://github.com/python-poetry/poetry-core/pull/131" data-hovercard-type="pull_request" data-hovercard-url="/python-poetry/poetry-core/pull/131/hovercard">#131</a>).</li>
<li>Reorganized imports internally to improve performances (<a href="https://github.com/python-poetry/poetry-core/pull/131" data-hovercard-type="pull_request" data-hovercard-url="/python-poetry/poetry-core/pull/131/hovercard">#131</a>).</li>
<li>Directory dependencies are now in non-develop mode by default (<a href="https://github.com/python-poetry/poetry-core/pull/98" data-hovercard-type="pull_request" data-hovercard-url="/python-poetry/poetry-core/pull/98/hovercard">#98</a>).</li>
<li>Improved support for PEP 440 specific versions that do not abide by semantic versioning (<a href="https://github.com/python-poetry/poetry-core/pull/140" data-hovercard-type="pull_request" data-hovercard-url="/python-poetry/poetry-core/pull/140/hovercard">#140</a>).</li>
</ul>
<h3>Fixed</h3>
<ul>
<li>Fixed path dependencies PEP 508 representation (<a href="https://github.com/python-poetry/poetry-core/pull/141" data-hovercard-type="pull_request" data-hovercard-url="/python-poetry/poetry-core/pull/141/hovercard">#141</a>).</li>
</ul></content>
<author>
<name>sdispater</name>
</author>
<media:thumbnail height="30" width="30" url="https://avatars.githubusercontent.com/u/555648?s=60&v=4"/>
</entry>
<entry>
<id>tag:github.com,2008:Repository/238972646/1.0.2</id>
<updated>2021-02-05T20:24:14Z</updated>
<link rel="alternate" type="text/html" href="https://github.com/python-poetry/poetry-core/releases/tag/1.0.2"/>
<title>1.0.2</title>
<content type="html"><h3>Fixed</h3>
<ul>
<li>Fixed a missing import causing an error in Poetry (<a href="https://github.com/python-poetry/poetry-core/pull/134" data-hovercard-type="pull_request" data-hovercard-url="/python-poetry/poetry-core/pull/134/hovercard">#134</a>).</li>
</ul></content>
<author>
<name>sdispater</name>
</author>
<media:thumbnail height="30" width="30" url="https://avatars.githubusercontent.com/u/555648?s=60&v=4"/>
</entry>
<entry>
<id>tag:github.com,2008:Repository/238972646/1.0.1</id>
<updated>2021-02-05T19:54:21Z</updated>
<link rel="alternate" type="text/html" href="https://github.com/python-poetry/poetry-core/releases/tag/1.0.1"/>
<title>1.0.1</title>
<content type="html"><h3>Fixed</h3>
<ul>
<li>Fixed PEP 508 representation of dependency without extras (<a href="https://github.com/python-poetry/poetry-core/pull/102" data-hovercard-type="pull_request" data-hovercard-url="/python-poetry/poetry-core/pull/102/hovercard">#102</a>).</li>
<li>Fixed an error where development dependencies were being resolved when invoking the PEP-517 backend (<a href="https://github.com/python-poetry/poetry-core/pull/101" data-hovercard-type="pull_request" data-hovercard-url="/python-poetry/poetry-core/pull/101/hovercard">#101</a>).</li>
<li>Fixed source distribution not being deterministic (<a href="https://github.com/python-poetry/poetry-core/pull/105" data-hovercard-type="pull_request" data-hovercard-url="/python-poetry/poetry-core/pull/105/hovercard">#105</a>).</li>
<li>Fixed an error where zip files were left open when building wheels (<a href="https://github.com/python-poetry/poetry-core/pull/122" data-hovercard-type="pull_request" data-hovercard-url="/python-poetry/poetry-core/pull/122/hovercard">#122</a>).</li>
<li>Fixed an error where explicitly included files were still not present in final distributions (<a href="https://github.com/python-poetry/poetry-core/pull/124" data-hovercard-type="pull_request" data-hovercard-url="/python-poetry/poetry-core/pull/124/hovercard">#124</a>).</li>
<li>Fixed wheel filename matching for recent architecture (<a href="https://github.com/python-poetry/poetry-core/pull/125" data-hovercard-type="pull_request" data-hovercard-url="/python-poetry/poetry-core/pull/125/hovercard">#125</a>, <a href="https://github.com/python-poetry/poetry-core/pull/129" data-hovercard-type="pull_request" data-hovercard-url="/python-poetry/poetry-core/pull/129/hovercard">#129</a>).</li>
<li>Fixed an error where the <code>&amp;</code> character was not accepted for author names (<a href="https://github.com/python-poetry/poetry-core/pull/120" data-hovercard-type="pull_request" data-hovercard-url="/python-poetry/poetry-core/pull/120/hovercard">#120</a>).</li>
<li>Fixed the PEP-508 representation of some dependencies (<a href="https://github.com/python-poetry/poetry-core/pull/103" data-hovercard-type="pull_request" data-hovercard-url="/python-poetry/poetry-core/pull/103/hovercard">#103</a>).</li>
<li>Fixed the <code>Requires-Python</code> metadata generation (<a href="https://github.com/python-poetry/poetry-core/pull/127" data-hovercard-type="pull_request" data-hovercard-url="/python-poetry/poetry-core/pull/127/hovercard">#127</a>).</li>
<li>Fixed an error where pre-release versions were accepted in version constraints (<a href="https://github.com/python-poetry/poetry-core/pull/128" data-hovercard-type="pull_request" data-hovercard-url="/python-poetry/poetry-core/pull/128/hovercard">#128</a>).</li>
</ul></content>
<author>
<name>sdispater</name>
</author>
<media:thumbnail height="30" width="30" url="https://avatars.githubusercontent.com/u/555648?s=60&v=4"/>
</entry>
<entry>
<id>tag:github.com,2008:Repository/238972646/1.0.0</id>
<updated>2020-09-30T23:13:50Z</updated>
<link rel="alternate" type="text/html" href="https://github.com/python-poetry/poetry-core/releases/tag/1.0.0"/>
<title>1.0.0</title>
<content>No content.</content>
<author>
<name>sdispater</name>
</author>
<media:thumbnail height="30" width="30" url="https://avatars.githubusercontent.com/u/555648?s=60&v=4"/>
</entry>
<entry>
<id>tag:github.com,2008:Repository/238972646/1.0.0rc3</id>
<updated>2020-09-30T20:36:22Z</updated>
<link rel="alternate" type="text/html" href="https://github.com/python-poetry/poetry-core/releases/tag/1.0.0rc3"/>
<title>1.0.0rc3</title>
<content type="html"><h3>Changed</h3>
<ul>
<li>Removed <code>intreehooks</code> build backend in favor of the <code>backend-path</code> mechanism (<a href="https://github.com/python-poetry/poetry-core/pull/90" data-hovercard-type="pull_request" data-hovercard-url="/python-poetry/poetry-core/pull/90/hovercard">#90</a>).</li>
<li>Directory dependencies will now always use a posix path for their representation (<a href="https://github.com/python-poetry/poetry-core/pull/91" data-hovercard-type="pull_request" data-hovercard-url="/python-poetry/poetry-core/pull/91/hovercard">#90</a>).</li>
<li>Dependency constraints can now be set directly via a proper setter (<a href="https://github.com/python-poetry/poetry-core/pull/90" data-hovercard-type="pull_request" data-hovercard-url="/python-poetry/poetry-core/pull/90/hovercard">#90</a>).</li>
</ul></content>
<author>
<name>sdispater</name>
</author>
<media:thumbnail height="30" width="30" url="https://avatars.githubusercontent.com/u/555648?s=60&v=4"/>
</entry>
<entry>
<id>tag:github.com,2008:Repository/238972646/1.0.0rc2</id>
<updated>2020-09-25T13:41:45Z</updated>
<link rel="alternate" type="text/html" href="https://github.com/python-poetry/poetry-core/releases/tag/1.0.0rc2"/>
<title>1.0.0rc2</title>
<content>No content.</content>
<author>
<name>sdispater</name>
</author>
<media:thumbnail height="30" width="30" url="https://avatars.githubusercontent.com/u/555648?s=60&v=4"/>
</entry>
<entry>
<id>tag:github.com,2008:Repository/238972646/1.0.0rc1</id>
<updated>2020-09-25T10:55:37Z</updated>
<link rel="alternate" type="text/html" href="https://github.com/python-poetry/poetry-core/releases/tag/1.0.0rc1"/>
<title>1.0.0rc1</title>
<content type="html"><h3>Fixed</h3>
<ul>
<li>Fixed Python constraint propagation when converting a package to a dependency (<a href="https://github.com/python-poetry/core/pull/84" data-hovercard-type="pull_request" data-hovercard-url="/python-poetry/poetry-core/pull/84/hovercard">#84</a>).</li>
<li>Fixed VCS ignored files being included in wheel distributions for projects using the <code>src</code> layout (<a href="https://github.com/python-poetry/core/pull/81" data-hovercard-type="pull_request" data-hovercard-url="/python-poetry/poetry-core/pull/81/hovercard">#81</a>)</li>
</ul></content>
<author>
<name>sdispater</name>
</author>
<media:thumbnail height="30" width="30" url="https://avatars.githubusercontent.com/u/555648?s=60&v=4"/>
</entry>
</feed> https://github.com/python-poetry/poetry-core/releases.atom There is a better api endpoint that we already use in the home-assistant update script. {
"url": "https://api.github.com/repos/python-poetry/poetry-core/releases/41192682",
"assets_url": "https://api.github.com/repos/python-poetry/poetry-core/releases/41192682/assets",
"upload_url": "https://uploads.github.com/repos/python-poetry/poetry-core/releases/41192682/assets{?name,label}",
"html_url": "https://github.com/python-poetry/poetry-core/releases/tag/1.0.3",
"id": 41192682,
"author": {
"login": "sdispater",
"id": 555648,
"node_id": "MDQ6VXNlcjU1NTY0OA==",
"avatar_url": "https://avatars.githubusercontent.com/u/555648?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sdispater",
"html_url": "https://github.com/sdispater",
"followers_url": "https://api.github.com/users/sdispater/followers",
"following_url": "https://api.github.com/users/sdispater/following{/other_user}",
"gists_url": "https://api.github.com/users/sdispater/gists{/gist_id}",
"starred_url": "https://api.github.com/users/sdispater/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sdispater/subscriptions",
"organizations_url": "https://api.github.com/users/sdispater/orgs",
"repos_url": "https://api.github.com/users/sdispater/repos",
"events_url": "https://api.github.com/users/sdispater/events{/privacy}",
"received_events_url": "https://api.github.com/users/sdispater/received_events",
"type": "User",
"site_admin": false
},
"node_id": "MDc6UmVsZWFzZTQxMTkyNjgy",
"tag_name": "1.0.3",
"target_commitish": "01c0472d9cef3e1a4958364122dd10358a9bd719",
"name": "1.0.3",
"draft": false,
"prerelease": false,
"created_at": "2021-04-09T15:33:40Z",
"published_at": "2021-04-09T15:44:43Z",
"assets": [
],
"tarball_url": "https://api.github.com/repos/python-poetry/poetry-core/tarball/1.0.3",
"zipball_url": "https://api.github.com/repos/python-poetry/poetry-core/zipball/1.0.3",
"body": "### Fixed\r\n\r\n- Fixed an error when handling single-digit Python markers ([#156](https://github.com/python-poetry/poetry-core/pull/156)).\r\n- Fixed dependency markers not being properly copied when changing the constraint ([#163](https://github.com/python-poetry/poetry-core/pull/163))."
} https://api.github.com/repos/python-poetry/poetry-core/releases/latest Aaaaand I guess I'll file an issue with nix-update. Mic92/nix-update#11 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/nix/store/i87c24m0qfc74sn129kvi1vp10v8q721-python3.8-poetry-1.1.5
/nix/store/6jc3mkajfjc50s7s05fwa22jlsjkbfzs-python3.8-poetry-1.1.6
/nix/store/1p9yz3lhbgf2c20l8yw3sr1cmg5a6li6-python3.8-poetry-core-1.0.3
Motivation for this change
Looks like
nix-update
picked up a pre-release, and I didn't do enough testing on the previous PRThings done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)