Giter Club home page Giter Club logo

Comments (9)

TheLastProject avatar TheLastProject commented on June 1, 2024 1

Since we had problems with version 3.10 due to the import of a library, I suppose that in 3.11 we will also have problems, but we will try it.

We had problems with pep257. So hopefully that was our only problem, we will have to see :)

from pext.

TheLastProject avatar TheLastProject commented on June 1, 2024

In #483 it was found out that pep257 is no longer maintained and incompatible with Python 3.10. We should switch to its successor pydocstyle so we can upgrade Python to a newer release.

from pext.

airvzxf avatar airvzxf commented on June 1, 2024

Only to be clear, the actual scope for this issue is moved the pep257 to pydocstyle. Is this all?

from pext.

TheLastProject avatar TheLastProject commented on June 1, 2024

The scope is to update the Python version (without increasing the Ubuntu version it's built on), but pep257 was blocking making that possible last time so it's part of what needs to be done to update it :)

from pext.

airvzxf avatar airvzxf commented on June 1, 2024

In the fix about macOS and Linux, I used Python 3.9, that's the reason I am asking because this change is done in the master repository. The pep257 is crashing if I replace by pydocstyle, and it is something that I am fixing right now. Only, to clarify.

Python 3.9

Linux
https://github.com/Pext/Pext/blob/master/.github/workflows/main.yml#L25

  linux:
    strategy:
      matrix:
        PEXT_BUILD_PORTABLE: [0, 1]
        OPERATIVE_SYSTEM: [ubuntu-18.04]
        PYTHON_VERSION: ["3.9"]
      ...
    steps:
      ...
      - name: Set up
        uses: actions/setup-python@v4
        with:
          python-version: ${{ matrix.PYTHON_VERSION }}

macOS
https://github.com/Pext/Pext/blob/master/.github/workflows/main.yml#L60

  osx:
    strategy:
      matrix:
        PEXT_BUILD_PORTABLE: [0]
        OPERATIVE_SYSTEM: [macos-latest]
        PYTHON_VERSION: ["3.9"]
      ...
    steps:
      ...
      - name: Set up
        uses: actions/setup-python@v4
        with:
          python-version: ${{ matrix.PYTHON_VERSION }}

from pext.

TheLastProject avatar TheLastProject commented on June 1, 2024

The scope is to update the Python version (without increasing the Ubuntu version it's built on), but pep257 was blocking making that possible last time so replacing it with pydocstyle needed to be done first.

I think it may be good to see if we can support 3.11 without too much hassle (IIRC, pep257 was the only thing blocking that), otherwise 3.9 is already fairly nicely recent :)

from pext.

airvzxf avatar airvzxf commented on June 1, 2024

Using Python version 3.11 sounds too adventurous and experimental. I love that!

They just released version 3.11, 6 days ago.

Since we had problems with version 3.10 due to the import of a library, I suppose that in 3.11 we will also have problems, but we will try it.

Official versions of Python: Active Python Releases

image

from pext.

airvzxf avatar airvzxf commented on June 1, 2024

Since the pull request #485 was merged. Do you think it is appropriate to close this topic?

from pext.

TheLastProject avatar TheLastProject commented on June 1, 2024

Good catch, I completely forgot, thanks :)

from pext.

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.