Yicong-Huang opened a new pull request, #4523:
URL: https://github.com/apache/texera/pull/4523

   ### What changes were proposed in this PR?
   
   Removes two PyPI backport packages from `amber/requirements.txt`:
   
   - `typing==3.7.4.3` — backport of the `typing` stdlib module for Python 
<3.5. Has been part of the stdlib since 3.5.
   - `dataclasses==0.6` — backport of the `dataclasses` stdlib module for 
Python <3.7. Has been part of the stdlib since 3.7.
   
   This repo's CI matrix is Python 3.10–3.13, so both are obsolete. Installing 
them on supported versions is wasted CI time, and the PyPI `typing` package can 
shadow the stdlib version in subtle ways because its API is frozen at 3.7-era.
   
   `typing_extensions==4.14.1` (line 34, kept) is a different, still-maintained 
package that backports *new* typing features to older Pythons; it's correctly 
retained.
   
   ### Any related issues, documentation, discussions?
   
   Closes #4522. Surfaced during investigation in #4519/#4521.
   
   ### How was this PR tested?
   
   CI on this PR. The 4 `python` matrix jobs and the `scala` job all install 
`amber/requirements.txt`; if anything in the codebase actually relied on the 
PyPI `typing` or `dataclasses` (rather than stdlib), `pytest` and `sbt test` 
would fail. `import typing` and `from dataclasses import ...` resolve to the 
stdlib in Python 3.7+ regardless of whether the PyPI packages are installed.
   
   ### Was this PR authored or co-authored using generative AI tooling?
   
   Generated-by: Claude Code (Opus 4.7)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to