Skip to content

Commit

Permalink
Merge pull request #15 from mdpiper/fix-changelog-bug
Browse files Browse the repository at this point in the history
Minor maintenance
  • Loading branch information
mdpiper authored Mar 25, 2024
2 parents 38bd516 + a4e8ccc commit 75cc591
Show file tree
Hide file tree
Showing 8 changed files with 26 additions and 26 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build-test-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ jobs:

strategy:
matrix:
python-version: ["3.9", "3.10"]
python-version: ["3.10", "3.11", "3.12"]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
Expand All @@ -41,12 +41,12 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Set up Python 3.9
uses: actions/setup-python@v2
- name: Set up Python 3.12
uses: actions/setup-python@v4
with:
python-version: 3.9
python-version: 3.12

- name: Format
run: |
Expand Down
6 changes: 3 additions & 3 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
Changes: nbgitpuller-link
=========================

## 0.2.5 (unreleased)
---------------------
0.2.5 (unreleased)
------------------

- Nothing changed yet.


## 0.2.4 (2023-01-11)
0.2.4 (2023-01-11)
------------------

- Use nox for build system management (#13)
Expand Down
2 changes: 0 additions & 2 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
include *.md
include *.cff
include environment.yml
include noxfile.py
include examples/*
include tests/*
3 changes: 1 addition & 2 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,4 @@ dependencies:
- pytest-cov
- pytest-datadir
- coveralls
- pip:
- zest.releaser
- zest.releaser
2 changes: 1 addition & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
HERE = pathlib.Path(__file__)
ROOT = HERE.parent
PATHS = ["nbgitpuller_link", "examples", "tests", HERE.name]
PYTHON_VERSIONS = ["3.9", "3.10", "3.11"]
PYTHON_VERSIONS = ["3.10", "3.11", "3.12"]


@nox.session(python=PYTHON_VERSIONS)
Expand Down
16 changes: 13 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,16 @@ keywords = [
license = {text = "MIT License"}
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Intended Audience :: Education",
]
requires-python = ">=3.7"
requires-python = ">=3.10"
dependencies = [
"click",
"validators",
Expand Down Expand Up @@ -63,7 +66,7 @@ testing = [
nbgitpuller-link = "nbgitpuller_link.cli:main"

[tool.setuptools.dynamic]
readme = {file = ["README.md", "LICENSE.md"], content-type = "text/markdown"}
readme = {file = ["README.md", "CHANGES.md", "LICENSE.md"], content-type = "text/markdown"}
version = {attr = "nbgitpuller_link._version.__version__"}

[tool.setuptools.packages.find]
Expand All @@ -77,7 +80,7 @@ norecursedirs = [".*", "*.egg*", "build", "dist"]
addopts = """
--ignore setup.py
--tb native
--strict
--strict-markers
--durations 16
--doctest-modules
-vvv
Expand All @@ -94,3 +97,10 @@ include_trailing_comma = true
force_grid_wrap = 0
combine_as_imports = true
line_length = 88

[tool.coverage.run]
relative_files = true

[tool.zest-releaser]
tag-format = "v{version}"
python-file-with-version = "nbgitpuller_link/_version.py"
7 changes: 0 additions & 7 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,14 +1,7 @@
[coverage:run]
relative_files = True

[flake8]
exclude = docs
ignore =
E203
E501
W503
max-line-length = 88

[zest.releaser]
tag-format = v{version}
python-file-with-version = nbgitpuller_link/_version.py
4 changes: 2 additions & 2 deletions tests/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def test_valid_result():
["--jupyterhub-url=https://jupyter.org", "--repository-url=https://github.com"],
)
assert result.exit_code == 0
assert validators.url(result.output)
assert validators.url(result.output.rstrip("\n"))


def test_optional_interface():
Expand Down Expand Up @@ -154,4 +154,4 @@ def test_space_in_launch_path():
],
)
assert result.exit_code == 0
assert validators.url(result.output)
assert validators.url(result.output.rstrip("\n"))

0 comments on commit 75cc591

Please sign in to comment.