Skip to content

Use Python 3.6 for Black #2

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

Merged
merged 1 commit into from
Dec 2, 2020
Merged

Use Python 3.6 for Black #2

merged 1 commit into from
Dec 2, 2020

Conversation

adamchainz
Copy link
Contributor

Issue #, if available:

Description of changes:

This prevents Black from using Python 3.7+ only syntax when you still support for Python 3.6.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

This prevents Black from using Python 3.7+ only syntax when you still support for Python 3.6.
Copy link
Contributor

@carlzogh carlzogh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch, LGTM!

@carlzogh carlzogh merged commit e44fd26 into aws:main Dec 2, 2020
AntoniaSzecsi pushed a commit that referenced this pull request Jul 29, 2025
* Patch libcurl configure.ac to work with later versions of autoconf (#168)

Added a patch for libcurl/configure.ac to fix build issues with recent versions of autoconf

This commit adds a patch for curl/configure.ac that replaces the inlined
flags/conditionals with scoped ones.

What's happening?

1. We have build failures in later versions of autoconf.
    1. Why ? ./configure script for libcurl breaks during execution.
    2. Why ? Control flow structures are not correctly closed which
       results in a parse error.
    3. Why ? The structures in the m4 template in ./configure.ac for the
       7.83.1 release of libcurl rely on inlined scripts.
    4. Why [now]? The 2.72 update on autoconf changed the behaviour of
       the script generator.

What do we do to ameliorate this?
1. Corrected the config script
2. Created a patch
3. Apply the patch to the shipped curl dependency

* Update version to 2.2.1 (#170)

* Add python3.13. (#175)

* Add python3.13.

* Fix integ tests

---------

Co-authored-by: Stefan Toma <stefan9283@gmail.com>

* Add support for snapstart runtime hooks (#176)

* Bump version to 3.0.0 (#178)

* Drop support for deprecated python versions (#179)

* Change warning message to JSON (#182)

* Bump to version 3.0.1. (#183)

* Update simplejson to 3.20.1 (#184)

* Update to simplejson 3.20.1

* Bump to version 3.0.2. (#185)

* Sync with aws-lambda-python-runtime-interface-client repository

---------

Co-authored-by: Quinn Sinclair <52372765+m-rph@users.noreply.github.com>
Co-authored-by: Stefan Toma <stefan9283@gmail.com>
Co-authored-by: trivenay <trivenay@amazon.com>
Co-authored-by: Daniel Torok <daniel.torok@gmail.com>
AntoniaSzecsi pushed a commit that referenced this pull request Jul 29, 2025
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