fix:Upgrade Python version from 3.8 to 3.11
This PR solve issue #183
- [ x] I havd Changed the python_version field from 3.8 to 3.11 in the Pipfile.
- [ x] Verify that all dependencies are compatible with Python 3.11.
hii @refeed The issue seems to be stemming from a missing exceptiongroup module. so i am working on it
Quality Gate passed
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code
Hi @Denish3436 , the test is still failing, we need to take a look again. I'm not really sure what's the root problem of this. The issue seems more complicated than I thought earlier :)
res = hook_impl.function(*args)
File "/opt/hostedtoolcache/Python/3.10.15/x64/lib/python3.10/site-packages/_pytest/config/__init__.py", line 1140, in pytest_cmdline_parse
self.parse(args)
File "/opt/hostedtoolcache/Python/3.10.15/x64/lib/python3.10/site-packages/_pytest/config/__init__.py", line 1494, in parse
self._preparse(args, addopts=addopts)
File "/opt/hostedtoolcache/Python/3.10.15/x64/lib/python3.10/site-packages/_pytest/config/__init__.py", line 1366, in _preparse
self._initini(args)
File "/opt/hostedtoolcache/Python/3.10.15/x64/lib/python3.10/site-packages/_pytest/config/__init__.py", line 1239, in _initini
rootpath, inipath, inicfg = determine_setup(
File "/opt/hostedtoolcache/Python/3.10.15/x64/lib/python3.10/site-packages/_pytest/config/findpaths.py", line 198, in determine_setup
rootdir, inipath, inicfg = locate_config(invocation_dir, [ancestor])
File "/opt/hostedtoolcache/Python/3.10.15/x64/lib/python3.10/site-packages/_pytest/config/findpaths.py", line 110, in locate_config
ini_config = load_config_dict_from_file(p)
File "/opt/hostedtoolcache/Python/3.10.15/x64/lib/python3.10/site-packages/_pytest/config/findpaths.py", line 64, in load_config_dict_from_file
import tomli as tomllib
ModuleNotFoundError: No module named 'tomli'
Ideally, when we update the Python version, we shouldn't add more dependencies, it should work out of the box. The worst case might be we need to upgrade the versions of our direct dependencies that are defined within the Pipfile not the dependencies of our dependencies