-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #48 from spraakbanken/bump-minimum-python-to-39
bump minimum python to 39
- Loading branch information
Showing
23 changed files
with
2,859 additions
and
5,238 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,25 +2,25 @@ | |
|
||
In this folder there is configuration for codecoverage, dependabot and ci workflows. | ||
|
||
This folder can be merged using a `--allow-unrelated-histories` merge strategy from <https://github.com/spraakbanken/python-pdm-ci-conf> which provides a reasonably sensible base for writing your own ci on. By using this strategy the history of the CI repo is included in your repo, and future updates to the CI can be merged later. | ||
This folder can be merged using a `--allow-unrelated-histories` merge strategy from <https://github.com/spraakbanken/python-uv-ci-conf> which provides a reasonably sensible base for writing your own ci on. By using this strategy the history of the CI repo is included in your repo, and future updates to the CI can be merged later. | ||
|
||
The workflows in this folder requires a root Makefile with a couple of targets defined. | ||
As base can the Makefile in <https://github.com/spraakbanken/python-pdm-make-conf> be used. | ||
As base can the Makefile in <https://github.com/spraakbanken/python-uv-make-conf> be used. | ||
|
||
## Publish | ||
|
||
The `publish`-step in [test.yml](./workflows/test.yml) is configured to use the GitHub environment `release`, create that or change to your preferred environment. | ||
The `publish`-step in [release.yml](./workflows/release.yml) is configured to use the GitHub environment `release`, create that or change to your preferred environment. | ||
To publish to PyPI you must also configure your Pypi-project settings to use Trusted Publisher Management, by setting repo, workflow and environment on PyPI. | ||
|
||
To perform this merge run: | ||
|
||
```shell | ||
git remote add ci [email protected]:spraakbanken/python-pdm-ci-conf.git | ||
git remote add ci [email protected]:spraakbanken/python-uv-ci-conf.git | ||
git fetch ci | ||
git merge --allow-unrelated-histories ci/main | ||
``` | ||
|
||
or add the remote as `git remote add ci https://github.com/spraakbanken/python-pdm-ci-conf.git` | ||
or add the remote as `git remote add ci https://github.com/spraakbanken/python-uv-ci-conf.git` | ||
|
||
To later merge updates to this repo, just run: | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.