[Bug 250380] textproc/py-feedparser: fails to import with lang/python39

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Apr 15 19:57:53 UTC 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=250380

smalbec at buffalo.edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |smalbec at buffalo.edu

--- Comment #30 from smalbec at buffalo.edu ---
I'm having trouble installing feedparser but I should be using python 2.7

hadoop at hadoop-VirtualBox:~/Desktop/project 2$ sudo pip install feedparser
Downloading/unpacking feedparser
  Downloading feedparser-6.0.2.tar.gz (284kB): 284kB downloaded
  Running setup.py (path:/tmp/pip_build_root/feedparser/setup.py) egg_info for
package feedparser
    Traceback (most recent call last):
      File "<string>", line 17, in <module>
      File "/tmp/pip_build_root/feedparser/setup.py", line 40
        name = f"{name}_{os.getenv('NAME_SUFFIX')}"
                                                  ^
    SyntaxError: invalid syntax
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):

  File "<string>", line 17, in <module>

  File "/tmp/pip_build_root/feedparser/setup.py", line 40

    name = f"{name}_{os.getenv('NAME_SUFFIX')}"


SyntaxError: invalid syntax

----------------------------------------
Cleaning up...
Command python setup.py egg_info failed with error code 1 in
/tmp/pip_build_root/feedparser
Storing debug log for failure in /home/hadoop/.pip/pip.log


Is this relevant? Also does anyone know how to fix it?

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-python mailing list