Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#68986 - [python-flit] Missing flit/license_templates folder

Attached to Project: Community Packages
Opened by Benoit Bregeault (bbregeault) - Tuesday, 15 December 2020, 14:07 GMT
Last edited by Filipe Laíns (FFY00) - Saturday, 19 December 2020, 14:21 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Filipe Laíns (FFY00)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

The package does not include the flit/license_templates folder from upstream, resulting in this error when running flit init:

Choose a license (see http://choosealicense.com/ for more info)
1. MIT - simple and permissive
2. Apache - explicitly grants patent rights
3. GPL - ensures that code based on this is shared with the same terms
4. Skip - choose a license later
Enter 1-4 : 1
Traceback (most recent call last):
[...]
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3.8/site-packages/flit/license_templates/mit'


Tested with manjaro and python 3.8.


Additional info:
* package version(s) = 3.0.0-1
* python version = 3.8


Steps to reproduce:

> flit init
***choose license 1, 2 or 3 when prompted***
This task depends upon

Closed by  Filipe Laíns (FFY00)
Saturday, 19 December 2020, 14:21 GMT
Reason for closing:  Fixed
Additional comments about closing:  python-flit 3.0.0-3

Loading...