-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
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
python38: 3.8.9 -> 3.8.10; python39: 3.9.4 -> 3.9.5; python310: 3.10.0a5 -> 3.10.0b2 #127171
Conversation
Thank you. Seems like I missed an e-mail. Note this should target staging. Please also build all Python passthru tests. |
Okay, thanks for the pointers.
We wanted to do a python-unstable run, would it be appropriate to retarget to python-unstable, or should it go to staging? |
No need, patch releases seldom cause any trouble.
That seem to be an upstream bug. I think we can ignore it. |
@ofborg test python38 python39 python310 |
@GrahamcOfBorg build python38.tests python39.tests pyton310.tests |
3.10.0b3 is available now |
Traceback (most recent call last):
File "/nix/store/20xnnayviwdzxyjr7xyjq24wdpyplvj1-python3.10-pytest-6.2.3/bin/.py.test-wrapped", line 9, in <module>
sys.exit(console_main())
File "/nix/store/20xnnayviwdzxyjr7xyjq24wdpyplvj1-python3.10-pytest-6.2.3/lib/python3.10/site-packages/_pytest/config/__init__.py", line 185, in console_main
code = main()
File "/nix/store/20xnnayviwdzxyjr7xyjq24wdpyplvj1-python3.10-pytest-6.2.3/lib/python3.10/site-packages/_pytest/config/__init__.py", line 143, in main
config = _prepareconfig(args, plugins)
File "/nix/store/20xnnayviwdzxyjr7xyjq24wdpyplvj1-python3.10-pytest-6.2.3/lib/python3.10/site-packages/_pytest/config/__init__.py", line 318, in _prepareconfig
config = pluginmanager.hook.pytest_cmdline_parse(
File "/nix/store/h6ab8g2lflx023z2lif9wpvc6n3zphaw-python3.10-pluggy-0.13.1/lib/python3.10/site-packages/pluggy/hooks.py", line 286, in __call__
return self._hookexec(self, self.get_hookimpls(), kwargs)
File "/nix/store/h6ab8g2lflx023z2lif9wpvc6n3zphaw-python3.10-pluggy-0.13.1/lib/python3.10/site-packages/pluggy/manager.py", line 93, in _hookexec
return self._inner_hookexec(hook, methods, kwargs)
File "/nix/store/h6ab8g2lflx023z2lif9wpvc6n3zphaw-python3.10-pluggy-0.13.1/lib/python3.10/site-packages/pluggy/manager.py", line 84, in <lambda>
self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall(
File "/nix/store/h6ab8g2lflx023z2lif9wpvc6n3zphaw-python3.10-pluggy-0.13.1/lib/python3.10/site-packages/pluggy/callers.py", line 203, in _multicall
gen.send(outcome)
File "/nix/store/20xnnayviwdzxyjr7xyjq24wdpyplvj1-python3.10-pytest-6.2.3/lib/python3.10/site-packages/_pytest/helpconfig.py", line 100, in pytest_cmdline_parse
config: Config = outcome.get_result()
File "/nix/store/h6ab8g2lflx023z2lif9wpvc6n3zphaw-python3.10-pluggy-0.13.1/lib/python3.10/site-packages/pluggy/callers.py", line 80, in get_result
raise ex[1].with_traceback(ex[2])
File "/nix/store/h6ab8g2lflx023z2lif9wpvc6n3zphaw-python3.10-pluggy-0.13.1/lib/python3.10/site-packages/pluggy/callers.py", line 187, in _multicall
res = hook_impl.function(*args)
File "/nix/store/20xnnayviwdzxyjr7xyjq24wdpyplvj1-python3.10-pytest-6.2.3/lib/python3.10/site-packages/_pytest/config/__init__.py", line 1003, in pytest_cmdline_parse
self.parse(args)
File "/nix/store/20xnnayviwdzxyjr7xyjq24wdpyplvj1-python3.10-pytest-6.2.3/lib/python3.10/site-packages/_pytest/config/__init__.py", line 1283, in parse
self._preparse(args, addopts=addopts)
File "/nix/store/20xnnayviwdzxyjr7xyjq24wdpyplvj1-python3.10-pytest-6.2.3/lib/python3.10/site-packages/_pytest/config/__init__.py", line 1168, in _preparse
self.pluginmanager.consider_preparse(args, exclude_only=False)
File "/nix/store/20xnnayviwdzxyjr7xyjq24wdpyplvj1-python3.10-pytest-6.2.3/lib/python3.10/site-packages/_pytest/config/__init__.py", line 635, in consider_preparse
self.consider_pluginarg(parg)
File "/nix/store/20xnnayviwdzxyjr7xyjq24wdpyplvj1-python3.10-pytest-6.2.3/lib/python3.10/site-packages/_pytest/config/__init__.py", line 660, in consider_pluginarg
self.import_plugin(arg, consider_entry_points=True)
File "/nix/store/20xnnayviwdzxyjr7xyjq24wdpyplvj1-python3.10-pytest-6.2.3/lib/python3.10/site-packages/_pytest/config/__init__.py", line 713, in import_plugin
self.register(mod, modname)
File "/nix/store/20xnnayviwdzxyjr7xyjq24wdpyplvj1-python3.10-pytest-6.2.3/lib/python3.10/site-packages/_pytest/config/__init__.py", line 443, in register
self.consider_module(plugin)
File "/nix/store/20xnnayviwdzxyjr7xyjq24wdpyplvj1-python3.10-pytest-6.2.3/lib/python3.10/site-packages/_pytest/config/__init__.py", line 669, in consider_module
self._import_plugin_specs(getattr(mod, "pytest_plugins", []))
File "/nix/store/20xnnayviwdzxyjr7xyjq24wdpyplvj1-python3.10-pytest-6.2.3/lib/python3.10/site-packages/_pytest/config/__init__.py", line 676, in _import_plugin_specs
self.import_plugin(import_spec)
File "/nix/store/20xnnayviwdzxyjr7xyjq24wdpyplvj1-python3.10-pytest-6.2.3/lib/python3.10/site-packages/_pytest/config/__init__.py", line 703, in import_plugin
__import__(importspec)
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
File "/nix/store/20xnnayviwdzxyjr7xyjq24wdpyplvj1-python3.10-pytest-6.2.3/lib/python3.10/site-packages/_pytest/assertion/rewrite.py", line 161, in exec_module
source_stat, co = _rewrite_test(fn, self.config)
File "/nix/store/20xnnayviwdzxyjr7xyjq24wdpyplvj1-python3.10-pytest-6.2.3/lib/python3.10/site-packages/_pytest/assertion/rewrite.py", line 356, in _rewrite_test
co = compile(tree, fn_, "exec", dont_inherit=True)
TypeError: required field "lineno" missing from alias
checking for finitel declaration... yes
builder for '/nix/store/5zfn4w2n1i8ij2lg5z44zpy38ycjzfqn-python3.10-pytest-6.2.3.drv' failed with exit code 1
error: build of '/nix/store/5zfn4w2n1i8ij2lg5z44zpy38ycjzfqn-python3.10-pytest-6.2.3.drv' on 'ssh://[email protected]' failed: builder for '/nix/store/5zfn4w2n1i8ij2lg5z44zpy38ycjzfqn-python3.10-pytest-6.2.3.drv' failed with exit code 1 |
Just ignore 3.10, its still beta and pytest probably needs to be fixed for it anyway. |
Okay, ignoring |
@GrahamcOfBorg build python39Packages.requests |
@GrahamcOfBorg build python38.tests python39.tests |
@mweinelt Python 3.10.0 stable is now released! Time for packaging : ) |
Motivation for this change
CPython updates for python-unstable
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)