# Package Control fails to load on build 4205+ (Python 3.14 plugin host) — re.PatternError in semver.py

**URL:** <https://forum.sublimetext.com/t/package-control-fails-to-load-on-build-4205-python-3-14-plugin-host-re-patternerror-in-semver-py/79197>\
**Category:** Technical Support\
**Created:** [September 21, 2026, 3:45pm UTC](https://forum.sublimetext.com/t/package-control-fails-to-load-on-build-4205-python-3-14-plugin-host-re-patternerror-in-semver-py/79197 "2026-09-21T15:45:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![flexer](https://forum.sublimetext.com/user_avatar/forum.sublimetext.com/flexer/32/74777_2.png) [@flexer](https://forum.sublimetext.com/u/flexer)\
**Post date:** [September 21, 2026, 3:45pm UTC](https://forum.sublimetext.com/t/package-control-fails-to-load-on-build-4205-python-3-14-plugin-host-re-patternerror-in-semver-py/79197/1 "2026-09-21T15:45:46Z")

</div>

After updating to build 4213 (stable channel), Package Control stopped working entirely — “Install Package” and every other PC command disappeared from the Command Palette.

Console shows the root cause: Package Control’s bundled package\_control/semver.py fails to import:

re.PatternError: global flags not at the start of the expression at position 1 (line 1, column 2)

Traceback points to:  
\_match\_regex = re.compile(’^%s$’ % \_base\_regex)

This looks like a fallout from the Python 3.14 plugin host introduced in build 4205. Python’s re module (3.11+) rejects inline regex flags that aren’t at the very start of a pattern. If \_base\_regex begins with an inline flag (e.g. (?x)), wrapping it as ^%s$ pushes that flag out of position 0, which now hard-fails instead of just warning.

Since Package Control’s own module can’t import, none of its commands register — this blocks installing or managing any package on 4205+ until Package Control ships a build compatible with the new host.

Confirmed this isn’t a stale-file issue: fully deleted and replaced Package Control.sublime-package with a fresh download, same crash immediately.

Workaround: rolled back to build 4200 (last build on the older plugin host) — Package Control and all my packages load and work fine there.

Is this a known/tracked issue? Any timeline on a Package Control release compatible with the 3.14 host? Happy to share the full console log if useful.

Build: 4213 (stable)  
OS: Windows x64

---

<div class="post-metadata">

**Author:** ![deathaxe](https://forum.sublimetext.com/user_avatar/forum.sublimetext.com/deathaxe/32/52468_2.png) [@deathaxe](https://forum.sublimetext.com/u/deathaxe)\
**Post date:** [September 21, 2026, 6:23pm UTC](https://forum.sublimetext.com/t/package-control-fails-to-load-on-build-4205-python-3-14-plugin-host-re-patternerror-in-semver-py/79197/2 "2026-09-21T18:23:44Z")

</div>

You are likely still running Package Control 3.

Remove it and install Package Control 4, manually. Follow [https://github.com/sublimehq/package\_control](https://github.com/sublimehq/package_control)

---

<div class="post-metadata">

**Author:** ![flexer](https://forum.sublimetext.com/user_avatar/forum.sublimetext.com/flexer/32/74777_2.png) [@flexer](https://forum.sublimetext.com/u/flexer)\
**Post date:** [September 21, 2026, 6:53pm UTC](https://forum.sublimetext.com/t/package-control-fails-to-load-on-build-4205-python-3-14-plugin-host-re-patternerror-in-semver-py/79197/3 "2026-09-21T18:53:22Z")

</div>

Thank you.  
So to confirm - first Updated package control - then update ST to 4205?  
I used the download here [https://packagecontrol.io/installation](https://packagecontrol.io/installation)

---

<div class="post-metadata">

**Author:** ![deathaxe](https://forum.sublimetext.com/user_avatar/forum.sublimetext.com/deathaxe/32/52468_2.png) [@deathaxe](https://forum.sublimetext.com/u/deathaxe)\
**Post date:** [September 22, 2026, 5:03pm UTC](https://forum.sublimetext.com/t/package-control-fails-to-load-on-build-4205-python-3-14-plugin-host-re-patternerror-in-semver-py/79197/4 "2026-09-22T17:03:13Z")

</div>

[packagecontrol.io](http://packagecontrol.io) is out-dated and its download links point to Package Control 3, only.

This site will hopefully be replaced by [packages.sublimetext.com](http://packages.sublimetext.com) in the near future.

ST4205+'s internal Package Control installer already ships latest PC4 release. It is visible only, if Package Control is not already present though.
