Search found 471 matches

by Cjkjvfnby
Fri Mar 13, 2020 10:08 pm
Forum: Programming
Topic: Python3 migration
Replies: 63
Views: 15502

Re: Python3 migration

Should we add such great news to wiki Latest News section ?

When we plan to do a release?
by Cjkjvfnby
Mon Feb 24, 2020 9:19 am
Forum: Programming
Topic: Python3 migration
Replies: 63
Views: 15502

Re: Python3 migration

I have created a project on github. Main purpose to track all things to be done in one place. If you know that something to be done please create a card and add it tot he project. If you have already done something just create a card and move it to done. Like new SDK with python3 support (is it cros...
by Cjkjvfnby
Sun Feb 23, 2020 7:54 am
Forum: Programming
Topic: Python3 migration
Replies: 63
Views: 15502

Re: Python3 migration

There are no more pylint warnings about python3 compatibility. It does not mean that code compatible, o01eg has encountered a lot of errors that was not reported by this tool. GitHub has some project management features. I will try to play with it. Forum is not best place to figure out what need to ...
by Cjkjvfnby
Sun Feb 09, 2020 6:01 pm
Forum: Programming
Topic: Python3 migration
Replies: 63
Views: 15502

Re: Python3 migration

Migration to python3 will be delivered in the next release. Do we plan to release any other features? I try to list all the required actions to get it ready: Python 2, 3 compatibilities. I am working on it. I think we can do it in a week. C++ changes. Looks like it is almost done for AI, what about ...
by Cjkjvfnby
Tue Jan 28, 2020 8:25 pm
Forum: Programming
Topic: Python3 migration
Replies: 63
Views: 15502

Re: Python3 migration

I miss master build for my playtesting. My build is not compatiable with FOCS from master anymore. Can you provide a new one for me? I see. Well, I can try to squeeze it in... depending on if we declare the official release on Sunday. If we do, you'll get new test builds of master on Tuesday anyway...
by Cjkjvfnby
Thu Jan 23, 2020 7:23 pm
Forum: Programming
Topic: Python3 migration
Replies: 63
Views: 15502

Re: Python3 migration

I miss master build for my playtesting. My build is not compatiable with FOCS from master anymore. Can you provide a new one for me?
by Cjkjvfnby
Wed Jan 15, 2020 8:48 pm
Forum: Programming
Topic: Python3 migration
Replies: 63
Views: 15502

Re: Python3 migration

My progress so far. PR with tests compatiable with Python 3 is ready for review. https://github.com/freeorion/freeorion/pull/2711 TODO: Work with problem places reported by pylint (Here is an example. https://github.com/freeorion/freeorion/pull/2709). Blocked by pr with tests. Setup mypy and check p...
by Cjkjvfnby
Sun Jan 12, 2020 11:15 am
Forum: Programming
Topic: Python3 migration
Replies: 63
Views: 15502

Re: Python3 migration

There WIP list I maintains in PR description: First of all I'm waiting your PR and AI unit tests to be merged. Do something with ReadOnlyDict. Maybe we don't need it at all. Port charts script you found. And release SDK so python3 version can be built and tested with CI. Charts is a standalone scri...
by Cjkjvfnby
Sun Jan 12, 2020 10:39 am
Forum: Programming
Topic: Python3 migration
Replies: 63
Views: 15502

Re: Python3 migration

Do we need to maintain Python2 compatibility? If so C++ code must be altered to support both version as well. It depends how fast we want to add python3. How far we from merging https://github.com/freeorion/freeorion/pull/2653? Can you produce a list of steps what should be done? Is it just press m...
by Cjkjvfnby
Sat Jan 11, 2020 11:22 am
Forum: Programming
Topic: Python3 migration
Replies: 63
Views: 15502

Re: Python3 migration

I will add https://six.readthedocs.io/ library to the code.

Workflow:
  • copy library file to the project code
  • use it to archive compatibility
  • remove it and all usage after the migration is done
by Cjkjvfnby
Sat Jan 11, 2020 9:42 am
Forum: Programming
Topic: Python3 migration
Replies: 63
Views: 15502

Re: Python3 migration

I want to join the python3 migration. Can someone provie me a python3 build for windows? My throughts about: https://github.com/freeorion/freeorion/pull/2653 I want to split it to smaller PRs. Do as much I can to make python2 code compatiable with python3 (print, iteritems, etc.). This will reduce d...
by Cjkjvfnby
Tue Aug 06, 2019 8:49 pm
Forum: Programming
Topic: Python3 migration
Replies: 63
Views: 15502

Re: Python3 migration

As I understand python 3.5.7 is included to SDK.

I don't know how to switch to it, can you provide instructions?

Why 3.5.7? I will miss dataclasses 3.7 and Formatted string literals 3.6:
by Cjkjvfnby
Fri Mar 08, 2019 12:25 pm
Forum: Programming
Topic: How to build Windos build in Ubuntu(Docker)
Replies: 5
Views: 5310

Re: How to build Windos build in Ubuntu(Docker)

If I understand correctly you want to build freeorion for playing on windows. And you want to build/cross-compile from Linux? I have a Windows machine. I want to play develop the game on the machine I have. I do an AI stuff on Python, installing CDK and Visual Studio is not in my plans. I am famili...
by Cjkjvfnby
Fri Mar 08, 2019 12:13 pm
Forum: Programming
Topic: How to build Windos build in Ubuntu(Docker)
Replies: 5
Views: 5310

Re: How to build Windos build in Ubuntu(Docker)

As I know it is possible to build for the window from other operating systems but I need some instructions. No, that's not possible with Docker. Docker provides process isolation, not virtualization. You share the kernel with the host system and that limits the available user space application. Doc...
by Cjkjvfnby
Fri Mar 08, 2019 8:55 am
Forum: Programming
Topic: How to build Windos build in Ubuntu(Docker)
Replies: 5
Views: 5310

How to build Windos build in Ubuntu(Docker)

Hi, I am not friendly with C++ and freeorion build procedures. All I want is to build in one click, without installing SDK and other tools to my PC. Docker looks like a solution for that: create an image, start a container, take your build. As I know it is possible to build for the window from other...