AWS to cut Python 2.7 off at the knees in July with 'minor version update' for Chalice

Seriously, it's time to move on


Amazon is the latest to drive a knife into the twitching corpse of Python 2 with an announcement that AWS Chalice will follow Lambda in nudging customers to later versions.

15 July is the cut-off date, which is generous considering the Python Software Foundation pulled the plug on fixes and support for Python 2 on 1 January 2020. AWS Lambda was supposed to follow suit on 1 June 2020 but, well, stuff happened in 2020 (in October support was stretched a little further until "at least 1 June 2021"). It took until 24 March 2021 for Amazon to settle on a death date for the tech.

Chalice is a framework for Lambda, and so will follow suit with what the cloud behemoth described as a "minor version update" that will require Python 3.6 or above (the Lambda crew recommends 3.8).

While nothing will stop working overnight, according to Amazon, new functions will not be able to be created and, as Chalice creates Lambda functions based on the version of Python in use in the development environment, that migration cannot be put off anymore.

It has been a while coming, and Python 3 famously did not play too well with code targeting version 2 when it made its debut over a decade ago. These days, starting a new project in Python 2 would be an odd thing to do although with over 30 years now on the clock, there will be plenty of legacy code lurking out there, not assisted by an initially less-than-seamless transition to the latest and greatest.

Indeed, forks of the project exist with the sole intention of keeping version 2.7 alive a little longer, with some syntax and libraries backported from Python 3.x while still allowing unmodified code to run, doubtless to the great relief of enterprises and institutions not willing or able to opt for a wholesale migration.

However, for those using Amazon's serverless tech and its frameworks, the clock is ticking ever louder. ®

Narrower topics


Other stories you might like

  • Experts: AI should be recognized as inventors in patent law
    Plus: Police release deepfake of murdered teen in cold case, and more

    In-brief Governments around the world should pass intellectual property laws that grant rights to AI systems, two academics at the University of New South Wales in Australia argued.

    Alexandra George, and Toby Walsh, professors of law and AI, respectively, believe failing to recognize machines as inventors could have long-lasting impacts on economies and societies. 

    "If courts and governments decide that AI-made inventions cannot be patented, the implications could be huge," they wrote in a comment article published in Nature. "Funders and businesses would be less incentivized to pursue useful research using AI inventors when a return on their investment could be limited. Society could miss out on the development of worthwhile and life-saving inventions."

    Continue reading
  • Declassified and released: More secret files on US govt's emergency doomsday powers
    Nuke incoming? Quick break out the plans for rationing, censorship, property seizures, and more

    More papers describing the orders and messages the US President can issue in the event of apocalyptic crises, such as a devastating nuclear attack, have been declassified and released for all to see.

    These government files are part of a larger collection of records that discuss the nature, reach, and use of secret Presidential Emergency Action Documents: these are executive orders, announcements, and statements to Congress that are all ready to sign and send out as soon as a doomsday scenario occurs. PEADs are supposed to give America's commander-in-chief immediate extraordinary powers to overcome extraordinary events.

    PEADs have never been declassified or revealed before. They remain hush-hush, and their exact details are not publicly known.

    Continue reading
  • Stolen university credentials up for sale by Russian crooks, FBI warns
    Forget dark-web souks, thousands of these are already being traded on public bazaars

    Russian crooks are selling network credentials and virtual private network access for a "multitude" of US universities and colleges on criminal marketplaces, according to the FBI.

    According to a warning issued on Thursday, these stolen credentials sell for thousands of dollars on both dark web and public internet forums, and could lead to subsequent cyberattacks against individual employees or the schools themselves.

    "The exposure of usernames and passwords can lead to brute force credential stuffing computer network attacks, whereby attackers attempt logins across various internet sites or exploit them for subsequent cyber attacks as criminal actors take advantage of users recycling the same credentials across multiple accounts, internet sites, and services," the Feds' alert [PDF] said.

    Continue reading

Biting the hand that feeds IT © 1998–2022