Skip to content

Commit 666aa03

Browse files
committed
Merge latest skeleton
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
2 parents 89770c8 + b2d7512 commit 666aa03

53 files changed

Lines changed: 6059 additions & 797 deletions

Some content is hidden

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

.gitattributes

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Ignore all Git auto CR/LF line endings conversions
2+
* -text
3+
pyproject.toml export-subst

.github/workflows/docs-ci.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: CI Documentation
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-24.04
8+
9+
strategy:
10+
max-parallel: 4
11+
matrix:
12+
python-version: [3.12]
13+
14+
steps:
15+
- name: Checkout code
16+
uses: actions/checkout@v4
17+
18+
- name: Set up Python ${{ matrix.python-version }}
19+
uses: actions/setup-python@v5
20+
with:
21+
python-version: ${{ matrix.python-version }}
22+
23+
- name: Install Dependencies
24+
run: ./configure --dev
25+
26+
- name: Check documentation and HTML for errors and dead links
27+
run: make docs-check
28+
29+
- name: Check documentation for style errors
30+
run: make doc8
31+
32+

.github/workflows/pypi-release.yml

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -21,21 +21,24 @@ on:
2121
jobs:
2222
build-pypi-distribs:
2323
name: Build and publish library to PyPI
24-
runs-on: ubuntu-20.04
24+
runs-on: ubuntu-24.04
2525

2626
steps:
27-
- uses: actions/checkout@master
27+
- uses: actions/checkout@v4
2828
- name: Set up Python
29-
uses: actions/setup-python@v1
29+
uses: actions/setup-python@v5
3030
with:
31-
python-version: 3.9
31+
python-version: 3.12
3232

33-
- name: Install pypa/build
34-
run: python -m pip install build --user
33+
- name: Install pypa/build and twine
34+
run: python -m pip install --user build twine
3535

3636
- name: Build a binary wheel and a source tarball
3737
run: python -m build --sdist --wheel --outdir dist/
3838

39+
- name: Validate wheel and sdis for Pypi
40+
run: python -m twine check dist/*
41+
3942
- name: Upload built archives
4043
uses: actions/upload-artifact@v4
4144
with:
@@ -47,7 +50,7 @@ jobs:
4750
name: Create GH release
4851
needs:
4952
- build-pypi-distribs
50-
runs-on: ubuntu-20.04
53+
runs-on: ubuntu-24.04
5154

5255
steps:
5356
- name: Download built archives
@@ -57,7 +60,7 @@ jobs:
5760
path: dist
5861

5962
- name: Create GH release
60-
uses: softprops/action-gh-release@v1
63+
uses: softprops/action-gh-release@v2
6164
with:
6265
draft: true
6366
files: dist/*
@@ -67,7 +70,7 @@ jobs:
6770
name: Create PyPI release
6871
needs:
6972
- create-gh-release
70-
runs-on: ubuntu-20.04
73+
runs-on: ubuntu-24.04
7174

7275
steps:
7376
- name: Download built archives
@@ -78,6 +81,6 @@ jobs:
7881

7982
- name: Publish to PyPI
8083
if: startsWith(github.ref, 'refs/tags')
81-
uses: pypa/gh-action-pypi-publish@master
84+
uses: pypa/gh-action-pypi-publish@release/v1
8285
with:
8386
password: ${{ secrets.PYPI_API_TOKEN }}

.gitignore

Lines changed: 34 additions & 79 deletions
Original file line numberDiff line numberDiff line change
@@ -1,50 +1,49 @@
1-
# Byte-compiled / optimized / DLL files
2-
__pycache__/
1+
# Python compiled files
32
*.py[cod]
4-
*$py.class
53

6-
# C extensions
7-
*.so
8-
9-
# Distribution / packaging
4+
# virtualenv and other misc bits
5+
/src/*.egg-info
6+
*.egg-info
7+
/dist
8+
/build
9+
/bin
10+
/lib
11+
/scripts
12+
/Scripts
13+
/Lib
14+
/pip-selfcheck.json
15+
/tmp
16+
/venv
1017
.Python
11-
build/
12-
develop-eggs/
13-
dist/
14-
eggs/
15-
.eggs/
16-
lib/
17-
lib64/
18-
parts/
19-
sdist/
20-
var/
21-
wheels/
22-
*.egg-info/
23-
.installed.cfg
24-
*.egg
25-
18+
/include
19+
/Include
20+
/local
21+
*/local/*
22+
/local/
23+
/share/
24+
/tcl/
25+
/.eggs/
2626

2727
# Installer logs
2828
pip-log.txt
29-
pip-delete-this-directory.txt
30-
pip-selfcheck.json
3129

3230
# Unit test / coverage reports
33-
htmlcov/
34-
.tox/
31+
.cache
3532
.coverage
3633
.coverage.*
37-
.cache
38-
coverage.xml
39-
*.cover
34+
nosetests.xml
35+
htmlcov
4036

4137
# Translations
4238
*.mo
43-
*.pot
4439

45-
# Django stuff:
46-
*.log
47-
local_settings.py
40+
# IDEs
41+
.project
42+
.pydevproject
43+
.idea
44+
org.eclipse.core.resources.prefs
45+
.vscode
46+
.vs
4847

4948
# Sphinx
5049
docs/_build
@@ -55,51 +54,6 @@ docs/Lib
5554
doc/pyvenv.cfg
5655
pyvenv.cfg
5756

58-
# PyBuilder
59-
target/
60-
61-
# Jupyter Notebook
62-
.ipynb_checkpoints
63-
64-
# pyenv and pip
65-
.python-version
66-
pyvenv.cfg
67-
bin/
68-
69-
# Environments
70-
.env
71-
.venv
72-
env/
73-
venv/
74-
ENV/
75-
76-
77-
# mypy
78-
.mypy_cache/
79-
80-
81-
# Database
82-
*.sqlite3*
83-
84-
# Staticfiles
85-
staticfiles/
86-
87-
# virtualenv
88-
bin
89-
include
90-
lib64
91-
share
92-
Pipfile
93-
94-
# editors
95-
.vscode
96-
# PyCharm
97-
.idea/
98-
99-
# pytest
100-
.pytest_cache
101-
102-
10357
# Various junk and temp files
10458
.DS_Store
10559
*~
@@ -108,7 +62,6 @@ Pipfile
10862
.ve
10963
*.bak
11064
/.cache/
111-
/tmp/
11265

11366
# pyenv
11467
/.python-version
@@ -119,3 +72,5 @@ tcl
11972

12073
# Ignore Jupyter Notebook related temp files
12174
.ipynb_checkpoints/
75+
/.ruff_cache/
76+
/.env

.readthedocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ python:
2626
- method: pip
2727
path: .
2828
extra_requirements:
29-
- dev
29+
- docs

AUTHORS.rst

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,3 @@
11
The following organizations or individuals have contributed to this repo:
22

3-
- nexB Inc. @nexB
4-
- Haiko Schol @haikoschol
5-
- Philippe Ombredanne @pombredanne
6-
- Kartik Sibal @kartiksibal
7-
- Shivam Sandbhor @sbs2001
8-
- Ranvir Singh @singh1114
9-
- Thomas Druez @tdruez
10-
- Ayush Lohani @lohani2280
11-
- Islam Elhakmi @EslamHiko
12-
- Edoardo Lanzini @elanzini
13-
- Navonil Das @NavonilDas
14-
- Tushar Upadhyay @tushar912
15-
- Hritik Vijay @hritik14
16-
- Tushar Goel @TG1999
17-
- Keshav Priyadarshi @keshav-space
3+
-

0 commit comments

Comments
 (0)