summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* simplify the dist-upload conditionbugfix/workflowRonny Pfannschmidt2020-05-231-1/+1
|
* run pipelines on releasesRonny Pfannschmidt2020-05-211-0/+1
|
* Merge pull request #435 from pypa/release-prepRonny Pfannschmidt2020-05-213-14/+8
|\ | | | | Release prep
| * correct supported python versionsrelease-prepRonny Pfannschmidt2020-05-212-0/+2
| |
| * update changelogRonny Pfannschmidt2020-05-211-0/+6
| |
| * drop default.nixRonny Pfannschmidt2020-05-211-14/+0
|/
* Merge pull request #433 from pypa/drop-samefileRonny Pfannschmidt2020-05-217-307/+91
|\ | | | | Drop samefile and use a conditional dependency for old pythons
| * drop samefile and switch to declarative metadataRonny Pfannschmidt2020-05-217-307/+91
|/ | | | Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
* Merge pull request #434 from pypa/drop-travisRonny Pfannschmidt2020-05-205-58/+49
|\ | | | | Drop Travis
| * drop travisdrop-travisRonny Pfannschmidt2020-05-205-58/+49
|/ | | | | | | * port check-readme to twine check before dist upload * port self install tests to github * artifact downloads
* Merge pull request #430 from chrisjbillington/release-branch-semver-schemeRonny Pfannschmidt2020-05-164-16/+95
|\ | | | | Add release-branch-semver scheme
| * Allow guess_next_simple_semver to ignore unneeded partschrisjbillington2020-05-111-10/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * Add release-branch-semver schemechrisjbillington2020-05-114-6/+89
|/ | | | | | | | | 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
* Merge pull request #429 from mgorny/skip-gitRonny Pfannschmidt2020-05-084-6/+24
|\ | | | | Skip git tests when git is unavailable
| * Skip git tests when git is unavailableMichał Górny2020-05-074-6/+24
|/
* Merge pull request #428 from pypa/bugfix/427-utc-mismatchRonny Pfannschmidt2020-05-071-2/+3
|\ | | | | Generate the date for today in UTC
| * Generate the date for today in UTC. Fixes #427.bugfix/427-utc-mismatchJason R. Coombs2020-05-061-2/+3
| |
* | Merge pull request #426 from mgorny/hg-skipRonny Pfannschmidt2020-05-072-1/+12
|\ \ | |/ |/| Skip mercurial tests when hg is not available
| * Skip mercurial tests when hg is not availableMichał Górny2020-05-062-1/+12
|/ | | | | | | Mercurial is broken (read: crashing with bus error) on SPARC. Nevertheless, many packages need setuptools_scm even if we never ever use Mercurial checkouts. This patch makes it possible to run the test suite successfully when Mercurial is not available on the system.
* drop pypi from travis configRonny Pfannschmidt2020-05-031-24/+0
|
* pre-commit updateRonny Pfannschmidt2020-05-031-2/+2
|
* Merge pull request #422 from pypa/fix-312-document-enterprise-distrosRonny Pfannschmidt2020-05-023-6/+23
|\ | | | | closes #312 - document interaction with enterprise distros
| * closes #312 - document interaction with enterprise distrosfix-312-document-enterprise-distrosRonny Pfannschmidt2020-05-023-6/+23
|/
* Merge branch 'master' of github.com:pypa/setuptools_scmRonny Pfannschmidt2020-05-026-1/+41
|\
| * Merge pull request #410 from anntzer/parentdir_prefix_versionRonny Pfannschmidt2020-05-026-1/+41
| |\ | | | | | | Allow getting the version from the parent directory suffix.
| | * Allow getting the version from the parent directory suffix.Antony Lee2020-05-016-1/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | update changelog and prepare a major releaseRonny Pfannschmidt2020-05-021-1/+4
|/ /
* | Merge pull request #383 from pypa/workflowsRonny Pfannschmidt2020-05-0110-143/+193
|\ \ | |/ |/| switch to github action
| * add python testsworkflowsRonny Pfannschmidt2020-05-019-143/+173
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * add pre-commit github actionRonny Pfannschmidt2020-05-011-0/+20
|/
* Merge pull request #408 from con-f-use/masterRonny Pfannschmidt2020-05-014-2/+26
|\ | | | | Change ScmVersion.time to UTC
| * Make black happycon-f-use2020-03-182-1/+6
| |
| * Fix file locationscon-f-use2020-03-184-473/+14
| |
| * Document change to UTCcon-f-use2020-03-182-0/+7
| |
| * Change ScmVersion.time to UTCcon-f-use2020-03-182-0/+471
| |
* | Merge pull request #412 from Flameeyes/masterRonny Pfannschmidt2020-05-016-6/+18
|\ \ | |/ |/| Fix documentation for tag_regex and allow single-digit version numbers.
| * Select git tags based on presence of numbers, rather than dots.Diego Elio Pettenò2020-03-252-1/+9
| | | | | | | | | | | | | | | | | | | | 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.
| * Extract version correctly from tags with a single digit.Diego Elio Pettenò2020-03-252-1/+6
| | | | | | | | | | | | | | | | | | 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.
| * Avoid overriding the default tag_regex in tests.Diego Elio Pettenò2020-03-251-1/+0
| | | | | | | | | | | | | | | | This appears to test something different than test_config.test_tag_regex, but somehow also overrides the regular expression with a very old (3-groups) one. Remove the override and use the default regex instead (it works).
| * Fix documentation of `tag_regex` parameter.Diego Elio Pettenò2020-03-251-3/+3
|/ | | | | Since 5853b0c72be9bf30701e58d9d72b413cb62ff1c9 (July 2018), the regex is expected to have a single group, named `version` or unnamed.
* Merge pull request #407 from hugovk/drop-the-dotRonny Pfannschmidt2020-02-271-1/+1
|\ | | | | Drop the dot: py.test -> pytest
| * Drop the dot https://twitter.com/pytestdotorg/status/753767547866972160Hugo2020-02-271-1/+1
|/
* Merge pull request #405 from con-f-use/no_local_versionv3.5.0Ronny Pfannschmidt2020-02-085-1/+21
|\ | | | | no-local-version scheme and improved documentation
| * no-local-version scheme and improved documentationcon-f-use2020-02-075-1/+21
|/
* Update CHANGELOG.rstRonny Pfannschmidt2020-01-251-0/+5
|
* Merge pull request #404 from TheTripleV/fix-403Ronny Pfannschmidt2020-01-252-0/+2
|\ | | | | #Fix 403: Close file descriptor before terminating process
| * Add issue number to test caseTheTripleV2020-01-251-0/+1
| |
| * Close subprocess files descriptorTheTripleV2020-01-251-0/+1
|/
* Merge pull request #400 from gesslerpd/fix/windowsv3.4.3Ronny Pfannschmidt2020-01-222-2/+7
|\ | | | | Fix #399: ensure the git file finder closes file descriptor after reading archive
| * update changeloggesslerpd2020-01-201-1/+1
| |