posit-dev / posit-dev/rsconnect-python

build: create "latest" wheel installable by pip-24.1

Open
#605 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
37
Forks
28
Avg merge
1d 3h
Merged PRs (30d)
7

Description

As of the pip-24.1 release, our "latest" wheel cannot be installed:

pip install https://cdn.posit.co/connect/rsconnect-python/latest/rsconnect_python-latest-py2.py3-none-any.whl
#> ERROR: Invalid requirement: 'rsconnect-python==latest': Expected end or semicolon (after name and no valid version specifier)
#>     rsconnect-python==latest
#>                     ^

Our "latest" wheel needs to be adjusted so its version is usable by pip.

Contributor guide

Open the contributing guide

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

Start by reproducing the pip install command against the published latest wheel and inspect the packaging or release configuration that creates it; the issue names no source file or test. Done means pip 24.1 can install the latest wheel successfully without treating "latest" as an invalid version.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.