Skip to content

For 3.15, require tiktoken >= 0.14.0 and numpy >= 2.5.2 - #316

Merged
Guido van Rossum (gvanrossum) merged 1 commit into
microsoft:mainfrom
gvanrossum:more315
Aug 21, 2026
Merged

For 3.15, require tiktoken >= 0.14.0 and numpy >= 2.5.2#316
Guido van Rossum (gvanrossum) merged 1 commit into
microsoft:mainfrom
gvanrossum:more315

Conversation

@gvanrossum

@gvanrossum Guido van Rossum (gvanrossum) commented Aug 19, 2026

Copy link
Copy Markdown
Collaborator

I can now run uv run --python 3.15 pytest successfully on macOS. Only three packages are still built from source: regex, aiohttp and jiter. They build quickly. Previously, tiktoken failed to build from source unless you had rustc installed; numpy built successfully but very slowly. So this is major progress. Expect more wheel updates for the others.

Those versions are the first to have 3.15 wheels.
@gvanrossum Guido van Rossum (gvanrossum) changed the title For 3.15, require tiktoken >= 0.14.0 For 3.15, require tiktoken >= 0.14.0 and numpy >= 2.5.2 Aug 19, 2026
@gvanrossum

Copy link
Copy Markdown
Collaborator Author

Bernhard Merkle (@bmerkle) Could you test this on Windows before approving?

@gvanrossum
Guido van Rossum (gvanrossum) merged commit 9b7cbc0 into microsoft:main Aug 21, 2026
21 checks passed
@gvanrossum

Copy link
Copy Markdown
Collaborator Author

Thanks robgruen! How are things?

@robgruen

robgruen commented Aug 21, 2026 via email

Copy link
Copy Markdown
Collaborator

@bmerkle

Copy link
Copy Markdown
Collaborator

Hi, i tested on a plain new Windows box:

uv run --python 3.15 pytest

  [stderr]
  error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools":
  https://visualstudio.microsoft.com/visual-cpp-build-tools/

question:
should be add the info that we now require clang (Mac/Linux) and cl.exe (Windows) because some wheels have to be build on the machine ?

PS. I am also back from vacation :-)

@bmerkle

Copy link
Copy Markdown
Collaborator

PS C:\work\typeagent-py> uv run --python 3.15 pytest
Built jiter==0.16.0
Built regex==2026.7.19
Built aiohttp==3.14.3

Installed 134 packages in 6.15s

runs also on windows11 with Vstudio 2026 installed

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.

4 participants