kopia lustrzana https://github.com/collective/icalendar
commit
f2717a4b85
|
|
@ -14,13 +14,10 @@ jobs:
|
|||
matrix:
|
||||
config:
|
||||
# [Python version, tox env]
|
||||
- ["2.7", "py27"]
|
||||
- ["3.6", "py36"]
|
||||
- ["3.7", "py37"]
|
||||
- ["3.8", "py38"]
|
||||
- ["3.9", "py39"]
|
||||
- ["3.10", "py310"]
|
||||
- ["pypy3", "pypy3"]
|
||||
- ["pypy-3.9", "pypy3"]
|
||||
- ["3.10", "docs"]
|
||||
- ["3.11.0-rc.1", "py311"]
|
||||
|
||||
|
|
@ -47,7 +44,6 @@ jobs:
|
|||
- name: Test
|
||||
run: tox -e ${{ matrix.config[1] }}
|
||||
- name: Coverage
|
||||
if: matrix.config[0] != '2.7'
|
||||
run: |
|
||||
pip install coveralls coverage-python-version
|
||||
coveralls --service=github
|
||||
|
|
|
|||
|
|
@ -5,6 +5,10 @@ Changelog
|
|||
5.0.0a2 (unreleased)
|
||||
--------------------
|
||||
|
||||
Breaking changes:
|
||||
|
||||
- Require Python 3.8 as minimum Python version. [maurits]
|
||||
|
||||
Bug fixes:
|
||||
|
||||
- Changed tools.UIDGenerator instance methods to static methods
|
||||
|
|
|
|||
|
|
@ -45,7 +45,8 @@ clean:
|
|||
html:
|
||||
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
|
||||
@echo
|
||||
@echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
|
||||
@echo "Build finished. The HTML pages are in docs/$(BUILDDIR)/html."
|
||||
rm -rf build
|
||||
|
||||
manual: *.rst
|
||||
$(SPHINXBUILD) -b html -t manual . manual
|
||||
|
|
|
|||
7
setup.py
7
setup.py
|
|
@ -36,11 +36,6 @@ setuptools.setup(
|
|||
'License :: OSI Approved :: BSD License',
|
||||
'Operating System :: OS Independent',
|
||||
'Programming Language :: Python',
|
||||
'Programming Language :: Python :: 2',
|
||||
'Programming Language :: Python :: 2.7',
|
||||
'Programming Language :: Python :: 3',
|
||||
'Programming Language :: Python :: 3.6',
|
||||
'Programming Language :: Python :: 3.7',
|
||||
'Programming Language :: Python :: 3.8',
|
||||
'Programming Language :: Python :: 3.9',
|
||||
'Programming Language :: Python :: 3.10',
|
||||
|
|
@ -57,7 +52,7 @@ setuptools.setup(
|
|||
package_dir={'': 'src'},
|
||||
include_package_data=True,
|
||||
zip_safe=False,
|
||||
python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*",
|
||||
python_requires=">=3.8",
|
||||
install_requires=install_requires,
|
||||
entry_points = {'console_scripts': ['icalendar = icalendar.cli:main']},
|
||||
extras_require={
|
||||
|
|
|
|||
7
tox.ini
7
tox.ini
|
|
@ -1,16 +1,17 @@
|
|||
# to run for a specific environment, use ``tox -e ENVNAME``
|
||||
[tox]
|
||||
envlist = py27,py37,py38,py39,py310,pypy3,docs
|
||||
envlist = py38,py39,py310,pypy3,docs
|
||||
# Note: the 'docs' env creates a 'build' directory which may interfere in strange ways
|
||||
# with the other environments. You might see this when you run the tests in parallel.
|
||||
# See https://github.com/collective/icalendar/pull/359#issuecomment-1214150269
|
||||
|
||||
[testenv]
|
||||
usedevelop=True
|
||||
deps =
|
||||
pytest
|
||||
coverage
|
||||
py{27}: hypothesis>=3.0
|
||||
commands =
|
||||
coverage run --source=src/icalendar --omit=*/tests/* --module pytest []
|
||||
py{27}: coverage run --append --source=src/icalendar --omit=*/tests/* --module pytest [] src/icalendar/tests/hypothesis/
|
||||
coverage report
|
||||
coverage html
|
||||
|
||||
|
|
|
|||
Ładowanie…
Reference in New Issue