Coder Social home page Coder Social logo

Comments (9)

zifeo avatar zifeo commented on May 28, 2024 1

@dwsmith1983 yes, definitely :)

from dataconf.

zifeo avatar zifeo commented on May 28, 2024

@dwsmith1983 try adding quotes "3.10", also you seems to have push a renamed git directory .git2?

from dataconf.

dwsmith1983 avatar dwsmith1983 commented on May 28, 2024

@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.

dwsmith1983 avatar dwsmith1983 commented on May 28, 2024

@zifeo looks like we have to wait 2-3 weeks
actions/setup-python#249

from dataconf.

zifeo avatar zifeo commented on May 28, 2024

@dwsmith1983 actions/setup-python#249 (comment) seems to say it is already working? What's the missing piece?

from dataconf.

dwsmith1983 avatar dwsmith1983 commented on May 28, 2024

@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.

dwsmith1983 avatar dwsmith1983 commented on May 28, 2024

@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.

zifeo avatar zifeo commented on May 28, 2024

@dwsmith1983 this is indeed a python 3.10 issue, poetry update pytest@latest should do the job.

from dataconf.

dwsmith1983 avatar dwsmith1983 commented on May 28, 2024

@zifeo for adding 3.10 support, version to 0.2.0?

from dataconf.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.