| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| | * | | | | move version type validation to version class | Ronny Pfannschmidt | 2023-01-18 | 3 | -44/+42 | |
| | | | | | | ||||||
| | * | | | | move entrypoints helpers to the belonging module | Ronny Pfannschmidt | 2023-01-18 | 2 | -58/+61 | |
| | | | | | | ||||||
| | * | | | | move private helpers to a private modue | Ronny Pfannschmidt | 2023-01-18 | 3 | -67/+82 | |
| | | | | | | ||||||
| | * | | | | scmversion: stricter typing for tag | Ronny Pfannschmidt | 2023-01-17 | 1 | -1/+3 | |
| | | | | | | ||||||
| | * | | | | Version class: turn into dataclass | Ronny Pfannschmidt | 2023-01-17 | 1 | -41/+24 | |
| | | | | | | ||||||
| | * | | | | version: use precompiled regex for date_ver_match | Ronny Pfannschmidt | 2023-01-17 | 1 | -8/+6 | |
| | | | | | | ||||||
| | * | | | | typing: consolidate version schemes types | Ronny Pfannschmidt | 2023-01-17 | 2 | -10/+6 | |
| | | | | | | ||||||
| * | | | | | [pre-commit.ci] auto fixes from pre-commit.com hooks | pre-commit-ci[bot] | 2023-02-10 | 1 | -1/+3 | |
| | | | | | | | | | | | | | | | | | | | | | for more information, see https://pre-commit.ci | |||||
| * | | | | | add example, split get into new function | Spencer Chang | 2023-02-10 | 1 | -11/+11 | |
| | | | | | | ||||||
| * | | | | | use importlib_metadata.EntryPoint to try and execute qualified function path | Spencer Chang | 2023-02-10 | 1 | -1/+11 | |
| |/ / / / | ||||||
| * | | | | update pre-commit | Ronny Pfannschmidt | 2023-01-07 | 1 | -2/+2 | |
| | | | | | ||||||
| * | | | | Replace `del section[...]` with `section.pop(...)` | Dimitri Papadopoulos | 2022-11-20 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | Addresses refurb alert: [FURB131]: Replace `del x[y]` with `x.pop(y)` | |||||
| * | | | | Replace `int(dist)` with `dist` | Dimitri Papadopoulos | 2022-11-20 | 1 | -1/+1 | |
| | |_|/ |/| | | | | | | | | | | | | | | | | | Indeed, `dist` is already an `int`. Addresses refurb alert: [FURB123]: Replace `int(x)` with `x` | |||||
| * | | | [pre-commit.ci] auto fixes from pre-commit.com hooks | pre-commit-ci[bot] | 2022-10-14 | 1 | -1/+3 | |
| | | | | | | | | | | | | | for more information, see https://pre-commit.ci | |||||
| * | | | Fix #759: Update .git_archival.txt templates to more closely match how we ↵ | Darsey Litzenberger | 2022-10-14 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | invoke git-describe This covers `--tags` and `--match '*[0-9]*'` (and `--dirty` is unnecessary). There is unfortunately no format-string equivalent to git-describe's `--long` option, Archives made from this repository after this change should now get versioned correctly. Fixes: https://github.com/pypa/setuptools_scm/issues/759 | |||||
| * | | | Fix parsing .git_archival.txt for archives made from tagged commits. | Darsey Litzenberger | 2022-10-14 | 1 | -3/+12 | |
| | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Given .git_archival.txt content like this: node: 3634907645428b9542cfb4fd1ceef08f14526cb8 node-date: 2022-10-13T20:38:09-06:00 describe-name: v0.0.5 ref-names: HEAD -> main, tag: v0.0.5 we would previously fail with an exception like this: $ python3 -m setuptools_scm Traceback (most recent call last): [..snip..] File ".../setuptools_scm/git.py", line 312, in parse_archival return archival_to_version(data, config=config) File ".../setuptools_scm/git.py", line 286, in archival_to_version tag, number, node, _ = _git_parse_describe(archival_describe) File ".../setuptools_scm/git.py", line 245, in _git_parse_describe tag, number, node = describe_output.rsplit("-", 2) ValueError: not enough values to unpack (expected 3, got 1) The problem is that the describe-name field is "v0.0.5" instead of looking like "v0.0.5-0-g3634907". When we invoke git-describe ourselves, we specify the --long option, but the format-strings implemented by git-archive do not currently give us any way to force long-output in a .git_archival.txt file. This change detects this condition and returns None for the missing fields. | |||||
| * | | Remove default "coding: utf-8" in .py template | Mike Taves | 2022-08-29 | 1 | -1/+0 | |
| | | | ||||||
| * | | Merge pull request #752 from abravalheri/fallback-files-command | Ronny Pfannschmidt | 2022-08-20 | 4 | -6/+58 | |
| |\ \ | | | | | | | Add fallback for `find_files` on git/hg archives | |||||
| | * | | Add debuging statements | Anderson Bravalheri | 2022-07-15 | 2 | -0/+3 | |
| | | | | ||||||
| | * | | Add integrations and tests for fallback file finders | Anderson Bravalheri | 2022-07-15 | 1 | -1/+5 | |
| | | | | ||||||
| | * | | Implement fallback file finders for git/hg archives | Anderson Bravalheri | 2022-07-15 | 2 | -0/+38 | |
| | | | | ||||||
| | * | | Add boolean flag that allows scm_find_files to bypass SCM listing | Anderson Bravalheri | 2022-07-15 | 1 | -5/+12 | |
| | |/ | ||||||
| * | | [pre-commit.ci] auto fixes from pre-commit.com hooks | pre-commit-ci[bot] | 2022-08-19 | 1 | -1/+1 | |
| | | | | | | | | | for more information, see https://pre-commit.ci | |||||
| * | | Force encoding when reading setup.cfg. Fixes #760. | Jason R. Coombs | 2022-08-19 | 1 | -1/+1 | |
| |/ | ||||||
| * | Use stdlib tomllib instead of tomli for Python 3.11+ | Hugo van Kemenade | 2022-07-11 | 1 | -3/+7 | |
| | | ||||||
| * | ignore unexported git archivals | Ronny Pfannschmidt | 2022-07-10 | 1 | -3/+6 | |
| | | | | | | fixes #742 fixes #745 | |||||
| * | fix #738: protect relative_to of Configuration.from_file | Ronny Pfannschmidt | 2022-07-01 | 1 | -2/+9 | |
| | | | | | | users assumed it makes sense to use in the configfile, where we actually have to use the config file name itself as ancor | |||||
| * | bugfix wrong condition in relative_to override and fix tests | Ronny Pfannschmidt | 2022-06-28 | 1 | -1/+2 | |
| | | ||||||
| * | cleanup pyproject loading and allow cli relative roots to be specified | Ronny Pfannschmidt | 2022-06-28 | 6 | -67/+121 | |
| | | | | | this also tries to address concerns by @qubidt in #691 / #702 | |||||
| * | fix #727: correctly handle incomplete archivals from setuptools_scm_git_archival | Ronny Pfannschmidt | 2022-06-26 | 1 | -2/+7 | |
| | | ||||||
| * | Merge pull request #731 from RonnyPfannschmidt/cli-setup-root-option | Ronny Pfannschmidt | 2022-06-26 | 2 | -15/+41 | |
| |\ | | | | | fix #691 - support root in pyproject.toml even for cli | |||||
| | * | fix #691 - support root in pyproject.toml even for cli | Ronny Pfannschmidt | 2022-06-26 | 2 | -15/+41 | |
| | | | | | | | | | | | superseeds #702 which served as inspiration adds integration tests | |||||
| * | | fix #728: remove git arguments that triggered wrong branch names | Ronny Pfannschmidt | 2022-06-25 | 1 | -2/+2 | |
| |/ | | | | also added a test that will catch this | |||||
| * | Improve debug logging (indent and commands can be copy/pasted) | paugier | 2022-06-24 | 2 | -11/+17 | |
| | | ||||||
| * | Clean environnent variables to avoid an incompatibility between pip isolated ↵ | paugier | 2022-06-24 | 1 | -1/+22 | |
| | | | | | build and hg (https://github.com/pypa/pip/issues/10635) | |||||
| * | Improve debug log | paugier | 2022-06-24 | 1 | -7/+12 | |
| | | ||||||
| * | changelog | Ronny Pfannschmidt | 2022-06-22 | 1 | -2/+0 | |
| | | ||||||
| * | opt out of pyproject.toml for self-bootstrap | Ronny Pfannschmidt | 2022-06-22 | 3 | -2/+12 | |
| | | ||||||
| * | fixup: add missed typing import guard | Ronny Pfannschmidt | 2022-06-22 | 1 | -1/+4 | |
| | | ||||||
| * | minimize bootstrap - fixes #722 and #723 | Ronny Pfannschmidt | 2022-06-22 | 12 | -28/+58 | |
| | | | | | | | enable self-bootstrap without typing_extensions and importlib_metadata they are still install requirements however | |||||
| * | merge with mainline | Ronny Pfannschmidt | 2022-06-21 | 21 | -530/+789 | |
| |\ | ||||||
| | * | FIXUP: restore hg-git support | Ronny Pfannschmidt | 2022-06-21 | 3 | -25/+25 | |
| | | | ||||||
| | * | use typing.Type for python3.7 | Ronny Pfannschmidt | 2022-05-29 | 1 | -1/+2 | |
| | | | ||||||
| | * | restore python3.7 support | Ronny Pfannschmidt | 2022-05-29 | 2 | -8/+4 | |
| | | | ||||||
| | * | add importlib_metadata for mypy pre-commit hook | Ronny Pfannschmidt | 2022-05-29 | 1 | -1/+1 | |
| | | | ||||||
| | * | reviews part 2 | Ronny Pfannschmidt | 2022-05-29 | 3 | -61/+60 | |
| | | | ||||||
| | * | Bump minimal python to 3.7 | Ronny Pfannschmidt | 2022-05-29 | 20 | -159/+158 | |
| | | | ||||||
| | * | complete mypy transformation | Ronny Pfannschmidt | 2022-05-29 | 19 | -445/+670 | |
| | | | ||||||
| | * | typing fixed in face of ongoing python 3.6 support | Ronny Pfannschmidt | 2022-05-29 | 3 | -13/+16 | |
| | | | ||||||
| | * | Prepare git archival style testing | Ronny Pfannschmidt | 2022-05-29 | 2 | -0/+36 | |
| | | | ||||||
