-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
6.1: two test_security_proxy
tests fails
#72
Comments
Please note that I run tests with |
You need There was zopefoundation/zope.security#115 and #71 recently and it's necessary to have the latest version of the two packages otherwise running Test pass on CI https://github.com/zopefoundation/zope.proxy/actions/runs/11146429667 and when I try a command to run tox from the package on pypi it also passes: ❯ curl -L https://files.pythonhosted.org/packages/5c/1c/d051c6a2968a189787c7ed8f789201dd7ee0f40e5c1553ea513bdbd21dcf/zope_proxy-6.1.tar.gz | tar xzf - ; cd zope_proxy-6.1 ; python3 -m venv venv ; ./venv/bin/pip install tox ; ./venv/bin/tox -e py39,py39-pure
...
py39-pure: OK (4.32=setup[3.45]+cmd[0.25,0.61] seconds)
congratulations :) (9.89 seconds) I think we can close but if you still experience the problem with |
If that's the case then I'd expect something like |
Thanks, that's a good point. After the two pull requests, |
Jérome Perrin wrote at 2024-10-3 23:55 -0700:
Thanks, that's a good point. After the two pull requests, `zope.security` was made to depend on newer `zope.proxy` because when running with old `zope.proxy`, there are some things that would not work **at runtime**, but using `zope.proxy` with a too old `zope.security` is only a problem to run the tests, so I thought we don't need to add a version constraint, but that was probably a mistake.
The suggestion is an obvious enhancement but I doubt that it
justifies a new release because it is not necessary for most users:
the missing version constraint only poses a problem when
`zope.proxy` is tested in an environment that already has
an (outdated) `zope.security`; if this is not the case, a
(current) `zope.security` will be installed which does not pose problems.
|
I have prepared the changes ( because I feel guilty for breaking things here :) ) but I also feel that it seems not really needed. |
I'm okay with #73 and the release of 6.2 delayed until really needed. Thank you! |
BUG/PROBLEM REPORT / FEATURE REQUEST
What I did:
I ran tests for
zope.proxy
version 6.1.What I expect to happen:
All tests pass.
What actually happened:
Two tests failed:
When I run tests for
zope.proxy
version 6.0 then all tests pass.What version of Python and Zope/Addons I am using:
Operating system: OpenIndiana
Python: 3.9.20
Zope.proxy: 6.1
The text was updated successfully, but these errors were encountered: