Skip to content
Merged

Dev #16

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Basic unittests and publish
on:
push:
branches:
- master
jobs:
publish:
name: Python ${{ matrix.python-version }} / Django ${{ matrix.django-version }}
runs-on: ubuntu-24.04
strategy:
matrix:
python-version: ['3.14']
env:
DJANGO_SETTINGS_MODULE: test_df_config.data.settings
POETRY_VIRTUALENVS_CREATE: false
UV_PUBLISH_TOKEN: ${{ secrets.UV_PUBLISH_TOKEN }}
steps:
- uses: actions/[email protected]
- uses: actions/[email protected]
with:
python-version: ${{ matrix.python-version }}
- run: python3 -m pip install --user hypothesis pytest tox coverage uv
- run: python3 -m pytest --doctest-modules --doctest-glob=df_config/*.py --doctest-glob=df_config/**/*.py
- run: python3 -m uv build
- run: python3 -m uv publish
2 changes: 1 addition & 1 deletion .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-24.04
strategy:
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13', '3.14']
env:
POETRY_VIRTUALENVS_CREATE: false
steps:
Expand Down
6 changes: 6 additions & 0 deletions .idea/copilot.data.migration.ask2agent.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

389 changes: 0 additions & 389 deletions poetry.lock

This file was deleted.

66 changes: 37 additions & 29 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,39 +1,47 @@
[build-system]
build-backend = "poetry.core.masonry.api"
requires = ["poetry-core"]
build-backend = "hatchling.build"
requires = ["hatchling"]

[tool.poetry]
authors = ["Matthieu Gallet <[email protected]>"]
[dependency-groups]
dev = [
"hypothesis>=6.100.0,<7",
"pytest>=8.1.1,<9",
"tox>=4.23.2,<5"
]

[project]
authors = [{name = "Matthieu Gallet", email = "[email protected]"}]
classifiers = [
'Development Status :: 5 - Production/Stable',
'Intended Audience :: System Administrators',
'License :: OSI Approved',
'Topic :: Utilities',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: 3.13'
"Development Status :: 5 - Production/Stable",
"Intended Audience :: System Administrators",
"License :: OSI Approved",
"Topic :: Utilities",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14"
]
description = "Read and write Ruby-marshalled data"
documentation = 'https://github.com/d9pouces/RubyMarshal'
license = "WTFPL"
maintainers = ["Matthieu Gallet <[email protected]>"]
maintainers = [{name = "Matthieu Gallet", email = "[email protected]"}]
name = "rubymarshal"
packages = [{include = "rubymarshal"}]
readme = "README.md"
repository = 'https://github.com/interdiode/interdiode-logo'
version = "1.2.9"
requires-python = ">=3.8,<4"
version = "1.2.10"

[project.urls]
Documentation = "https://github.com/d9pouces/RubyMarshal"
Repository = "https://github.com/interdiode/interdiode-logo"

[tool.poetry.dependencies]
python = "^3.8"
[tool.hatch.build.targets.sdist]
include = ["rubymarshal"]

[tool.poetry.group.dev.dependencies]
hypothesis = "^6.100.0"
pytest = "^8.1.1"
tox = "^4.23.2"
[tool.hatch.build.targets.wheel]
include = ["rubymarshal"]
3 changes: 1 addition & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox:tox]
envlist = py38,py39,py310,py311,py312,py313
envlist = py38,py39,py310,py311,py312,py313,py314
minversion = 4.0.0

[testenv]
Expand All @@ -11,5 +11,4 @@ setenv =
PYTHONDEVMODE=1
PYTHONHASHSEED=28739944
commands =
python3 -m poetry build
python3 -m pytest rubymarshal/tests
Loading