mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-10 08:38:32 +02:00
* Add Python 3.10 support
* Change Python 3.10 to 3.10-dev in CI
* Run poetry update
* Turn off fail-fast to troubleshoot
Co-authored-by: Jonathan Wren <jonathan@nowandwren.com>
* Add continue-on-error for 3.10
Co-authored-by: Jonathan Wren <jonathan@nowandwren.com>
* use prerelease poetry for prerelease python
* fix syntax error
* rename steps to make more sense
* remove dev dependency that breaks with python 3.10
* update tests
* Change test dependencies for minimal breakage on python 3.10
- loosen the test dep requirements (so we get warned about these
problems sooner)
- add new extras group to provide minimal deps required for testing (we
don't need to run static analysis again on every version)
* change how we check if deps are installed so test don't run wild
* add setuptools due to poetry bug, clean up other steps
* update lock file
* test
* Revert "test"
This reverts commit 31e538300e
.
Co-authored-by: Jonathan Wren <jonathan@nowandwren.com>
104 lines
2.9 KiB
TOML
104 lines
2.9 KiB
TOML
[tool.poetry]
|
|
name = "jrnl"
|
|
version = "v2.8.1"
|
|
description = "Collect your thoughts and notes without leaving the command line."
|
|
authors = [
|
|
"jrnl contributors <jrnl-sh@googlegroups.com>",
|
|
"Manuel Ebert <manuel@1450.me>",
|
|
"Jonathan Wren <jonathan@nowandwren.com>",
|
|
"Micah Ellison <micahellison@gmail.com>"
|
|
]
|
|
maintainers = [
|
|
"Jonathan Wren and Micah Ellison <jrnl-sh@googlegroups.com>",
|
|
]
|
|
license = "GPL-3.0-only"
|
|
readme = "README.md"
|
|
homepage = "https://jrnl.sh"
|
|
repository = "https://github.com/jrnl-org/jrnl"
|
|
classifiers = [
|
|
"Topic :: Office/Business :: News/Diary",
|
|
"Environment :: Console",
|
|
"Operating System :: OS Independent"
|
|
]
|
|
|
|
[tool.poetry.urls]
|
|
"Documentation" = "https://jrnl.sh"
|
|
"Issue Tracker" = "https://github.com/jrnl-org/jrnl/issues"
|
|
"Funding" = "https://opencollective.com/jrnl"
|
|
|
|
[tool.poetry.dependencies]
|
|
python = ">=3.7.0, <3.11"
|
|
|
|
ansiwrap = "^0.8.4"
|
|
asteval = "^0.9"
|
|
colorama = ">=0.4" # https://github.com/tartley/colorama/blob/master/CHANGELOG.rst
|
|
cryptography = ">=3.0" # https://cryptography.io/en/latest/api-stability.html
|
|
keyring = ">=21.0" # https://github.com/jaraco/keyring#integration
|
|
parsedatetime = ">=2.6"
|
|
python-dateutil = "^2.8" # https://github.com/dateutil/dateutil/blob/master/RELEASING
|
|
pyxdg = ">=0.27.0"
|
|
pyyaml = ">=5.1"
|
|
|
|
# dayone-only deps
|
|
pytz = ">=2020" # https://pythonhosted.org/pytz/#issues-limitations
|
|
tzlocal = ">2.0, <3.0" # https://github.com/regebro/tzlocal/blob/master/CHANGES.txt
|
|
|
|
# Minimal deps required for testing
|
|
# I don't like repeating deps here, but
|
|
# there's no other way to do this yet until poetry v1.2 releases
|
|
# see: https://github.com/python-poetry/poetry/issues/1644
|
|
behave = { version = "^1.2" , optional = true }
|
|
pytest = { version = ">=6.2" , optional = true }
|
|
pytest-bdd = { version = ">=4.0.1" , optional = true }
|
|
toml = { version = ">=0.10" , optional = true }
|
|
|
|
[tool.poetry.dev-dependencies]
|
|
behave = "^1.2"
|
|
mkdocs = ">=1.0"
|
|
black = { version = ">=21.5b2", allow-prereleases = true }
|
|
toml = ">=0.10"
|
|
pytest = ">=6.2"
|
|
pytest-bdd = ">=4.0.1"
|
|
ipdb = "*"
|
|
pytest-clarity = "*"
|
|
pyproject-flake8 = "*"
|
|
|
|
[tool.poetry.extras]
|
|
testing = [ "behave", "pytest", "pytest-bdd", "toml" ]
|
|
|
|
[tool.poetry.scripts]
|
|
jrnl = 'jrnl.cli:cli'
|
|
|
|
[tool.isort]
|
|
multi_line_output = 7
|
|
force_single_line = true
|
|
line_length = 88
|
|
known_first_party = ["jrnl"]
|
|
force_sort_within_sections = true
|
|
|
|
[tool.pytest.ini_options]
|
|
minversion = "6.0"
|
|
required_plugins = [
|
|
"pytest-bdd"
|
|
]
|
|
markers = [
|
|
"todo",
|
|
]
|
|
addopts = [
|
|
"--pdbcls=IPython.terminal.debugger:Pdb"
|
|
]
|
|
|
|
filterwarnings = [
|
|
"ignore::DeprecationWarning",
|
|
"ignore:Flag style will be deprecated in.*",
|
|
"ignore:[WinError 32].*",
|
|
"ignore:[WinError 5].*"
|
|
]
|
|
|
|
[tool.flake8]
|
|
# ignore formatting warnings and errors because we use Black to autoformat
|
|
extend-ignore = "E101,E111,E114,E115,E116,E117,E12,E13,E2,E3,E401,E5,E70,W1,W2,W3,W5"
|
|
|
|
[build-system]
|
|
requires = ["poetry>=1.1"]
|
|
build-backend = "poetry.masonry.api"
|