Comments (9)
@dwsmith1983 yes, definitely :)
from dataconf.
@dwsmith1983 try adding quotes "3.10"
, also you seems to have push a renamed git directory .git2
?
from dataconf.
@zifeo this git 2 directory is strange. I am not sure where it came from, but I deleted so not sure why it went there. I saw it come up on git add. and the git rm -r --cached .git2 plus I deleted. It just refuses to die.
from dataconf.
@zifeo looks like we have to wait 2-3 weeks
actions/setup-python#249
from dataconf.
@dwsmith1983 actions/setup-python#249 (comment) seems to say it is already working? What's the missing piece?
from dataconf.
@zifeo Makshim (I think the spelling) said it isn't pre-installed on the image yet. I think when the close the ticket it will be ready.
from dataconf.
@zifeo working now but we have
Run poetry run pytest -s tests
============================= test session starts ==============================
platform linux -- Python 3.10.0, pytest-3.10.1, py-1.10.0, pluggy-0.13.1
rootdir: /home/runner/work/dataconf/dataconf, inifile:
collected 0 items / 1 errors
==================================== ERRORS ====================================
____________________ ERROR collecting tests/test_parser.py _____________________
<frozen importlib._bootstrap>:939: in _find_spec
???
E AttributeError: 'AssertionRewritingHook' object has no attribute 'find_spec'
During handling of the above exception, another exception occurred:
../../../.cache/pypoetry/virtualenvs/dataconf-eoI6Aqc9-py3.10/lib/python3.10/site-packages/py/_path/local.py:704: in pyimport
__import__(modname)
<frozen importlib._bootstrap>:1027: in _find_and_load
???
<frozen importlib._bootstrap>:1002: in _find_and_load_unlocked
???
<frozen importlib._bootstrap>:941: in _find_spec
???
<frozen importlib._bootstrap>:915: in _find_spec_legacy
???
../../../.cache/pypoetry/virtualenvs/dataconf-eoI6Aqc9-py3.10/lib/python3.10/site-packages/_pytest/assertion/rewrite.py:162: in find_module
source_stat, co = _rewrite_test(self.config, fn_pypath)
../../../.cache/pypoetry/virtualenvs/dataconf-eoI6Aqc9-py3.10/lib/python3.10/site-packages/_pytest/assertion/rewrite.py:412: in _rewrite_test
co = compile(tree, fn.strpath, "exec", dont_inherit=True)
E TypeError: required field "lineno" missing from alias
!!!!!!!!!!!!!!!!!!! Interrupted: 1 errors during collection !!!!!!!!!!!!!!!!!!!!
=========================== 1 error in 0.14 seconds ============================
Error: Process completed with exit code 2.
Maybe the pytest
version needs to be changed. I see some issues with this back in 2020 and it looks a version issue. Maybe update to 6.2.5?
from dataconf.
@dwsmith1983 this is indeed a python 3.10 issue, poetry update pytest@latest
should do the job.
from dataconf.
@zifeo for adding 3.10 support, version to 0.2.0
?
from dataconf.
Related Issues (20)
- PEP-604 union annotations cause a crash HOT 2
- Add timedelta support HOT 3
- Dependency Conflict When Attempting to Use With Moto HOT 3
- master to main update?
- Investigate TOML support
- Python 3.10 Import error with collections HOT 5
- Parsing dictionaries with Any HOT 6
- Parsing ENV not working for int/float/bool HOT 1
- Support mypy imports HOT 3
- CLI argument source support
- Error with `from __future__ import annotations` HOT 5
- pyhocon can't parse nested YAML maps HOT 10
- Dump fails HOT 1
- Can not pass sample codes from README.md. HOT 4
- Does the datacof support include in hocon format? HOT 1
- Type error with `dataconf.dict` HOT 1
- BUG: typing.Union is accepted with only two params HOT 4
- StrEnum support (python 3.11) HOT 2
- Possible bug with loader param in `.load` method HOT 1
- Defaults for nested data classes not working? HOT 2
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 dataconf.