Skip to content

Convert to Python3#5

Open
timbl wants to merge 18 commits intomasterfrom
python3
Open

Convert to Python3#5
timbl wants to merge 18 commits intomasterfrom
python3

Conversation

@timbl
Copy link
Copy Markdown
Member

@timbl timbl commented Jan 8, 2024

Convert repo to python 3
Using 2to3 etc
and then working on the regression tests.
Work in Progress

@dckc
Copy link
Copy Markdown
Contributor

dckc commented Jan 8, 2024

hi... long time... I'm curious: what prompted this?

@josd
Copy link
Copy Markdown

josd commented Jan 8, 2024

Was testing the python3 branch for the classical socrates example but got

$ cwm https://eyereasoner.github.io/eye/reasoning/socrates/socrates.n3 --think --filter=https://eyereasoner.github.io/eye/reasoning/socrates/socrates-query.n3
#Processed by Id
        #    using base https://eyereasoner.github.io/eye/reasoning/socrates/socrates.n3
             @prefix : <http://example.org/socrates#> .

    :Socrates     a <socrates-query.n3#WHAT> .

instead of https://eyereasoner.github.io/eye/reasoning/socrates/socrates-answer.n3

@timbl
Copy link
Copy Markdown
Member Author

timbl commented Jan 10, 2024

Hey @dckc it has been a long time (I've seen @josd in Ghent more recently). What prompted me has been that I am used to using cwm for little things like format conversions and little workflows, and it has been blocked by python2 being unsupported on Mac. Then had a few days over the break to apply to it. Henry Story has it on his agenda at one point too.

@dckc
Copy link
Copy Markdown
Contributor

dckc commented Jan 10, 2024

had a few days over the break to apply to it

holiday hacking... good stuff :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants