Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Few more cleanups to get everything green again. #39

Merged
merged 6 commits into from
Dec 30, 2024
Merged
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
2 changes: 1 addition & 1 deletion .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ['3.10' , '3.11'] #, '3.12'] highspy doesn't support 3.12 yet
python-version: ['3.10' , '3.11', '3.12', '3.13']

steps:
- uses: actions/checkout@v4
Expand Down
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## Version 0.8 (2024-12-30)

- Added support for Mailgun, thanks to Nils Mohr
- Added new notebook for calculating submission statistics, thanks to Nils Mohr
- Added devcontainer for easier development, thanks to Nils Mohr
- Updated all dependencies, added support for Python 3.13

## Version 0.7.2 (2024-06-18)

- Matplotlib replaced with webcolors, thanks Alexander Hendorf
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ title usually had responsibility for presiding over councils of some kind, which
- [x] simple configuration management with a config folder in your home directory, just like many other tools do
- [x] easily access [Google Sheets], potentially filled by some [Google Forms], and download sheets as data frames
- [x] easy to use [Pretalx] client that returns proper Python objects thanks to the power of [pydantic]
- [x] simple [HelpDesk] client for batch mails, e.g. to your reviewers
- [x] simple e-mail clients for batch mails, e.g. to your reviewers, via [Mailgun] and [HelpDesk]
- [x] awesome [documentation] with best practices for the program committee of any community-based conference
- [x] tools to assign proposals to reviewers based on constraints like preferences
- [x] tools to support the final selection process of proposals
Expand Down Expand Up @@ -163,3 +163,4 @@ To start this project off a lot of inspiration and code was taken from [Alexande
[LiveChat]: https://www.livechat.com/
[Docker]: https://www.docker.com/
[Dev Containers Extension]: https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers
[Mailgun]: https://www.mailgun.com/
17 changes: 12 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ classifiers = [
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: Implementation :: CPython",
"Operating System :: OS Independent",
"Topic :: Communications :: Email",
Expand Down Expand Up @@ -223,8 +224,12 @@ requires = ["hatch-pip-compile"]
# Default
[tool.hatch.envs.default]
type = "pip-compile"
pip-compile-hashes = false
python = "3.10"
features = ["all"]
pip-compile-installer = "pip" # or "uv"
pip-compile-constraint = "default" # keep locks between default & others consistent
pip-compile-resolver = "pip-compile" # or "uv"
pip-compile-hashes = false # no hashes in lock files
post-install-commands = ["pre-commit install"]
dependencies = [
"coverage[toml]>=6.2",
Expand All @@ -243,6 +248,8 @@ no-cov = "cov --no-cov {args}"
debug = "cov --no-cov -s --pdb --pdbcls=IPython.core.debugger:Pdb {args}"
ci = "cov --cov-report lcov {args}"
notebooks = "jupyter lab --allow-root"
upgrade-all = "PIP_COMPILE_UPGRADE=1 hatch env run --env {env_name} -- python --version"
upgrade-pkg = "PIP_COMPILE_UPGRADE_PACKAGE='{args}' hatch env run --env {env_name} -- python --version"

# Docs environment
[tool.hatch.envs.docs]
Expand Down Expand Up @@ -290,8 +297,8 @@ build-check = [
type = "pip-compile"
pip-compile-constraint = "default"
dependencies = [
"mypy~=1.7",
"ruff~=0.1.14",
"mypy~=1.11.2",
"ruff~=0.6.9",
]
[tool.hatch.envs.lint.scripts]
typing = [
Expand All @@ -300,12 +307,12 @@ typing = [
]
style = [
"echo \"VERSION: `ruff --version`\"",
"ruff {args:.}",
"ruff check {args:.}",
"ruff format --check {args:.}",
]
fix = [
"ruff format {args:.}",
"ruff --fix {args:.}",
"ruff check --fix {args:.}",
"style", # feedback on what is not fixable
]
all = [
Expand Down
Loading
Loading