<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/setuptools-scm.git/src/setuptools_scm, branch bugfix/workflow</title>
<subtitle>github.com: pypa/setuptools_scm.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/setuptools-scm.git/'/>
<entry>
<title>drop samefile and switch to declarative metadata</title>
<updated>2020-05-21T20:35:26+00:00</updated>
<author>
<name>Ronny Pfannschmidt</name>
<email>ronny.pfannschmidt@redhat.com</email>
</author>
<published>2020-05-21T20:32:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/setuptools-scm.git/commit/?id=8f7c2fb39c8fddafb4197d7998056f47db43b7d6'/>
<id>8f7c2fb39c8fddafb4197d7998056f47db43b7d6</id>
<content type='text'>
Co-authored-by: Jason R. Coombs &lt;jaraco@jaraco.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Co-authored-by: Jason R. Coombs &lt;jaraco@jaraco.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Allow guess_next_simple_semver to ignore unneeded parts</title>
<updated>2020-05-11T21:25:47+00:00</updated>
<author>
<name>chrisjbillington</name>
<email>chrisjbillington@gmail.com</email>
</author>
<published>2020-05-11T20:57:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/setuptools-scm.git/commit/?id=26f8ff952675bc0be3dba59830d04e36bf1d172d'/>
<id>26f8ff952675bc0be3dba59830d04e36bf1d172d</id>
<content type='text'>
guess_next_simple_semver previously would error on trying to convert the
'rc0' part of a version such as '1.2.0rc1' to an int, even if it was
told to retain only the first two parts. (It would actually only error
on Python 2, where the conversion to int was non-lazy)

Now if it's told to retain only the first two parts, it won't try to
convert anything after the first two dots to an int, so it won't error.
The outcome is the same as if the bit after the second dot was a valid
int (which was going to be ignored anyway, we just now don't error on
it).

This is useful for the release-branch-semver scheme, which wants to be
able to find the next minor version even if the most recent version is a
release candidate.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
guess_next_simple_semver previously would error on trying to convert the
'rc0' part of a version such as '1.2.0rc1' to an int, even if it was
told to retain only the first two parts. (It would actually only error
on Python 2, where the conversion to int was non-lazy)

Now if it's told to retain only the first two parts, it won't try to
convert anything after the first two dots to an int, so it won't error.
The outcome is the same as if the bit after the second dot was a valid
int (which was going to be ignored anyway, we just now don't error on
it).

This is useful for the release-branch-semver scheme, which wants to be
able to find the next minor version even if the most recent version is a
release candidate.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add release-branch-semver scheme</title>
<updated>2020-05-11T21:25:34+00:00</updated>
<author>
<name>chrisjbillington</name>
<email>chrisjbillington@gmail.com</email>
</author>
<published>2020-05-11T18:45:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/setuptools-scm.git/commit/?id=e62d4aac4b2e9fa7c5c120f2f3b5108db21d52a2'/>
<id>e62d4aac4b2e9fa7c5c120f2f3b5108db21d52a2</id>
<content type='text'>
This is a scheme that assumes that the upcoming release for most
branches is a minor release, and that only for release branches
(those whose branch names parse as a version number according to current
configuration) is the upcoming version a patch release.

Better document the differences between the schemes in README.rst
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is a scheme that assumes that the upcoming release for most
branches is a minor release, and that only for release branches
(those whose branch names parse as a version number according to current
configuration) is the upcoming version a patch release.

Better document the differences between the schemes in README.rst
</pre>
</div>
</content>
</entry>
<entry>
<title>closes #312 - document interaction with enterprise distros</title>
<updated>2020-05-02T18:03:40+00:00</updated>
<author>
<name>Ronny Pfannschmidt</name>
<email>ronny.pfannschmidt@redhat.com</email>
</author>
<published>2020-05-02T18:03:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/setuptools-scm.git/commit/?id=ee08a2dbe7ab47217ecae6feac81ae081cb95d17'/>
<id>ee08a2dbe7ab47217ecae6feac81ae081cb95d17</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #410 from anntzer/parentdir_prefix_version</title>
<updated>2020-05-02T07:51:16+00:00</updated>
<author>
<name>Ronny Pfannschmidt</name>
<email>opensource@ronnypfannschmidt.de</email>
</author>
<published>2020-05-02T07:51:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/setuptools-scm.git/commit/?id=69b88a20c5cd4632ef0c97b3ddd2bd0d3f8f7df8'/>
<id>69b88a20c5cd4632ef0c97b3ddd2bd0d3f8f7df8</id>
<content type='text'>
Allow getting the version from the parent directory suffix.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Allow getting the version from the parent directory suffix.</pre>
</div>
</content>
</entry>
<entry>
<title>add python tests</title>
<updated>2020-05-01T20:26:47+00:00</updated>
<author>
<name>Ronny Pfannschmidt</name>
<email>opensource@ronnypfannschmidt.de</email>
</author>
<published>2019-12-13T23:23:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/setuptools-scm.git/commit/?id=b536c087bf5fc76febff44ea38315928beb0e168'/>
<id>b536c087bf5fc76febff44ea38315928beb0e168</id>
<content type='text'>
port testsuite to pathlib, and try to resolve windows short paths

trace git toplevel mismatch (observed on win32 name shortening)

exclude python2 on windows

remove the appveyor config, its broken

drop most travis envs that we have in github workflows now

add actions for creating egg artifacts/wheels/sdists

WIP: experiment with act

WIP: fix workflow typo

WIP: add missed runs-on

fix typoed excludes

fixup: upload actuall wheel/sdist in the build step

style fixes for the actions config
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
port testsuite to pathlib, and try to resolve windows short paths

trace git toplevel mismatch (observed on win32 name shortening)

exclude python2 on windows

remove the appveyor config, its broken

drop most travis envs that we have in github workflows now

add actions for creating egg artifacts/wheels/sdists

WIP: experiment with act

WIP: fix workflow typo

WIP: add missed runs-on

fix typoed excludes

fixup: upload actuall wheel/sdist in the build step

style fixes for the actions config
</pre>
</div>
</content>
</entry>
<entry>
<title>Allow getting the version from the parent directory suffix.</title>
<updated>2020-05-01T14:28:29+00:00</updated>
<author>
<name>Antony Lee</name>
<email>anntzer.lee@gmail.com</email>
</author>
<published>2020-03-22T13:48:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/setuptools-scm.git/commit/?id=aaab738a9e698b4d84c1f0724341a1b009b766ea'/>
<id>aaab738a9e698b4d84c1f0724341a1b009b766ea</id>
<content type='text'>
Add a `parentdir_prefix_version` config parameter which allows lets
setuptools_scm get a version string from the name of the parent
directory: if `parentdir_prefix_version = "foo-"` and the parent
directory is named `foo-v12.34`, then the version is 12.34.  This is
only active if the parameter is set (it defaults to unset, i.e. the
feature is opt-in), if getting the version from the SCM failed, *and*
there's no metadata already present.  However, this has higher priority
than `fallback_version` (which remains the last-resort fallback).

This feature is intended to support the tarballs that GitHub
automatically creates for all releases, which have no metadata but
follow the correct naming scheme for the feature to work.

This feature is directly inspired from versioneer's `parentdir_prefix`
setting.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add a `parentdir_prefix_version` config parameter which allows lets
setuptools_scm get a version string from the name of the parent
directory: if `parentdir_prefix_version = "foo-"` and the parent
directory is named `foo-v12.34`, then the version is 12.34.  This is
only active if the parameter is set (it defaults to unset, i.e. the
feature is opt-in), if getting the version from the SCM failed, *and*
there's no metadata already present.  However, this has higher priority
than `fallback_version` (which remains the last-resort fallback).

This feature is intended to support the tarballs that GitHub
automatically creates for all releases, which have no metadata but
follow the correct naming scheme for the feature to work.

This feature is directly inspired from versioneer's `parentdir_prefix`
setting.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #408 from con-f-use/master</title>
<updated>2020-05-01T14:02:32+00:00</updated>
<author>
<name>Ronny Pfannschmidt</name>
<email>opensource@ronnypfannschmidt.de</email>
</author>
<published>2020-05-01T14:02:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/setuptools-scm.git/commit/?id=200c56667fd8446056ec365b95ea2dccdd0a9a1b'/>
<id>200c56667fd8446056ec365b95ea2dccdd0a9a1b</id>
<content type='text'>
 Change ScmVersion.time to UTC</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
 Change ScmVersion.time to UTC</pre>
</div>
</content>
</entry>
<entry>
<title>Select git tags based on presence of numbers, rather than dots.</title>
<updated>2020-03-25T14:58:26+00:00</updated>
<author>
<name>Diego Elio Pettenò</name>
<email>flameeyes@flameeyes.com</email>
</author>
<published>2020-03-25T14:58:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/setuptools-scm.git/commit/?id=7ca148ad7bb7813d01a88f9f6c5fd1461157040b'/>
<id>7ca148ad7bb7813d01a88f9f6c5fd1461157040b</id>
<content type='text'>
The default `git describe` command had an undocumented `--match *.*` in it,
intended to skip over tags that may represent human-readable checkpoints.

Unfortunately this means it would be ignoring single-component versions.

Instead look for presence of digits in the tag, it's still a heuristic, but
it should cover all previous cases, and fix single component versions.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The default `git describe` command had an undocumented `--match *.*` in it,
intended to skip over tags that may represent human-readable checkpoints.

Unfortunately this means it would be ignoring single-component versions.

Instead look for presence of digits in the tag, it's still a heuristic, but
it should cover all previous cases, and fix single component versions.
</pre>
</div>
</content>
</entry>
<entry>
<title>Extract version correctly from tags with a single digit.</title>
<updated>2020-03-25T14:39:32+00:00</updated>
<author>
<name>Diego Elio Pettenò</name>
<email>flameeyes@flameeyes.com</email>
</author>
<published>2020-03-25T14:37:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/setuptools-scm.git/commit/?id=ad80a3dd2174671d49ef4dd3b431f381d6b0219c'/>
<id>ad80a3dd2174671d49ef4dd3b431f381d6b0219c</id>
<content type='text'>
This makes sure that even if there's only a single group of digits in the
version, it's correctly extracted, and any suffix ignored.

Also add tests for those particular cases to avoid regressions.

See Issue #411 for debugging details.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This makes sure that even if there's only a single group of digits in the
version, it's correctly extracted, and any suffix ignored.

Also add tests for those particular cases to avoid regressions.

See Issue #411 for debugging details.
</pre>
</div>
</content>
</entry>
</feed>
