Skip to content

Commit

Permalink
Feature/bump poetry (#22)
Browse files Browse the repository at this point in the history
* update poetry lock

* ditch python versions 3.7 and 3.8

* support python 3.9 on dependencies

* address tornado safety version

* fix README

* specify python version

* only test on PRs

* add nox-poetry

* update GH actions constraints

* try only poetry updated

* downgrade poetry and update lock file
  • Loading branch information
piskunow authored Nov 22, 2023
1 parent e55640e commit 8231e3f
Show file tree
Hide file tree
Showing 6 changed files with 504 additions and 954 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
name: Tests

on:
- push
- pull_request

jobs:
Expand All @@ -16,12 +15,8 @@ jobs:
- { python: "3.10", os: "ubuntu-latest", session: "safety" }
- { python: "3.10", os: "ubuntu-latest", session: "mypy" }
- { python: "3.9", os: "ubuntu-latest", session: "mypy" }
- { python: "3.8", os: "ubuntu-latest", session: "mypy" }
- { python: "3.7", os: "ubuntu-latest", session: "mypy" }
- { python: "3.10", os: "ubuntu-latest", session: "tests" }
- { python: "3.9", os: "ubuntu-latest", session: "tests" }
- { python: "3.8", os: "ubuntu-latest", session: "tests" }
- { python: "3.7", os: "ubuntu-latest", session: "tests" }
- { python: "3.10", os: "windows-latest", session: "tests" }
- { python: "3.10", os: "macos-latest", session: "tests" }
- { python: "3.10", os: "ubuntu-latest", session: "typeguard" }
Expand Down
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Here is a list of important resources for contributors:
- [Issue Tracker]
- [Code of Conduct]

[BSD 2-Clause license]: https://opensource.org/license/bsd-2-clause/
[bsd 2-clause license]: https://opensource.org/license/bsd-2-clause/
[source code]: https://github.com/piskunow/kpm-tools
[documentation]: https://kpm-tools.readthedocs.io/
[issue tracker]: https://github.com/piskunow/kpm-tools/issues
Expand All @@ -37,7 +37,7 @@ Request features on the [Issue Tracker].

## How to set up your development environment

You need Python 3.7+ and the following tools:
You need Python 3.9+ and the following tools:

- [Poetry]
- [Nox]
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<<<<<<< HEAD
# kpm-tools

=======

# KPM Tools

[![PyPI](https://img.shields.io/pypi/v/kpm-tools.svg)][pypi_]
Expand Down Expand Up @@ -51,7 +52,7 @@ To learn more, see the [Contributor Guide].

## License

Distributed under the terms of the [MIT license][license],
Distributed under the terms of the [BSD 2-Clause license][license],
_KPM Tools_ is free and open source software.

## Issues
Expand All @@ -74,4 +75,3 @@ This project was generated from [@cjolowicz]'s [Hypermodern Python Cookiecutter]
[license]: https://github.com/piskunow/kpm-tools/blob/main/LICENSE
[contributor guide]: https://github.com/piskunow/kpm-tools/blob/main/CONTRIBUTING.md
[command-line reference]: https://kpm-tools.readthedocs.io/en/latest/usage.html
>>>>>>> dccb53a (initial commit from hypermodern template)
2 changes: 1 addition & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@


package = "kpm_tools"
python_versions = ["3.10", "3.9", "3.8", "3.7"]
python_versions = ["3.10", "3.9"]
nox.needs_version = ">= 2021.6.6"
nox.options.sessions = (
"pre-commit",
Expand Down
Loading

0 comments on commit 8231e3f

Please sign in to comment.