Bug 2015282
Summary: | Please package PyDrive2 to fix bug with duplicity/deja dup | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Marty Wesley <mwesley> | ||||
Component: | PyDrive | Assignee: | Nick Bebout <nb> | ||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 34 | CC: | dgibson, djuran, elavarde, erich, fweimer, gkurz, jbilling, jcall, mikel, mike, mteixeira, nb, palonsor, pcfe, pmendezh | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2021-11-21 01:55:06 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | 2017490 | ||||||
Bug Blocks: | |||||||
Attachments: |
|
Description
Marty Wesley
2021-10-18 19:40:01 UTC
*** Bug 1882028 has been marked as a duplicate of this bug. *** Created attachment 1836933 [details]
first draft for spec file
Please note; I am a consultant, not a developer.
This is the spec file I quickly put together for myself as I prefer packages over pip install and have to use deja-dup to save to GDrive
Comment on attachment 1836933 [details]
first draft for spec file
I don't have a RHEL box available, but I tried to build this in Fedora 34 and it fails because the version of the python3-google-api-client package is 1.6.7, while the spec lists 1.12.5. Is that an actual requirement, or simply an artifact of the system where the spec was created?
I created a copr repo with PyDrive2 and a couple of required dependencies: https://copr.fedorainfracloud.org/coprs/mikelo2/PyDrive2/ Also created PRs for required deps: https://src.fedoraproject.org/rpms/google-auth-httplib2/pull-request/1 https://src.fedoraproject.org/rpms/google-api-python-client/pull-request/3 Once deps are ready I'll work to get PyDrive2 in Fedora te replace PyDrive. On an initial/quick test, Mikel's package seems to be working. Works for me as well, Fedora 34. I did a backup and restore exercise of my whole home directory. Well done! I would perhaps only complain about the camel case of the package name and ask if it could be put in small caps (even though I know that's the way it is currently) because I think that having all package names in small caps facilitate things. (In reply to Mauricio Teixeira from comment #3) > Comment on attachment 1836933 [details] [...] > it fails because the version of the python3-google-api-client package is > 1.6.7, while the spec lists 1.12.5. yeah I rebuilt python3-google-api-client as well because I was under the impression it was needed. No longer 100% sure now. > Is that an actual requirement, or simply an artifact of the system where the spec was created? Normally I'd double check PyDrive2 now for requirements, but since Mikel made a copr available I suggest we concentrate on those pkgs. I'll rip out my 3 self built ones now and plug in the copr. I'll report back if anything were to break for me but since we already have positive reports I do not expect that to happen. Comment on attachment 1836933 [details]
first draft for spec file
since I am a consultant, not a dev, I'm pretty sure I should not be flagged as reviewer,
clearing flag.
Hi Patrick, PyDrive2 is available for Fedora rawhide already: https://src.fedoraproject.org/rpms/PyDrive2 deja-dup on rawhide already depends on PyDrive2. There is a plan to backport it to Fedora 35 (and maybe 34), but because of dependencies it is taking some time to coordinate with other Fedora contributors. You can check the plan here: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/YFTZW73PYPCTQZAO5LMMVMUGXZGT4TZ5/ Meanwhile you can check my copr repo on https://bugzilla.redhat.com/show_bug.cgi?id=2015282#c5 and install PyDrive2 from there. I hope everything will be fixed by next week. After upgrade, the copr works as well like a charm under F35. Happy to hear about the backport though, it'll make it easier to use. For sake of completeness: ``` $ rpm -qa | grep -i -e pydrive -e dup -e google-api-client python3-google-api-client-2.27.0-1.fc35.noarch python3-PyDrive-1.3.1-18.fc35.noarch duplicity-0.8.20-3.fc35.x86_64 deja-dup-42.8-1.fc35.x86_64 duply-2.3.1-2.fc35.noarch python3-PyDrive2-1.10.0-1.fc35.noarch ``` FEDORA-2021-4bbfcae462 has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2021-4bbfcae462 FEDORA-2021-ed754a04da has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-ed754a04da FEDORA-2021-ed754a04da 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-ed754a04da` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-ed754a04da See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2021-4bbfcae462 has been pushed to the Fedora 35 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-4bbfcae462` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-4bbfcae462 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. For those of you that used my COPR, in order to have a clean install: ALL: sudo dnf remove -y python3-PyDrive2 F34: sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-ed754a04da sudo dnf reinstall python3-google-auth-httplib2 --enablerepo=updates-testing --advisory=FEDORA-2021-ed754a04da F35: sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-4bbfcae462 sudo dnf reinstall python3-google-auth-httplib2 --enablerepo=updates-testing --advisory=FEDORA-2021-4bbfcae462 ALL: sudo dnf remove -y python3-PyDrive Basically remove PyDrive2 from copr, install new deja-dup version that depends on PyDrive2, substitute python3-google-auth-httplib2 using Fedora's release and remove old PyDrive. If you don't remove python3-PyDrive2 as first step or python3-google-auth-httplib2 at the end don't worry, the copr and Fedora versions are equal. Once tested remember to give karma so we can push this faster to stable: F35: https://bodhi.fedoraproject.org/updates/FEDORA-2021-4bbfcae462 F34: https://bodhi.fedoraproject.org/updates/FEDORA-2021-ed754a04da FEDORA-2021-4bbfcae462 has been pushed to the Fedora 35 stable repository. If problem still persists, please make note of it in this bug report. FEDORA-2021-ed754a04da has been pushed to the Fedora 34 stable repository. If problem still persists, please make note of it in this bug report. |