Bug 1894542 - pipenv-2020.11.15 is available
Summary: pipenv-2020.11.15 is available
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: pipenv
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Petr Viktorin (pviktori)
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 1494755 1668518 1767192 1887630 1892507 1904533 1922270
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-11-04 13:30 UTC by Upstream Release Monitoring
Modified: 2021-03-20 00:16 UTC (History)
6 users (show)

Fixed In Version: pipenv-2020.11.15-1.fc34
Clone Of:
Environment:
Last Closed: 2021-03-20 00:16:47 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Upstream Release Monitoring 2020-11-04 13:30:45 UTC
Latest upstream release: 2020.11.4
Current version/release in rawhide: 2020.8.13-1.fc34
URL: https://docs.pipenv.org/

Please consult the package updates policy before you issue an update to a stable branch: https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/


More information about the service that created this bug can be found at: https://fedoraproject.org/wiki/Upstream_release_monitoring


Please keep in mind that with any upstream change, there may also be packaging changes that need to be made. Specifically, please remember that it is your responsibility to review the new version to ensure that the licensing is still correct and that no non-free or legally problematic items have been added upstream.


Based on the information from anitya: https://release-monitoring.org/project/16437/

Comment 1 Upstream Release Monitoring 2020-11-15 04:21:04 UTC
Latest upstream release: 2020.11.15
Current version/release in rawhide: 2020.8.13-1.fc34
URL: https://docs.pipenv.org/

Please consult the package updates policy before you issue an update to a stable branch: https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/


More information about the service that created this bug can be found at: https://fedoraproject.org/wiki/Upstream_release_monitoring


Please keep in mind that with any upstream change, there may also be packaging changes that need to be made. Specifically, please remember that it is your responsibility to review the new version to ensure that the licensing is still correct and that no non-free or legally problematic items have been added upstream.


Based on the information from anitya: https://release-monitoring.org/project/16437/

Comment 2 Lumír Balhar 2020-12-09 08:58:49 UTC
All blockers are solved.

Comment 3 Petr Viktorin (pviktori) 2021-01-13 16:38:36 UTC
PR: https://src.fedoraproject.org/rpms/pipenv/pull-request/31

Comment 4 Darren Meehan 2021-03-13 12:58:14 UTC
I'd like to get the latest pipenv available on F33 & F34. I am willing to package it, but am not sure on where to start.

It seems a lot of the work has been done already, without being familiar with the Fedora tools & processes I'm finding it hard to figure out where to focus! I believe I've my account(s) setup as required, so am eager to contribute something!

Comment 5 Lumír Balhar 2021-03-13 13:39:21 UTC
The latest version is available in rawhide. We can probably create an update for F34 which will become available after the release but I'm not sure how good the idea is to create an update for the already released version? Are there any backward incompatibilities between 2020.8.13 and 2020.11.15? Could you please check it?

Comment 6 Darren Meehan 2021-03-13 14:02:40 UTC
I've a bit to read up on regarding the policy for packaging in Fedora Linux - there aren't enough hours in the day to get to everything I want to!

There's no guarantee that none of these will break certain projects, but anecdotally; I've used all released versions of pipenv, along with some unreleased versions (Using pip to install, and not on Fedora Linux). I've experienced no issues both in either personal or work projects. Previously the project was feared to have been abandoned, so stability has been the biggest focus of the project.


It's mainly been bug fixes, but I've listed out the features & Improvements since 2020.8.13. 

v2020.11.15
- Support expanding environment variables in requirement URLs.  _
- Show warning message when a dependency is skipped in locking due to the mismatch of its markers.  _

2020.11.4
- Add a new command pipenv scripts to display shortcuts from Pipfile.  _
- Retrieve package file hash from URL to accelerate the locking process.  _
- Add the missing --system option to pipenv sync.  _
- Add a new option pair --header/--no-header to pipenv lock command,
  which adds a header to the generated requirements.txt  _


Taken from https://github.com/pypa/pipenv/releases

Would adding these updates to COPR be a good option as a first step to getting the latest pipenv onto F33 or F34? 

I'm happy to take direction on what to do here. And with some help would be able to update in whatever approach is deemed best. I've done a decent bit of packaging for CentOS at work, but this would be my first effort packaging something for Fedora.

Comment 7 Lumír Balhar 2021-03-14 07:22:45 UTC
It's not that much about the work it needs to update the package in F33 and F34 because it means merge the rawhide branch to the versioned branches, build the package and do some testing. But the final decision is up to the maintainers whether they consider it as a good idea and not a threat to stability.

If they decide to not update the package, you can still install it from pip (to a virtual environment) or you can do your own rebuild in COPR.

Comment 8 Miro Hrončok 2021-03-14 10:23:10 UTC
I've run the following commands:

$ copr create @python/pipenv-rawhide --repo='http://kojipkgs.fedoraproject.org/repos/f$releasever-build/latest/$basearch/' --chroot fedora-32-x86_64 --chroot fedora-33-x86_64 --chroot fedora-34-x86_64 
New project was successfully created.

$ copr add-package-distgit @python/pipenv-rawhide --name pipenv --webhook-rebuild on
Create or edit operation was successful.

$ copr build-package @python/pipenv-rawhide --nowait --name pipenv
Build was added to pipenv-rawhide.
Created builds: 2074470

This copr will (auto)rebuild the rawhide version of pipenv for older Fedoras: https://copr.fedorainfracloud.org/coprs/g/python/pipenv-rawhide/

I don't know yet if it succeeds, if it will be installable and if it will function properly, but it is a start.
If it works, I'll add some description to the Copr.

Comment 9 Miro Hrončok 2021-03-14 10:37:55 UTC
It doesn't work:

No matching package to install: 'python3dist(attrs) >= 20.3'
No matching package to install: 'python3dist(colorama) >= 0.4.4'
No matching package to install: 'python3dist(first) >= 2.0.2'
No matching package to install: 'python3dist(iso8601) >= 0.1.13'
No matching package to install: 'python3dist(parse) >= 1.18'
No matching package to install: 'python3dist(python-dotenv) >= 0.15'
No matching package to install: 'python3dist(requests) >= 2.25'
No matching package to install: 'python3dist(semver) >= 2.13'

Comment 10 Lumír Balhar 2021-03-14 10:39:42 UTC
That's reflecting my concerns :(

Comment 11 Miro Hrončok 2021-03-14 10:40:59 UTC
So the next step would be to adapt the spec file for Fedora 33 by lowering some of the bounds (if it works with the older versions) or re-bundling (if it doesn't work with the older versions).

The spec file is: https://src.fedoraproject.org/rpms/pipenv/blob/rawhide/f/pipenv.spec

Comment 12 Darren Meehan 2021-03-14 10:52:47 UTC
I can take a look at this.

Is there a policy on how to first attempt this? Lowering the versions of these dependencies seems like an easier first step, though may introduce issues.

Comment 13 Miro Hrončok 2021-03-14 10:58:37 UTC
No policy, except "make it work". I'd try lowering first and see if the tests pass and if pipenv functions properly.

Comment 14 Fedora Update System 2021-03-16 15:51:59 UTC
FEDORA-2021-93f928dc0d has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-93f928dc0d

Comment 15 Petr Viktorin (pviktori) 2021-03-16 15:52:20 UTC
The build for Fedora 34 is ready. Since it's a leaf package, it should be OK to go in even during beta.
I've smoke-tested it and I'll use it myself from now on :)


For Fedora 33, a Copr repo would be better. It would be better to move the discussion to the mailing list, python-devel.org, as I'd like to close this bug after the update.

Comment 16 Fedora Update System 2021-03-16 23:30:19 UTC
FEDORA-2021-93f928dc0d has been pushed to the Fedora 34 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-93f928dc0d`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-93f928dc0d

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 17 Fedora Update System 2021-03-20 00:16:47 UTC
FEDORA-2021-93f928dc0d has been pushed to the Fedora 34 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.