Skip to content

Commit

Permalink
fix: require pylint 2 as installation dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
HaaLeo committed Nov 1, 2023
1 parent 7313e54 commit 1f4f627
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 7 deletions.
12 changes: 8 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
6 changes: 4 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -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'
]
)

0 comments on commit 1f4f627

Please sign in to comment.