---
title: "setuptools-scm 6.0.0 Breaking Changes on PyPI | Since.dev"
description: "What each setuptools-scm release removed, renamed or changed: 29 breaking changes in 3 versions on PyPI, each with its source."
canonical_url: https://since.dev/packages/pypi/setuptools-scm
last_updated: 2026-12-04
---

# setuptools-scm breaking changes

setuptools-scm 6.0.0 (March 17, 2021) is its newest release with breaking changes, 10 of them. The first: Removes egg building in setuptools-scm 6.0.0. Every breaking API change we have recorded in setuptools-scm on PyPI: 29 breaking changes in 3 versions. Below, its 3 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `10.3.4`, released September 23, 2026. 

Its 6.0.0 release drops Python 3.6. [Python end of life dates](https://since.dev/calendar/python.md).

- From [5.0.0](#v-5-0-0) to [6.0.0](#v-6-0-0): 10 breaking changes in 1 version.
- From [4.0.0](#v-4-0-0) to [6.0.0](#v-6-0-0): 20 breaking changes in 2 versions.

## setuptools-scm 6.0.0 breaking changes

setuptools-scm 6.0.0, released March 17, 2021: 10 breaking changes.

- **Removed**  

Egg distributions are no longer built; use wheels instead. [github.com](https://github.com/pypa/setuptools%5Fscm/blob/v6.0.0/CHANGELOG.rst)
- **Removed**  

Python 3.6 and earlier are no longer supported, so code running on them must move to a newer Python. [github.com](https://github.com/pypa/setuptools%5Fscm/blob/v6.0.0/CHANGELOG.rst)
- **Removed** `setuptools_scm.git.samefile`  

setuptools_scm.git.samefile was removed in setuptools-scm 6.0.0 [pypi.org](https://pypi.org/project/setuptools-scm/6.0.0/)
- **Removed** `setuptools_scm.string_types`  

setuptools_scm.string_types was removed in setuptools-scm 6.0.0 [pypi.org](https://pypi.org/project/setuptools-scm/6.0.0/)
- **Removed** `setuptools_scm.utils.PY2`  

setuptools_scm.utils.PY2 was removed in setuptools-scm 6.0.0 [pypi.org](https://pypi.org/project/setuptools-scm/6.0.0/)
- **Removed** `setuptools_scm.utils.PY3`  

setuptools_scm.utils.PY3 was removed in setuptools-scm 6.0.0 [pypi.org](https://pypi.org/project/setuptools-scm/6.0.0/)
- **Removed** `setuptools_scm.version.SetuptoolsOutdatedWarning`  

setuptools_scm.version.SetuptoolsOutdatedWarning was removed in setuptools-scm 6.0.0 [pypi.org](https://pypi.org/project/setuptools-scm/6.0.0/)
- **Removed** `setuptools_scm.version.VERSION_CLASS`  

setuptools_scm.version.VERSION_CLASS was removed in setuptools-scm 6.0.0 [pypi.org](https://pypi.org/project/setuptools-scm/6.0.0/)
- **Removed** `setuptools_scm.win_py31_compat`  

setuptools_scm.win_py31_compat was removed in setuptools-scm 6.0.0 [pypi.org](https://pypi.org/project/setuptools-scm/6.0.0/)
- **Signature changed** `setuptools_scm.version.ScmVersion.__init__`  

Was def \_\_init\_\_(self, tag_version, distance=None, node=None, dirty=False, preformatted=False, branch=None, config=None, \*\*kw); now def \_\_init\_\_(self, tag_version, distance=None, node=None, dirty=False, preformatted=False, branch=None... [pypi.org](https://pypi.org/project/setuptools-scm/6.0.0/)

## setuptools-scm 5.0.0 breaking changes

setuptools-scm 5.0.0, released December 12, 2020: 10 breaking changes.

- **Removed** `setuptools_scm.utils.utc`  

setuptools_scm.utils.utc was removed in setuptools-scm 5.0.0 [pypi.org](https://pypi.org/project/setuptools-scm/5.0.0/)
- **Removed** `setuptools_scm.utils.UTC`  

setuptools_scm.utils.UTC was removed in setuptools-scm 5.0.0 [pypi.org](https://pypi.org/project/setuptools-scm/5.0.0/)
- **Removed** `setuptools_scm.version.utc`  

setuptools_scm.version.utc was removed in setuptools-scm 5.0.0 [pypi.org](https://pypi.org/project/setuptools-scm/5.0.0/)
- **Renamed** `setuptools_scm.git.has_command`  

Use setuptools_scm.git.require_command instead. [pypi.org](https://pypi.org/project/setuptools-scm/5.0.0/)
- **Renamed** `setuptools_scm.hg.has_command`  

Use setuptools_scm.hg.require_command instead. [pypi.org](https://pypi.org/project/setuptools-scm/5.0.0/)
- **Behavior changed**  

Parsing a scm directory now raises strict errors when a required scm is missing, instead of falling back to false version lookups. Check that your build environment has the needed scm tools. [github.com](https://github.com/pypa/setuptools%5Fscm/blob/v5.0.0/CHANGELOG.rst)
- **Behavior changed** `relative_to`  

If relative_to is a directory rather than a file, it is now treated as the direct target instead of its containing folder, and a warning is printed. Adjust paths that relied on the old behavior. [github.com](https://github.com/pypa/setuptools%5Fscm/blob/v5.0.0/CHANGELOG.rst)
- **Signature changed** `setuptools_scm.Configuration.__init__`  

Was def \_\_init\_\_(self, relative_to=None, root='.', version_scheme=DEFAULT_VERSION_SCHEME, local_scheme=DEFAULT_LOCAL_SCHEME, write_to=None, write_to_template=None, tag_regex=DEFAULT_TAG_REGEX, parentdir_prefix_version=None... [pypi.org](https://pypi.org/project/setuptools-scm/5.0.0/)
- **Signature changed** `setuptools_scm.get_version`  

Was def get_version(root='.', version_scheme=DEFAULT_VERSION_SCHEME, local_scheme=DEFAULT_LOCAL_SCHEME, write_to=None, write_to_template=None, relative_to=None, tag_regex=DEFAULT_TAG_REGEX, parentdir_prefix_version=None... [pypi.org](https://pypi.org/project/setuptools-scm/5.0.0/)
- **Signature changed** `setuptools_scm.utils.has_command`  

Was def has_command(name); now def has_command(name, warn=True). [pypi.org](https://pypi.org/project/setuptools-scm/5.0.0/)

## setuptools-scm 4.0.0 breaking changes

setuptools-scm 4.0.0, released May 24, 2020: 9 breaking changes.

- **Removed**  

Python 3.4 is no longer officially supported. Users on Python 3.4 should stay on setuptools-scm 3.5.0 or upgrade Python. [github.com](https://github.com/pypa/setuptools%5Fscm/blob/v4.0.0/CHANGELOG.rst)
- **Removed** `setuptools_scm.git.samefile`  

setuptools_scm.git.samefile was removed in setuptools-scm 4.0.0 [pypi.org](https://pypi.org/project/setuptools-scm/4.0.0/)
- **Removed** `setuptools_scm.win_py31_compat`  

setuptools_scm.win_py31_compat was removed in setuptools-scm 4.0.0 [pypi.org](https://pypi.org/project/setuptools-scm/4.0.0/)
- **Behavior changed**  

Git tags are now chosen based on whether they contain numbers rather than dots, so tags that previously matched may be selected differently. [github.com](https://github.com/pypa/setuptools%5Fscm/blob/v4.0.0/CHANGELOG.rst)
- **Behavior changed**  

Timestamps used in versions are now taken in UTC rather than local time, so code relying on the local-time values may see different results. [github.com](https://github.com/pypa/setuptools%5Fscm/blob/v4.0.0/CHANGELOG.rst)
- **Signature changed** `setuptools_scm.Configuration.__init__`  

Was def \_\_init\_\_(self, relative_to=None, root='.', version_scheme=DEFAULT_VERSION_SCHEME, local_scheme=DEFAULT_LOCAL_SCHEME, write_to=None, write_to_template=None, tag_regex=DEFAULT_TAG_REGEX, fallback_version=None, fallback_root='.'... [pypi.org](https://pypi.org/project/setuptools-scm/4.0.0/)
- **Signature changed** `setuptools_scm.get_version`  

Was def get_version(root='.', version_scheme=DEFAULT_VERSION_SCHEME, local_scheme=DEFAULT_LOCAL_SCHEME, write_to=None, write_to_template=None, relative_to=None, tag_regex=DEFAULT_TAG_REGEX, fallback_version=None, fallback_root='.'... [pypi.org](https://pypi.org/project/setuptools-scm/4.0.0/)
- **Signature changed** `setuptools_scm.meta`  

Was def meta(tag, distance=None, dirty=False, node=None, preformatted=False, config=None, \*\*kw); now def meta(tag, distance=None, dirty=False, node=None, preformatted=False, branch=None, config=None, \*\*kw). [pypi.org](https://pypi.org/project/setuptools-scm/4.0.0/)
- **Signature changed** `setuptools_scm.version.ScmVersion.__init__`  

Was def \_\_init\_\_(self, tag_version, distance=None, node=None, dirty=False, preformatted=False, branch=None, \*\*kw); now def \_\_init\_\_(self, tag_version, distance=None, node=None, dirty=False, preformatted=False, branch=None, config=None... [pypi.org](https://pypi.org/project/setuptools-scm/4.0.0/)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
