Skip to content

Python 3.13 지원#2

Merged
dev-bearabbit merged 8 commits intotossicat:mainfrom
item4:py313
Nov 16, 2024
Merged

Python 3.13 지원#2
dev-bearabbit merged 8 commits intotossicat:mainfrom
item4:py313

Conversation

@item4
Copy link
Copy Markdown
Contributor

@item4 item4 commented Nov 14, 2024

  • fix Python 3.13 wheel 제공 #1
  • PyO3 0.22.0 이후부터 Python 3.13을 지원하는 관계로 최신 버전으로 올렸습니다.
  • 이에 따라 #[pymodule] 사용법이 바뀌어 같이 대응합니다.
  • Python 3.13 wheel을 생성할 수 있다는 것은 확인했습니다만 코드가 정상적으로 동작하는지, GitHub Actions 상에서 3.13의 interpreter를 찾을 수 있는지는 확인되지 않았습니다.
  • manylinux 버전을 올리면 --find-interpreter 로도 Python 3.13이 찾아질줄 알았는데 아니었습니다. 직접 지정해주는 방식으로 변경하였습니다.
  • manylinux 버전을 올리려다보니 maturin도 최신버전을 지원하게 변경하게 되었습니다.
  • 결과적으로 manylinux 버전은 안 올려도 되어서 auto로 롤백했습니다.
  • Windows runner는 아직 Python 3.13을 기본지원하지 않아서 제외했습니다. Ref: Support for Python 3.13 on Windows PyO3/maturin-action#292
  • macOS용 CLI build 옵션의 이름이 maturin 버전이 올라가면서 바뀌어서 대응했습니다.

Comment thread src/lib.rs
Err(error) => {
Err(PyValueError::new_err(format!("{}",error)))
}
Err(error) => Err(PyValueError::new_err(format!("{}", error))),
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

앗 에디터가 멋대로 컨벤션을 바꿔버렸네요...

@dev-bearabbit dev-bearabbit merged commit 04c18ea into tossicat:main Nov 16, 2024
@item4 item4 deleted the py313 branch November 16, 2024 08:59
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.

Python 3.13 wheel 제공

2 participants