typing-extensions 의존성을 pyproject.toml에 추가#88
Open
fish895623 wants to merge 1 commit intoSoju06:mainfrom
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
요약
typing-extensions>=4.12.0패키지를pyproject.toml의 의존성 목록에 명시적으로 추가합니다.배경
코드베이스에서
typing-extensions를 import 하여 사용하고 있으나, 프로젝트 의존성으로 선언되어 있지 않았습니다. 이로 인해 클린 환경에서 설치할 경우(특히 일부 typing 기능이 표준 라이브러리에 포함되지 않은 Python 버전에서) 런타임에ImportError가 발생할 수 있습니다. 명시적으로 선언하여 호스트 Python 버전과 무관하게 패키지가 정상적으로 로드되도록 합니다.변경 사항
pyproject.toml:dependencies에typing-extensions>=4.12.0추가비고
최소 버전을
>=4.12.0으로 지정하여 프로젝트에서 사용하는 최신 typing 기능과의 호환성을 확보했습니다.