Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove Python 2 support #279

Merged
merged 1 commit into from
Jul 23, 2023
Merged

Remove Python 2 support #279

merged 1 commit into from
Jul 23, 2023

Conversation

shadchin
Copy link
Contributor

Now import configargparse on Python 2 fail

Python 2.7.18 (default, Jul  1 2022, 12:27:04)
[GCC 9.4.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import configargparse
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "configargparse.py", line 406
    raise ValueError(f"Error trying to unquote the quoted string: {text}: {e}") from e
                                                                             ^
SyntaxError: invalid syntax
>>>

@bw2
Copy link
Owner

bw2 commented Jul 21, 2023

Thanks for catching this. Any downside to maintaining python2 support for as long as we can?

@bw2
Copy link
Owner

bw2 commented Jul 23, 2023

No test environment for 2.7 so going to remove it.

@bw2 bw2 merged commit 9f73219 into bw2:master Jul 23, 2023
15 checks passed
@shadchin shadchin deleted the drop_py2 branch July 23, 2023 21:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants