Support Python 3.11 #985

Closed
opened 2023-01-04 00:22:42 +01:00 by dsalaza4 · 10 comments
dsalaza4 commented 2023-01-04 00:22:42 +01:00 (Migrated from github.com)

Let's add support for building Python environments using Python 3.11

Let's add support for building Python environments using Python 3.11
dsalaza4 commented 2023-01-04 01:03:02 +01:00 (Migrated from github.com)

I will be dropping Python 3.7 support in order to be able to update numpy to its latest version.

I will be dropping Python 3.7 support in order to be able to update numpy to its latest version.
dsalaza4 commented 2023-01-04 23:27:08 +01:00 (Migrated from github.com)

Licensing was improved as well.

Licensing was improved as well.
dsalaza4 commented 2023-01-05 00:27:06 +01:00 (Migrated from github.com)

I will also work on updating all builtins that use older python versions.

I will also work on updating all builtins that use older python versions.
dsalaza4 commented 2023-01-05 02:04:49 +01:00 (Migrated from github.com)

@kamadorueda Take a look at this:

https://github.com/fluidattacks/makes/blob/main/makes/cli/env/runtime/pypi/pypi-sources.yaml#L5

https://pypi.org/project/textual/#history

They changed so much in just in 8 months!

I tried to update it but mypy started to fail with weird errors. I think that the textual code written for the TUI is actually no longer compatible with that latest version. 😆

This looks like one of the cons of adopting such early-stage libraries, they change too much if they haven't gained enough stability.

I will open a separate issue for upgrading Makes to Python 3.11 and updating all its pypi dependencies to the current version.

@kamadorueda Take a look at this: https://github.com/fluidattacks/makes/blob/main/makes/cli/env/runtime/pypi/pypi-sources.yaml#L5 https://pypi.org/project/textual/#history They changed so much in just in 8 months! I tried to update it but mypy started to fail with weird errors. I think that the textual code written for the TUI is actually no longer compatible with that latest version. 😆 This looks like one of the cons of adopting such early-stage libraries, they change too much if they haven't gained enough stability. I will open a separate issue for upgrading Makes to Python 3.11 and updating all its pypi dependencies to the current version.
kamadorueda commented 2023-01-05 02:07:09 +01:00 (Migrated from github.com)

let's upgrade it to Rust ;)

btw I discovered this project today: https://github.com/pvolok/mprocs
maybe useful for the dev environments

let's upgrade it to Rust ;) btw I discovered this project today: https://github.com/pvolok/mprocs maybe useful for the dev environments
kamadorueda commented 2023-01-05 02:56:49 +01:00 (Migrated from github.com)

maybe would be nice to ask people if they find the TUI useful first, if not, then using a CLI with emojis would be equally good for less. If they find the TUI useful but migrating to the newer version of textual is hard, then we can replace the useful features of the TUI with an equivalent in the CLI, for example, TUI visual search -> terminal autocompletion. Some market research would help taking a decision here

maybe would be nice to ask people if they find the TUI useful first, if not, then using a CLI with emojis would be equally good for less. If they find the TUI useful but migrating to the newer version of textual is hard, then we can replace the useful features of the TUI with an equivalent in the CLI, for example, TUI visual search -> terminal autocompletion. Some market research would help taking a decision here
dsalaza4 commented 2023-01-05 20:30:35 +01:00 (Migrated from github.com)
https://github.com/fluidattacks/makes/issues/989
dsalaza4 commented 2023-01-05 20:38:23 +01:00 (Migrated from github.com)

We now support Python 3.11 and all builtins were updated to such version. Makes still uses Python 3.10 due the TUI issue mentioned before.

We now support Python 3.11 and all builtins were updated to such version. Makes still uses Python 3.10 due the TUI issue mentioned before.
dsalaza4 commented 2023-01-05 22:14:04 +01:00 (Migrated from github.com)

There are issues when running lintPython using 3.11: https://gitlab.com/fluidattacks/universe/-/jobs/3562147270

I will try updating nixpkgs so we get an even newer Python version.

There are issues when running lintPython using 3.11: https://gitlab.com/fluidattacks/universe/-/jobs/3562147270 I will try updating nixpkgs so we get an even newer Python version.
dsalaza4 commented 2023-01-05 23:32:51 +01:00 (Migrated from github.com)

Updating nixpkgs breaking lintNix. I ended up not having to do it as the error in lintPython was due to incompatible pypi libraries. I managed to solve it in https://github.com/fluidattacks/makes/pull/992

Updating nixpkgs breaking lintNix. I ended up not having to do it as the error in lintPython was due to incompatible pypi libraries. I managed to solve it in https://github.com/fluidattacks/makes/pull/992
This discussion has been locked. Commenting is limited to contributors.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
justin/makes#985
No description provided.