Commit Graph

77 Commits

Author SHA1 Message Date
bb0b82ab72 Add itest for pseudobuilder
All checks were successful
continuous-integration/drone/push Build is passing
2024-11-06 16:13:58 -08:00
564a120bfe Bump version to v2.4.0
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2024-10-31 13:26:05 -07:00
e58f1fd7b1 Download and extract files in wheel scripts dir
All checks were successful
continuous-integration/drone/push Build is passing
This avoids conflicting file names with the root cwd
2024-10-31 13:19:47 -07:00
75c37b4aa7 Bump version to v2.3.0
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2024-05-14 14:15:35 -07:00
ef7160fe7c Include default system and arch synonyms
Some projects use different system and arch names in their assets.
Sometimes due to convention or differeing tools and systems. For
example, on macOS 13.6, Python will return the system as `Darwin`.
However, some release assets will be named `macOS` or `macos`. Similarly
`arm64` and `aarch64` are used interchangeably.

This patch adds a few lists of synonymous values such that
release-gitter can make an attempt at matching the intended binary.
These lists of synonyms can be expanded to be more complete as time goes
on.

These synonyms are only used if there is no user provided mapping. In
the case that any user provided mapping exists, the map will be the
sole source of truth. Eg. If you provide a map for `Windows=>windows`,
no other values will be mapped and we won't assume that `Darwin=>macos`
anymore.
2024-05-14 14:15:35 -07:00
a6c839a31e Remove typing.Optional from tests 2024-05-14 14:15:35 -07:00
ec401c7d6a Add python12 to test matrix
Still testing against 3.7, even though it's EOL
2024-05-14 14:15:35 -07:00
7a5bed0454 Switch from reorder-python-imports to isort 2024-05-14 14:15:35 -07:00
d639b868a1 Update pre-commit hooks 2024-05-14 14:01:40 -07:00
ddf509e9a4 Bump patch version to 2.2.1
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2023-10-31 20:42:28 -07:00
fbb38a9d7d Make git-url optional again for pseudo_builder
All checks were successful
continuous-integration/drone/push Build is passing
2023-10-31 20:41:40 -07:00
f0ab45f0c6 Make sure hatch is installed when verifying tag
Some checks reported errors
continuous-integration/drone/push Build was killed
continuous-integration/drone/tag Build is passing
2023-10-27 15:41:30 -07:00
3eb5fb3d75 Bump version to v2.2.0
Some checks failed
continuous-integration/drone/tag Build is failing
continuous-integration/drone/push Build is passing
2023-10-27 15:32:43 -07:00
f1352658ae Update pseudo_builder to be able to include extra files 2023-10-27 15:32:43 -07:00
b8b81825f6 Skip upload pipeline entirely when not tagging for now 2023-10-27 15:32:30 -07:00
daedacb35f Really require python 3.7
All checks were successful
continuous-integration/drone/push Build is passing
2023-10-27 15:27:04 -07:00
09a7d38bc7 Skip upload to test pypi because we can't overwrite 2023-10-27 15:26:46 -07:00
ff803dbc31 Use hatch dynamic version so that we can increment before test uploads
Some checks failed
continuous-integration/drone/push Build is failing
2023-10-27 14:25:02 -07:00
5ba06140dc Add linting back in
Some checks failed
continuous-integration/drone/push Build is failing
2023-10-27 14:04:46 -07:00
302258ce6c Fix test upload to use hatch publish
Some checks failed
continuous-integration/drone/push Build is failing
2023-10-27 13:52:03 -07:00
5423c04df6 Clean venv before trying to run hatch again
Some checks failed
continuous-integration/drone/push Build is failing
2023-10-27 13:46:32 -07:00
30801c5927 Switch from tox to hatch
Some checks failed
continuous-integration/drone/push Build is failing
2023-10-27 13:41:46 -07:00
8b9ff334a5 Switch to pyproject
Some checks failed
continuous-integration/drone/push Build is failing
2023-10-26 17:32:28 -07:00
08773d61b7 Bump version to v2.1.1
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2023-06-26 16:28:58 -07:00
6726931916 Run tests on python 3.11
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-26 16:26:39 -07:00
b0e327e2cd Remove walrus operator to fix for python3.7
All checks were successful
continuous-integration/drone/push Build is passing
Python 3.7 goes into end of support mode tomorrow, 2023-06-27, but will
likely be in wide use for some time after
2023-06-26 16:14:34 -07:00
ab1f25304b Correct some argument help strings
Some checks failed
continuous-integration/drone/push Build is failing
2023-06-12 11:08:45 -07:00
dfc12ed79e Raise exception if trying to extract a member that doesn't exist 2023-06-12 11:08:21 -07:00
de7fe72cec Bump version to v2.1.0
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2023-06-05 11:45:49 -07:00
0f46808403 Add verbose flag to print version and asset downloaded
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-05 11:45:22 -07:00
face8e9af0 Bump version to 2.0.0
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
Changed behavior around pre-release versions
2023-05-22 17:11:38 -07:00
d555284a01 Avoid installing pre-release versions unless explicitly asked
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-22 17:09:55 -07:00
869b0b25b4 Fix passing of version when using download_release 2023-05-22 17:05:28 -07:00
d6c0673a1d Use new type annotations introduced in Python 3.10
All checks were successful
continuous-integration/drone/push Build is passing
2022-10-11 12:42:07 -07:00
d48daaab10 Update dev requirements
Make sure mypy and type stubs are installed in dev environment. They
are already used for linting.
2022-10-11 12:42:07 -07:00
e147fad63c Bump version to 1.2.0
All checks were successful
continuous-integration/drone/tag Build is passing
2022-10-11 12:41:30 -07:00
ab0603d1b9 Improve content type detection
All checks were successful
continuous-integration/drone/push Build is passing
Cycle through detected content types and use the first supported one.

Adds tests to cover cases of priority and exceptions.
2022-10-11 12:20:57 -07:00
e6a269af3d Add application/x-tar+xz as a known content type 2022-10-11 12:20:08 -07:00
e92283b4e9 Skip existing files in test pypi and do twine check every time
All checks were successful
continuous-integration/drone/push Build is passing
2022-08-31 13:20:23 -07:00
10849adfb8 Don't worry about verifying tags when pushing to test pypi
Some checks failed
continuous-integration/drone/push Build is failing
2022-08-31 12:45:36 -07:00
8a4ac73c8d Bump version to v1.1.3
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/tag Build is passing
2022-08-31 12:28:00 -07:00
fe0d9059aa Recognize new zip content type
Some checks reported errors
continuous-integration/drone/tag Build was killed
continuous-integration/drone/push Build is failing
2022-08-31 12:26:41 -07:00
1b367f5ddb Deploy to test pypi for pushes to main
Some checks failed
continuous-integration/drone/push Build is failing
2022-07-08 12:52:24 -07:00
7ff461fd89 Bump version to v1.1.2
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2022-06-30 19:49:43 -07:00
8585380eae Fix missing removeprefix in pseudo_builder.py 2022-06-30 19:48:35 -07:00
d876639c3e Bump patch version to v1.1.1
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2022-06-30 15:43:08 -07:00
a27e09c77e Add drone tests for older Python versions
All checks were successful
continuous-integration/drone/push Build is passing
2022-06-30 15:41:52 -07:00
3f23ddd3cc Support for python3.7 and python3.8
All checks were successful
continuous-integration/drone/push Build is passing
Added tox targets as well
2022-06-30 15:37:24 -07:00
1b74126494 Use shutil.move so files can be installed across disks
All checks were successful
continuous-integration/drone/push Build is passing
2022-06-30 13:55:31 -07:00
c49c3ca345 Bump to v1.1.0
Some checks reported errors
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build was killed
2022-06-08 08:52:08 -07:00