From 1f4f6275cdf81fa65a359bcb0807a8a7614d2455 Mon Sep 17 00:00:00 2001 From: Leo Hanisch Date: Wed, 1 Nov 2023 13:52:10 +0100 Subject: [PATCH] fix: require pylint 2 as installation dependency --- .travis.yml | 12 ++++++++---- CHANGELOG.md | 8 +++++++- requirements-dev.txt | 1 + setup.py | 6 ++++-- 4 files changed, 20 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index ccf1ca9..29db265 100644 --- a/.travis.yml +++ b/.travis.yml @@ -33,23 +33,27 @@ jobs: python: 3.8 - stage: test python: 3.9 + - stage: test + python: 3.10 + - stage: test + python: 3.11 after_success: - codecov # Bundle Stage - stage: bundle - python: 3.9 + python: 3.11 script: - cp ThirdPartyNotices.txt ./pylintfileheader - - python setup.py sdist bdist_wheel + - python -m build --sdist --wheel # Deploy Stage - stage: deploy python: 3.9 before_deploy: - cp ThirdPartyNotices.txt ./pylintfileheader - - python setup.py sdist bdist_wheel - - twine upload dist/* -u HaaLeo -p ${PYPI_PASSWORD} + - python -m build --sdist --wheel + - twine upload dist/* -u __token__ -p ${PYPI_TOKEN} script: skip deploy: provider: releases diff --git a/CHANGELOG.md b/CHANGELOG.md index f23a99d..ef99f87 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,13 @@ This project follows [semantic versioning](https://semver.org/). ## Unreleased -[All Changes](https://github.com/HaaLeo/pylint-file-header/compare/v0.3.0...master) +[All Changes](https://github.com/HaaLeo/pylint-file-header/compare/v0.3.3...master) + +## 2023-11-01 - [v0.3.3] +### Fixed +* Require installation of pylint<3.0 + +[All Changes](https://github.com/HaaLeo/pylint-file-header/compare/v0.3.2...v0.3.3) ## 2021-09-17 - [v0.3.2] ### Fixed diff --git a/requirements-dev.txt b/requirements-dev.txt index fe42493..ffb75d3 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -13,3 +13,4 @@ twine>=1.11.0 wheel>=0.31.0 # The last compitible version with python3.4, it is needed for twine readme-renderer==24.0; python_version == '3.4' +build diff --git a/setup.py b/setup.py index a3517c8..f533703 100644 --- a/setup.py +++ b/setup.py @@ -21,7 +21,7 @@ author='Leo Hanisch', license='MIT', package_data={'pylintfileheader': ['ThirdPartyNotices.txt']}, - install_requires=[], + install_requires=['pylint<3.0'], project_urls={ 'Source': 'https://github.com/HaaLeo/pylint-file-header', 'Issue Tracker': 'https://github.com/HaaLeo/pylint-file-header/issues', @@ -47,6 +47,8 @@ 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9' + 'Programming Language :: Python :: 3.9', + 'Programming Language :: Python :: 3.10', + 'Programming Language :: Python :: 3.11' ] )