Comments (4)
Could be good. I'm not sure how much work this would be. I guess the tests themselves would not need to change, just the way they are detected and setup, so it might be doable.
from zest.releaser.
py.test
is generally more popular.
from zest.releaser.
nose and py.test are pretty much equivalent in popularity, I believe. (And I'm familiar with nose myself... :-) )
from zest.releaser.
We need to switch away from z3c.testsetup
if we want to support Python 3.11. When I try it, I get an ImportError:
py311 run-test: commands[0] | zope-testrunner --test-path=. '--tests-pattern=^tests$' -v -c
Test-module import failures:
Module: zest.releaser.tests.test_setup
Traceback (most recent call last):
File "/Users/maurits/community/zest.releaser/zest/releaser/tests/test_setup.py", line 7, in <module>
import z3c.testsetup
File "/Users/maurits/community/zest.releaser/.tox/py311/lib/python3.11/site-packages/z3c/testsetup/__init__.py", line 1, in <module>
from z3c.testsetup.doctesting import UnitDocTestSetup
File "/Users/maurits/community/zest.releaser/.tox/py311/lib/python3.11/site-packages/z3c/testsetup/doctesting.py", line 22, in <module>
from z3c.testsetup.base import BasicTestSetup
File "/Users/maurits/community/zest.releaser/.tox/py311/lib/python3.11/site-packages/z3c/testsetup/base.py", line 21, in <module>
from z3c.testsetup.util import get_package
File "/Users/maurits/community/zest.releaser/.tox/py311/lib/python3.11/site-packages/z3c/testsetup/util.py", line 22, in <module>
from inspect import getmro, ismethod, isfunction, getargspec
ImportError: cannot import name 'getargspec' from 'inspect' (/Users/maurits/.pyenv/versions/3.11.0/lib/python3.11/inspect.py)
I am trying out how hard it is to get rid of it. It is only about test discovery and setup/teardown, not about which test running. So we should be able to stay with zope.testrunner
, although this is up for replacement by pytest, which is more popular than nose these days as far as I know.
from zest.releaser.
Related Issues (20)
- ValueError: binary mode doesn't take an encoding argument HOT 9
- fullrelease: error: no such option: --no-input HOT 8
- sdist is missing tox.ini HOT 1
- tests fails with non-GNU ls HOT 4
- testing: the following arguments are required: message HOT 1
- testing: bumpversion and postrelease tests fails HOT 3
- Always create wheels, when possible HOT 2
- Warn/ask to verify for deprecation notices when making a major release HOT 4
- get_last_tag can fail with recent setuptools HOT 1
- Use build to generate wheels and sdists HOT 7
- Read zest.releaser settings from pyproject.toml HOT 3
- Issue during our dependency-check analysis because of tests/pyproject.toml file HOT 1
- Upload to PyPI fails HOT 6
- readthedocs documentation isn't being build anymore HOT 2
- Issues when trying 'build' HOT 7
- Wheel does not contain the required METADATA file HOT 2
- `build` has changed the ProjectBuilder API in 1.0.0 HOT 2
- index-servers option in setup.cfg not working HOT 5
- implement --version HOT 1
- Support Hatchling as build backend HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zest.releaser.