<@U0AR45336>: have you validated that that fixes t...
# announce
w
@salmon-summer-38098: have you validated that that fixes twine?
s
i can confirm it doesnt fix it. so I am bisecting the release notes to get to the line that causes it πŸ™‚
w
if you extract the METADATA file from the wheel, you can look at the line number in context
see above re: which file
s
i did
w
hm. so what is on line 1287?
s
it point to a line thats always been in the release notes - i dont see anything wrong with that line
w
@salmon-summer-38098: did you remove the header from the file first?
i think that the line number is after taking the other metadata off the top of the METADATA file
i suspect that pypi got more strict ... since the last release. because i hit something like this during the pex release too: https://github.com/pantsbuild/pex/commit/bafa4bb483cb54f60ca4a45615fef37898817c7a
(needed to delete something very old)
s
oh
i think i see it, β€œ\n” 😱
w
that context might have been relevant, sorry. i think i assumed that this was somehow fallout from master being broken
s
fairly certain, its complaining about this line number:
Copy code
* Properly render \n in exceptions with Py3 (#7073)
  `PR #7073 <https://github.com/pantsbuild/pants/pull/7073>`_
although, that was introduced a while ago, so not sure what recent changes brought that out. testing now
w
if twine likes it after removal, then I think that you are good.
s
we are past that error now,
Copy code
$ twine check dist/deploy/wheels/pantsbuild.pants/e0aec1480f1282f0c28a353f6c9caa565b77863d/1.17.0.dev0+gite0aec148/pantsbuild.pants.contrib.avro-1.17.0.dev0+gite0aec148-py27.py36.py37-none-any.whl
Checking distribution dist/deploy/wheels/pantsbuild.pants/e0aec1480f1282f0c28a353f6c9caa565b77863d/1.17.0.dev0+gite0aec148/pantsbuild.pants.contrib.avro-1.17.0.dev0+gite0aec148-py27.py36.py37-none-any.whl: warning: `long_description_content_type` missing.  defaulting to `text/x-rst`.
Failed
The project's long_description has invalid markup which will not be rendered on PyPI. The following syntax errors were detected:
line 6: Warning: Duplicate explicit target name: "here".
I will just keep iterating until success
doesnt like the β€˜here’ in `The latest documentation can be found `here <http://pantsbuild.org/>`_.` lol
Copy code
$ twine check dist/deploy/wheels/pantsbuild.pants/e0aec1480f1282f0c28a353f6c9caa565b77863d/1.17.0.dev0+gite0aec148/pantsbuild.pants.contrib.avro-1.17.0.dev0+gite0aec148-py27.py36.py37-none-any.whl
Checking distribution dist/deploy/wheels/pantsbuild.pants/e0aec1480f1282f0c28a353f6c9caa565b77863d/1.17.0.dev0+gite0aec148/pantsbuild.pants.contrib.avro-1.17.0.dev0+gite0aec148-py27.py36.py37-none-any.whl: warning: `long_description_content_type` missing.  defaulting to `text/x-rst`.
Passed
woot!
w
Yay!
s
https://github.com/pantsbuild/pants/pull/7727 - whenever you have a moment, thanks πŸ™‚