python-hyper / python-hyper/rfc3986

Bug Fix: PyPI's rfc3986 version 2.0.0 release seems to be older than this repository

Open
#122 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
189
Forks
38
Avg merge
13h 36m
Merged PRs (30d)
1

Description

Thank you for this excellent codebase, it's made dealing with URIs much easier.

I was messing around with mypy and got this error:

error: Skipping analyzing "rfc3986": module is installed, but missing library stubs or py.typed marker [import]

Which was surprising to me because I can see in this repository's latest tagged version for 2.0.0, released on January 9th 2022 has type hints.

But if you look at the source code .tar.gz file for the same release on PyPI, the 2.0.0 version, also released on January 9th 2022, does not have any type-hints: https://files.pythonhosted.org/packages/85/40/1520d68bfa07ab5a6f065a186815fb6610c86fe957bc065754e47f7b0840/rfc3986-2.0.0.tar.gz (from this page: https://pypi.org/project/rfc3986/2.0.0/#files)

My guess is that somehow the 1.5.0 version of the code was released to PyPI as 2.0.0 by mistake. Could we get another 2.0.1 release (or a reupload of 2.0.0) to fix it?

Contributor guide

No contributing guide indexed for this repository

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 repository's tagged 2.0.0 source with the PyPI rfc3986-2.0.0.tar.gz linked in the issue, focusing on the missing type hints and py.typed marker reported by mypy. Check the project's release process to determine whether the published artifact can be corrected; done means a PyPI release contains the intended 2.0.0 source and resolves the reported mypy warning.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
release
Issue type
Bug
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.