Skip to content

Commit abf96fa

Browse files
committed
Merge branch 'release/v3.6.5'
2 parents 0249ea6 + ed098a3 commit abf96fa

File tree

247 files changed

+7222
-6144
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

247 files changed

+7222
-6144
lines changed

.checkignore

Lines changed: 0 additions & 3 deletions
This file was deleted.
Lines changed: 55 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,61 +1,88 @@
1-
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
2-
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
3-
1+
# Build, install, and smoke-test FoBiS.py across the supported Python/OS matrix.
42
name: Python package
53

64
on:
75
push:
86
branches: [ master ]
7+
tags: [ 'v*' ]
98
pull_request:
109
branches: [ master ]
1110

1211
jobs:
13-
build:
12+
lint:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v4.2.2
16+
- uses: actions/setup-python@v5.6.0
17+
with:
18+
python-version: "3.12"
19+
- name: Install ruff
20+
run: pip install ruff
21+
- name: Lint
22+
run: ruff check fobis/ tests/
23+
- name: Format check
24+
run: ruff format --check fobis/ tests/
25+
26+
test:
27+
runs-on: ubuntu-latest
28+
steps:
29+
- uses: actions/checkout@v4.2.2
30+
- uses: actions/setup-python@v5.6.0
31+
with:
32+
python-version: "3.12"
33+
- name: Install gfortran
34+
run: sudo apt-get install -y gfortran
35+
- name: Install package + test deps
36+
run: pip install -e ".[dev]"
37+
- name: Run pytest
38+
run: pytest
1439

40+
build:
1541
runs-on: ${{ matrix.os }}
16-
permissions:
17-
contents: write
1842
strategy:
1943
matrix:
2044
os: [ubuntu-latest, macos-latest, windows-latest]
2145
python-version: ['3.9', '3.10', '3.11', '3.12']
2246

2347
steps:
2448
- uses: actions/checkout@v4.2.2
49+
2550
- name: Set up Python ${{ matrix.python-version }}
2651
uses: actions/setup-python@v5.6.0
2752
with:
2853
python-version: ${{ matrix.python-version }}
29-
- name: Install dependencies
30-
run: |
31-
pip install pybuilder
32-
- name: Install dependencies (python 3.12)
33-
if: contains( matrix.python-version, 12 )
34-
run: |
35-
pip install setuptools colorama
36-
- name: Test build package
37-
run: |
38-
pyb
39-
- name: Test install package on Linux/macOS
40-
if: startsWith(runner.os, 'Linux') || startsWith(runner.os, 'macOS')
41-
run: |
42-
cd release
43-
cd $(ls -d FoBiS-*)
44-
pip install .
45-
- name: Test install package on Windows
46-
if: startsWith(runner.os, 'Windows')
47-
run: |
48-
cd release
49-
cd $(ls -Directory FoBiS-*)
50-
pip install .
54+
55+
- name: Install package
56+
run: pip install -e .
57+
5158
- name: Test fobis entry point
5259
run: |
5360
python --version
5461
pip list
5562
fobis -v
5663
fobis --help
64+
5765
- name: Test FoBiS.py entry point (Linux/macOS only)
5866
if: startsWith(runner.os, 'Linux') || startsWith(runner.os, 'macOS')
5967
run: |
6068
FoBiS.py -v
6169
FoBiS.py --help
70+
71+
publish:
72+
needs: [lint, test, build]
73+
runs-on: ubuntu-latest
74+
if: startsWith(github.ref, 'refs/tags/v')
75+
environment: release
76+
permissions:
77+
id-token: write # required for OIDC Trusted Publisher
78+
steps:
79+
- uses: actions/checkout@v4.2.2
80+
- uses: actions/setup-python@v5.6.0
81+
with:
82+
python-version: "3.12"
83+
- name: Build distribution
84+
run: |
85+
pip install build
86+
python -m build
87+
- name: Publish to PyPI
88+
uses: pypa/gh-action-pypi-publish@release/v1

.landscape.yaml

Lines changed: 0 additions & 10 deletions
This file was deleted.

.pylintrc

Lines changed: 0 additions & 1 deletion
This file was deleted.

.travis.yml

Lines changed: 0 additions & 51 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 131 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,131 @@
1+
# Changelog
2+
3+
All notable changes to FoBiS.py are documented here.
4+
Versions follow [Semantic Versioning](https://semver.org/).
5+
Format follows [Keep a Changelog](https://keepachangelog.com/).
6+
7+
## [3.6.5] — 2026-03-16
8+
### Changed
9+
- Flatten source layout to standard Python conventions
10+
11+
12+
### release
13+
- Modernise bump.sh and add git-cliff changelog
14+
15+
16+
## [3.6.2] — 2026-03-15
17+
### Fixed
18+
- **deps**: Remove deprecated typer[all] extra
19+
20+
21+
## [3.6.0] — 2026-03-15
22+
### Added
23+
- **cli**: Replace argparse with Typer; add shell autocomplete ⚠ BREAKING CHANGE
24+
25+
26+
## [3.5.4] — 2026-03-05
27+
### Fixed
28+
- **builder**: Include transitive deps of submodules in link command
29+
30+
31+
## [3.5.3] — 2026-02-27
32+
### Fixed
33+
- **fetch**: Fix deps_dir treated as dependency and missing update
34+
35+
36+
## [3.5.2] — 2026-02-27
37+
### Added
38+
- **fetch**: Add per-dependency use=sources|fobos integration mode
39+
40+
41+
## [3.5.1] — 2026-02-27
42+
### Added
43+
- **builder**: Add configurable archiver and ranlib for static libraries
44+
45+
46+
## [3.5.0] — 2026-02-27
47+
### Added
48+
- **fobos**: Support multiple templates and detect circular references
49+
50+
51+
## [3.4.1] — 2026-02-27
52+
### Added
53+
- **fobos**: Add optional [project] section with name and authors
54+
55+
- **fobos**: Add version option to [project] section with git tag sync
56+
57+
- **fobos**: Add summary option to [project] section
58+
59+
- **fobos**: Add repository option to [project] section for remote url
60+
61+
- **fobos**: Add website option to [project] section
62+
63+
- **fobos**: Add email option to [project] section
64+
65+
66+
### Documentation
67+
- **fobos**: Add [project] section reference page with all options
68+
69+
70+
## [3.4.0] — 2026-02-27
71+
### Added
72+
- **install**: Add GitHub-hosted project install via fobis install <repo>
73+
74+
75+
## [3.3.4] — 2026-02-26
76+
### Documentation
77+
- **readme**: Add link to github pages documentation site
78+
79+
80+
## [3.3.3] — 2026-02-26
81+
### Documentation
82+
- **readme**: Rewrite readme to mirror the vitepress landing page
83+
84+
85+
## [3.3.2] — 2026-02-26
86+
### Documentation
87+
- Add vitepress documentation site with gh pages deployment
88+
89+
90+
## [3.3.1] — 2026-02-26
91+
### Fixed
92+
- **ci**: Fix FoBiS.py command not found on Windows runners
93+
94+
95+
## [3.3.0] — 2026-02-26
96+
### Added
97+
- **fetch**: Add fetch subcommand for GitHub Fortran dep management
98+
99+
100+
## [3.2.2] — 2026-02-26
101+
### Added
102+
- **setup**: Add fobis console script entry point
103+
104+
105+
## [3.2.1] — 2026-02-20
106+
### Fixed
107+
- **gcov**: Remove unused past.utils import that broke CI
108+
109+
- **bump.sh**: Prevent mid-release failure due to stale branches and PyPI filename change
110+
111+
112+
## [3.2.0] — 2026-02-20
113+
### Added
114+
- **gcov**: Add mermaid pie charts to markdown coverage reports
115+
116+
117+
## [3.1.0] — 2025-05-20
118+
### Added
119+
- Add AMD flang support
120+
121+
- **fobos**: Refactor fobos templates handling
122+
123+
124+
## [3.0.6] — 2024-11-05
125+
### bugfix
126+
- Open file encoding options differences python 2.X vs 3.X
127+
128+
- Fix bug of preprocessing parsed files
129+
130+
131+

0 commit comments

Comments
 (0)