Skip to content

Commit 7b4369c

Browse files
committed
Updated workflows and metadata
Signed-off-by: Andrea Zoppi <texzk@email.it>
1 parent 56373d0 commit 7b4369c

File tree

9 files changed

+32
-25
lines changed

9 files changed

+32
-25
lines changed

.github/workflows/ci.yml

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
push:
55
branches:
66
- main
7+
- rc
78

89
pull_request:
910

@@ -20,19 +21,17 @@ jobs:
2021
- windows-latest
2122

2223
python-version:
23-
- '3.7'
24-
- '3.8'
2524
- '3.9'
2625
- '3.10'
2726
- '3.11'
2827
- '3.12'
29-
- pypy-3.10
28+
- pypy3.10
3029

3130
steps:
32-
- uses: actions/checkout@v3
31+
- uses: actions/checkout@v4
3332

3433
- name: Setup Python ${{ matrix.python-version }}
35-
uses: actions/setup-python@v4
34+
uses: actions/setup-python@v5
3635
with:
3736
python-version: ${{ matrix.python-version }}
3837

@@ -43,16 +42,19 @@ jobs:
4342
run: tox
4443

4544
- name: Upload coverage
46-
if: ${{ matrix.platform == 'ubuntu-latest' && matrix.python-version == '3.11' }}
47-
uses: actions/upload-artifact@v3
45+
if: ${{ matrix.platform == 'ubuntu-latest' && matrix.python-version == '3.12' }}
46+
uses: actions/upload-artifact@v4
4847
with:
4948
name: bytesparse-coverage
5049
path: coverage.xml
5150
if-no-files-found: error
5251

5352
- name: Upload to codecov
54-
if: ${{ matrix.platform == 'ubuntu-latest' && matrix.python-version == '3.11' }}
55-
uses: codecov/codecov-action@v3
53+
if: ${{ matrix.platform == 'ubuntu-latest' && matrix.python-version == '3.12' }}
54+
uses: codecov/codecov-action@v4
5655
with:
56+
fail_ci_if_error: true
5757
files: coverage.xml
5858
flags: unittests
59+
token: ${{ secrets.CODECOV_TOKEN }}
60+
verbose: true

.github/workflows/packaging.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
push:
55
branches:
66
- main
7+
- rc
78

89
pull_request:
910

@@ -17,17 +18,16 @@ jobs:
1718
max-parallel: 4
1819
matrix:
1920
python-version:
20-
- '3.7'
21-
- '3.8'
2221
- '3.9'
2322
- '3.10'
2423
- '3.11'
24+
- '3.12'
2525

2626
steps:
27-
- uses: actions/checkout@v3
27+
- uses: actions/checkout@v4
2828

2929
- name: Setup Python ${{ matrix.python-version }}
30-
uses: actions/setup-python@v4
30+
uses: actions/setup-python@v5
3131
with:
3232
python-version: ${{ matrix.python-version }}
3333

@@ -41,7 +41,7 @@ jobs:
4141
run: twine check dist/*
4242

4343
- name: Upload dist folder
44-
uses: actions/upload-artifact@v3
44+
uses: actions/upload-artifact@v4
4545
with:
4646
name: bytesparse-dist-py${{ matrix.python-version }}
4747
path: dist

.gitignore

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ dist
1010
build
1111
eggs
1212
.eggs
13-
env
13+
*env
1414
parts
1515
bin
1616
var
@@ -20,8 +20,6 @@ develop-eggs
2020
.installed.cfg
2121
lib
2222
lib64
23-
venv*/
24-
pyvenv*/
2523
tmp*
2624

2725
# Installer logs
@@ -48,6 +46,7 @@ tests/*.html
4846
.idea
4947
*.iml
5048
*.komodoproject
49+
.vscode
5150

5251
# Complexity
5352
output/*.html

CHANGELOG.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
Changelog
22
=========
33

4+
1.0.1 (2024-10-05)
5+
------------------
6+
7+
* Minor workflow and metadata updates.
8+
9+
410
1.0.0 (2024-03-07)
511
------------------
612

MANIFEST.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ include README.rst
1717
include requirements.txt
1818
include pyproject.toml
1919
include setup.cfg
20+
include setup.py
2021
include tox.ini
2122

2223
exclude build

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Overview
2727

2828
.. |codecov| image:: https://codecov.io/gh/TexZK/bytesparse/branch/main/graphs/badge.svg?branch=main
2929
:alt: Coverage Status
30-
:target: https://codecov.io/github/TexZK/bytesparse
30+
:target: https://app.codecov.io/github/TexZK/bytesparse
3131

3232
.. |version| image:: https://img.shields.io/pypi/v/bytesparse.svg
3333
:alt: PyPI Package latest release

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,10 @@ classifiers = [
1717
"Programming Language :: Python :: 3.7",
1818
"Programming Language :: Python :: 3.8",
1919
"Programming Language :: Python :: 3.9",
20-
"Programming Language :: Python :: 3.10",
20+
"Programming Language :: Python :: 3.10", # adds: typing.TypeAlias
2121
"Programming Language :: Python :: 3.11",
2222
"Programming Language :: Python :: 3.12",
23+
"Programming Language :: Python :: 3.13",
2324
"Programming Language :: Python :: Implementation :: CPython",
2425
"Programming Language :: Python :: Implementation :: PyPy",
2526
"Topic :: Scientific/Engineering :: Interface Engine/Protocol Translator",

src/bytesparse/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@
112112
113113
"""
114114

115-
__version__ = '1.0.0'
115+
__version__ = '1.0.1'
116116

117117
from .inplace import Memory
118118
from .inplace import bytesparse

tox.ini

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -125,10 +125,8 @@ skip_install = true
125125
; Settings for GitHub Actions.
126126
[gh-actions]
127127
python =
128-
3.7: py37
129-
3.8: py38
130128
3.9: py39
131129
3.10: py310
132-
3.11: {py311,clean,check,report,docs,spell}
133-
3.12: py312
134-
pypy-3.9: pypy3
130+
3.11: py311
131+
3.12: {py312,clean,check,report,docs,spell}
132+
pypy-3.10: pypy3

0 commit comments

Comments
 (0)