Skip to content

Conversation

@uilianries
Copy link
Member

Python 2.x is EOL and Conan client requires Python 3.6 or higher.

This may break users, so maybe we could release a new major version?

Related to #20

Signed-off-by: Uilian Ries <uilianries@gmail.com>
Signed-off-by: Uilian Ries <uilianries@gmail.com>
@uilianries uilianries requested a review from czoido August 1, 2024 17:24
@uilianries uilianries self-assigned this Aug 1, 2024
@uilianries uilianries merged commit c419bac into conan-io:master Aug 2, 2024
@uilianries uilianries deleted the setup/python3 branch August 2, 2024 09:14
xmo-odoo added a commit to xmo-odoo/python-patch-ng that referenced this pull request Aug 9, 2024
Python 2 compatibility was removed in conan-io#31 so these should not be useful / necessary anymore.
uilianries added a commit that referenced this pull request Oct 1, 2025
* Remove Python 2 compatibility shims

Python 2 compatibility was removed in #31 so these should not be useful / necessary anymore.

* Remove dead `sys` import

The CLI mode uses `sys` internally but has its own import.

* Remove `to_file_bytes`

It does almost nothing at this point and is only used by one caller, so can be inlined.

* Minor fixes for Python 3 compat

Signed-off-by: Uilian Ries <uilianr@jfrog.com>

* Fix nested next method

Signed-off-by: Uilian Ries <uilianr@jfrog.com>

* Validate applying 30MB patch file

Signed-off-by: Uilian Ries <uilianr@jfrog.com>

* Update CI to fix hanging Linux build

Signed-off-by: Uilian Ries <uilianr@jfrog.com>

* Use specific patch version for python due python-setup rule

Signed-off-by: Uilian Ries <uilianr@jfrog.com>

* Use ubuntu 22.04 to have python 3.7 available

Signed-off-by: Uilian Ries <uilianr@jfrog.com>

---------

Signed-off-by: Uilian Ries <uilianr@jfrog.com>
Co-authored-by: Uilian Ries <uilianr@jfrog.com>
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.

1 participant