tonioo / sievelib

Client-side Sieve and Managesieve library written in Python.
MIT License
46 stars 24 forks source link

AttributeError: 'ParsedRequirement' object has no attribute 'match_markers' #98

Closed jorti closed 4 years ago

jorti commented 4 years ago

I get this error when building sievelib in Fedora rawhide with pip 20.1.x and Python 3.9.0b1

+ /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s'
Traceback (most recent call last):
  File "/builddir/build/BUILD/sievelib-1.1.1/setup.py", line 38, in <module>
    INSTALL_REQUIRES = get_requirements(path.join(HERE, "requirements.txt"))
  File "/builddir/build/BUILD/sievelib-1.1.1/setup.py", line 31, in get_requirements
    if req.match_markers():
AttributeError: 'ParsedRequirement' object has no attribute 'match_markers'

Reported in Fedora bug: https://bugzilla.redhat.com/show_bug.cgi?id=1838484

derula commented 4 years ago

Duplicate of #80 and fixed with #73, right? There just hasn't been a new release in a while.

@tonioo is there a roadmap for a new release, or anything the community could help with?

tonioo commented 4 years ago

@derula I've been pretty busy those last months and I totally forgot to release 1.2.0! I guess we can release it once your current PR are all merged.

derula commented 4 years ago

@tonioo do you think #99 should be held back for a 2.0 because of the BC break? Sounds good otherwise.

tonioo commented 4 years ago

@derula No, I think it is time to drop python2 support.