Bug 1361776

Summary: pywebdav: Switch to PyWebDAV3 for Python 3 support
Product: [Fedora] Fedora Reporter: Petr Viktorin (pviktori) <pviktori>
Component: pywebdavAssignee: Dan HorĂ¡k <dan>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: dan
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: pywebdav-0.9.10-1.fc26 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-08-05 16:46:11 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:    
Bug Blocks: 1285816, 1312032    
Attachments:
Description Flags
Patch to switch to PyWebDAV3 0.9.10 none

Description Petr Viktorin (pviktori) 2016-07-30 11:37:52 UTC
Created attachment 1185790 [details]
Patch to switch to PyWebDAV3 0.9.10

Hello,
The upstream for pywebdav is gone:
- http://www.webdav.de/
- https://code.google.com/archive/p/pywebdav/

However, the code was picked up by Andrew Leech for the aioeasywebdav project, and ported to Python 3 while keeping 2.7 compatibility. It is now developed and released here:
- https://github.com/andrewleech/PyWebDAV3
- https://pypi.python.org/pypi/PyWebDAV3

I've checked the porting changes made, and aside from a few stylistic issues and a setup.py encoding bug (for which i filed pull requests), they look fine.

Here is a specfile patch to switch Fedora's pywebdav package to PyWebDAV3. I've also included a few modernizations, and put the README in the %doc.

If this is unacceptable I can package this separately as python3-pywebdav, but I believe PyWebDAV3 is as legitimate an heir to the pywebdav name as we can get.

Comment 1 Petr Viktorin (pviktori) 2016-07-30 11:42:47 UTC
Koji scratch build: http://koji.fedoraproject.org/koji/taskinfo?taskID=15072722