Skip to content

Commit 6e238d4

Browse files
authored
Merge pull request #16 from d9pouces/dev
Dev
2 parents cb1521d + 346439b commit 6e238d4

File tree

7 files changed

+657
-421
lines changed

7 files changed

+657
-421
lines changed

.github/workflows/publish.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Basic unittests and publish
2+
on:
3+
push:
4+
branches:
5+
- master
6+
jobs:
7+
publish:
8+
name: Python ${{ matrix.python-version }} / Django ${{ matrix.django-version }}
9+
runs-on: ubuntu-24.04
10+
strategy:
11+
matrix:
12+
python-version: ['3.14']
13+
env:
14+
DJANGO_SETTINGS_MODULE: test_df_config.data.settings
15+
POETRY_VIRTUALENVS_CREATE: false
16+
UV_PUBLISH_TOKEN: ${{ secrets.UV_PUBLISH_TOKEN }}
17+
steps:
18+
- uses: actions/[email protected]
19+
- uses: actions/[email protected]
20+
with:
21+
python-version: ${{ matrix.python-version }}
22+
- run: python3 -m pip install --user hypothesis pytest tox coverage uv
23+
- run: python3 -m pytest --doctest-modules --doctest-glob=df_config/*.py --doctest-glob=df_config/**/*.py
24+
- run: python3 -m uv build
25+
- run: python3 -m uv publish

.github/workflows/pytest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-24.04
1111
strategy:
1212
matrix:
13-
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
13+
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13', '3.14']
1414
env:
1515
POETRY_VIRTUALENVS_CREATE: false
1616
steps:

.idea/copilot.data.migration.ask2agent.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

poetry.lock

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

pyproject.toml

Lines changed: 37 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,47 @@
11
[build-system]
2-
build-backend = "poetry.core.masonry.api"
3-
requires = ["poetry-core"]
2+
build-backend = "hatchling.build"
3+
requires = ["hatchling"]
44

5-
[tool.poetry]
6-
authors = ["Matthieu Gallet <[email protected]>"]
5+
[dependency-groups]
6+
dev = [
7+
"hypothesis>=6.100.0,<7",
8+
"pytest>=8.1.1,<9",
9+
"tox>=4.23.2,<5"
10+
]
11+
12+
[project]
13+
authors = [{name = "Matthieu Gallet", email = "[email protected]"}]
714
classifiers = [
8-
'Development Status :: 5 - Production/Stable',
9-
'Intended Audience :: System Administrators',
10-
'License :: OSI Approved',
11-
'Topic :: Utilities',
12-
'Programming Language :: Python :: 3',
13-
'Programming Language :: Python :: 3 :: Only',
14-
'Programming Language :: Python :: 3.6',
15-
'Programming Language :: Python :: 3.7',
16-
'Programming Language :: Python :: 3.8',
17-
'Programming Language :: Python :: 3.9',
18-
'Programming Language :: Python :: 3.10',
19-
'Programming Language :: Python :: 3.11',
20-
'Programming Language :: Python :: 3.12',
21-
'Programming Language :: Python :: 3.13'
15+
"Development Status :: 5 - Production/Stable",
16+
"Intended Audience :: System Administrators",
17+
"License :: OSI Approved",
18+
"Topic :: Utilities",
19+
"Programming Language :: Python :: 3",
20+
"Programming Language :: Python :: 3 :: Only",
21+
"Programming Language :: Python :: 3.6",
22+
"Programming Language :: Python :: 3.7",
23+
"Programming Language :: Python :: 3.8",
24+
"Programming Language :: Python :: 3.9",
25+
"Programming Language :: Python :: 3.10",
26+
"Programming Language :: Python :: 3.11",
27+
"Programming Language :: Python :: 3.12",
28+
"Programming Language :: Python :: 3.13",
29+
"Programming Language :: Python :: 3.14"
2230
]
2331
description = "Read and write Ruby-marshalled data"
24-
documentation = 'https://github.com/d9pouces/RubyMarshal'
2532
license = "WTFPL"
26-
maintainers = ["Matthieu Gallet <[email protected]>"]
33+
maintainers = [{name = "Matthieu Gallet", email = "[email protected]"}]
2734
name = "rubymarshal"
28-
packages = [{include = "rubymarshal"}]
2935
readme = "README.md"
30-
repository = 'https://github.com/interdiode/interdiode-logo'
31-
version = "1.2.9"
36+
requires-python = ">=3.8,<4"
37+
version = "1.2.10"
38+
39+
[project.urls]
40+
Documentation = "https://github.com/d9pouces/RubyMarshal"
41+
Repository = "https://github.com/interdiode/interdiode-logo"
3242

33-
[tool.poetry.dependencies]
34-
python = "^3.8"
43+
[tool.hatch.build.targets.sdist]
44+
include = ["rubymarshal"]
3545

36-
[tool.poetry.group.dev.dependencies]
37-
hypothesis = "^6.100.0"
38-
pytest = "^8.1.1"
39-
tox = "^4.23.2"
46+
[tool.hatch.build.targets.wheel]
47+
include = ["rubymarshal"]

tox.ini

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox:tox]
2-
envlist = py38,py39,py310,py311,py312,py313
2+
envlist = py38,py39,py310,py311,py312,py313,py314
33
minversion = 4.0.0
44

55
[testenv]
@@ -11,5 +11,4 @@ setenv =
1111
PYTHONDEVMODE=1
1212
PYTHONHASHSEED=28739944
1313
commands =
14-
python3 -m poetry build
1514
python3 -m pytest rubymarshal/tests

0 commit comments

Comments
 (0)