Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIX] ci build and releases : Bump supported python versions #71

Merged
merged 3 commits into from
Sep 12, 2023

Conversation

ivantodorovich
Copy link
Member

@ivantodorovich ivantodorovich commented Jun 29, 2023

Solves #70 by bumping the supported python versions

Python 2.7 is no longer officially supported and it was removed from
setup-python. actions/setup-python#672.

Python 3.5 and 3.6 aren't really used neither, and CI is currently failing due
to:

Version 3.5 was not found in the local cache
Error: The version '3.5' with architecture 'x64' was not found for Ubuntu 22.04.

In any case, packages up to marabunta<=0.10.6 have been published and do support
these deprecated python versions.


Ideally, this should be released in 0.11.0

The goal of this PR is to re-enable the publication to pypi, so we can install this package's latest version with pip

@ivantodorovich ivantodorovich changed the title [FIX] flake8 errors [FIX] ci build Jun 29, 2023
@ivantodorovich ivantodorovich force-pushed the fix-ci branch 4 times, most recently from 91ac887 to ea5445d Compare September 11, 2023 16:32
@ivantodorovich ivantodorovich marked this pull request as ready for review September 11, 2023 16:32
@ivantodorovich ivantodorovich changed the title [FIX] ci build [FIX] ci build and releases : Bump supported python versions Sep 11, 2023
@ivantodorovich ivantodorovich force-pushed the fix-ci branch 2 times, most recently from d7e4ef0 to 6d2a58c Compare September 11, 2023 17:24
Python 2.7 is no longer officially supported and it was removed from
setup-python. actions/setup-python#672.

Python 3.5 and 3.6 aren't really used neither, and CI is currently failing due
to:

```
Version 3.5 was not found in the local cache
Error: The version '3.5' with architecture 'x64' was not found for Ubuntu 22.04.
```

In any case, packages up to marabunta<=0.10.6 have been published and do support
these deprecated python versions.
```
| lint: commands[0]> flake8 marabunta/ tests/
| tests/test_env_default.py:9:11: E275 missing whitespace after keyword
| tests/test_env_default.py:15:11: E275 missing whitespace after keyword
| tests/test_env_default.py:19:11: E275 missing whitespace after keyword
| tests/test_env_default.py:23:11: E275 missing whitespace after keyword
| tests/test_env_default.py:27:11: E275 missing whitespace after keyword
| tests/test_env_default.py:31:11: E275 missing whitespace after keyword
| tests/test_env_default.py:35:11: E275 missing whitespace after keyword
| tests/test_env_default.py:39:11: E275 missing whitespace after keyword
```
Some other warnings (DeprecationWarning) were being logged and thus the `len`
assertions failed.

Using match is actually better for this purpose, as we only want to check if
that particular warning is logged, doesn't matter if others are logged too.
@simahawk simahawk merged commit a37f33c into master Sep 12, 2023
7 checks passed
@ivantodorovich ivantodorovich deleted the fix-ci branch September 12, 2023 10:42
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.

2 participants