CI Tests failing with both python 2 and python 3

pi0
20.0k
pi0
commented a year ago

Hey @icarito. I've tried make CI tests passing. But build fails with this error:

ERROR in ./nodemodules/py-loader?compiler=pj!./nodemodules/vue-loader/lib/selector.js?type=script&index=0!./test/fixture/pages/index.vue
Module parse failed: Unexpected token (1:16)

https://circleci.com/gh/nuxt-community/python-module/4

Would you please take a look at it? (Since you are a python geek ๐Ÿค“ )

0
icarito
55
icarito
commented 10 months ago

Javascripthon is expected to only work for Python 3.5 -

0
icarito
55
icarito
commented 10 months ago

I think I fixed circleci now. Thanks for the class on testing with Nuxtjs! :-D

0
pi0
20.0k
pi0
commented 10 months ago

Thanks for your amazing idea :) As probably after public announcement many users will try this module, what's your idea to add instructions installing exactly python 3.5 and also adding fork of metapensiero to their local requirements.txt?

0
icarito
55
icarito
commented 10 months ago

Before making an announcement :-) I'd like to work out the proper syntax with @azazel75 because we are still stabilizing the syntax for ES6 exports https://github.com/metapensiero/metapensiero.pj/issues/39 - hopefully we won't have to use a fork.

0
pi0
20.0k
pi0
commented 10 months ago

OK. So we will wait for a while before the announcement. Please ping me or @Atinux for that and good luck ;)

0
Atinux
21.1k
Atinux
commented 10 months ago

This is awesome! I have no knowledge about Python, but when it's ready I would love to announce it publicly :)

0
icarito
55
icarito
commented 10 months ago

@Atinux - I'm honored to contribute, a fan of Nuxt and Vue :-)
At this point the anonymous default exports have landed in the transpiler so things are working well.
Please review this and feel free to release it - hopefully it will be useful and improved upon.
Thanks in advance,

Sebastian

0
azazel75
0
azazel75
commented 10 months ago

@icarito I need to release it ;-)

0
pi0
20.0k
pi0
commented 10 months ago

Initial version just released!

1
azazel75
0
azazel75
commented 10 months ago

wow !

0
Informations
Question โ€ข Unresolved
#c1 - Created a year ago