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

Modern python #50

Merged
merged 3 commits into from Apr 12, 2021
Merged

Modern python #50

merged 3 commits into from Apr 12, 2021

Conversation

JeppeKlitgaard
Copy link
Contributor

@JeppeKlitgaard JeppeKlitgaard commented Apr 10, 2021

This drops support for old Python versions.

Note that support is also dropped for Python 3.6, which strictly hasn't reached end-of-life yet, but is unsupported by the setl dependency. Since setl is only a dev dependency, 3.6 support could still be maintained, but I will leave that for @uranusjr to decide. I personally don't want to commit any time to getting 3.6 support set up, particularly since these changes contain no code changes but merely 'project health and maintainer sanity' changes, and pinning to 1.4 would be a more appropriate solution for downstream projects needing 3.6 support.

This limits the test matrix to 12 instances. Note also that MacOS now magically doesn't fail (no idea why). Windows CI has also been added.

This depends on the two prior pull requests.

--

Edit: Fix #47, close #48, close #49 (for convinience -- @uranusjr)

@uranusjr
Copy link
Member

uranusjr commented Apr 11, 2021

Leave 2.7 in and keep everything else in this PR, I’ll just merge this.

@JeppeKlitgaard
Copy link
Contributor Author

I think this would suffer the same issues as 3.6 in that setl is 3.7+, and does not (at least according to pypi) support 2.7. For that reason, 2.7 tests will fail.

I can add back in the 2.7 classifier if you want, and just leave out the 2.7 from the testing matrix (since setl is only a dev dependency)

@uranusjr
Copy link
Member

Ah, got it. Theoratically we can install setl against 3.7+ and point it to build shellingham against 2.7 (and 3.6), but that’s probably complicating things too much. Let’s just do this, if someone really wants us to test against 2.7, they can submit a PR for that 🙂

@uranusjr uranusjr merged commit f26a196 into sarugaku:master Apr 12, 2021
github-actions bot added a commit to MaRDI4NFDI/open-interfaces that referenced this pull request Sep 23, 2022
Bumps [shellingham](https://github.com/sarugaku/shellingham) from 1.4.0
to 1.5.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/sarugaku/shellingham/releases">shellingham's
releases</a>.</em></p>
<blockquote>
<h2>1.5.0</h2>
<h2>What's Changed</h2>
<ul>
<li>Bump bleach from 3.2.1 to 3.3.0 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://github-redirect.dependabot.com/sarugaku/shellingham/pull/44">sarugaku/shellingham#44</a></li>
<li>Bump cryptography from 3.3.1 to 3.3.2 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://github-redirect.dependabot.com/sarugaku/shellingham/pull/45">sarugaku/shellingham#45</a></li>
<li>Bump urllib3 from 1.26.3 to 1.26.4 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://github-redirect.dependabot.com/sarugaku/shellingham/pull/46">sarugaku/shellingham#46</a></li>
<li>Modern python by <a
href="https://github.com/JeppeKlitgaard"><code>@​JeppeKlitgaard</code></a>
in <a
href="https://github-redirect.dependabot.com/sarugaku/shellingham/pull/50">sarugaku/shellingham#50</a></li>
<li>Update README.rst by <a
href="https://github.com/davidlatwe"><code>@​davidlatwe</code></a> in <a
href="https://github-redirect.dependabot.com/sarugaku/shellingham/pull/51">sarugaku/shellingham#51</a></li>
<li>Bump urllib3 from 1.26.4 to 1.26.5 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://github-redirect.dependabot.com/sarugaku/shellingham/pull/54">sarugaku/shellingham#54</a></li>
<li>Add &quot;nu&quot; to _core.py to support detect NuShell by <a
href="https://github.com/gunungpw"><code>@​gunungpw</code></a> in <a
href="https://github-redirect.dependabot.com/sarugaku/shellingham/pull/56">sarugaku/shellingham#56</a></li>
<li>Fix typos by <a
href="https://github.com/kianmeng"><code>@​kianmeng</code></a> in <a
href="https://github-redirect.dependabot.com/sarugaku/shellingham/pull/58">sarugaku/shellingham#58</a></li>
<li>Add release job by <a
href="https://github.com/ofek"><code>@​ofek</code></a> in <a
href="https://github-redirect.dependabot.com/sarugaku/shellingham/pull/59">sarugaku/shellingham#59</a></li>
<li>chore: prepare for release 1.5.0 by <a
href="https://github.com/frostming"><code>@​frostming</code></a> in <a
href="https://github-redirect.dependabot.com/sarugaku/shellingham/pull/60">sarugaku/shellingham#60</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a
href="https://github.com/JeppeKlitgaard"><code>@​JeppeKlitgaard</code></a>
made their first contribution in <a
href="https://github-redirect.dependabot.com/sarugaku/shellingham/pull/50">sarugaku/shellingham#50</a></li>
<li><a
href="https://github.com/davidlatwe"><code>@​davidlatwe</code></a> made
their first contribution in <a
href="https://github-redirect.dependabot.com/sarugaku/shellingham/pull/51">sarugaku/shellingham#51</a></li>
<li><a href="https://github.com/gunungpw"><code>@​gunungpw</code></a>
made their first contribution in <a
href="https://github-redirect.dependabot.com/sarugaku/shellingham/pull/56">sarugaku/shellingham#56</a></li>
<li><a href="https://github.com/kianmeng"><code>@​kianmeng</code></a>
made their first contribution in <a
href="https://github-redirect.dependabot.com/sarugaku/shellingham/pull/58">sarugaku/shellingham#58</a></li>
<li><a href="https://github.com/ofek"><code>@​ofek</code></a> made their
first contribution in <a
href="https://github-redirect.dependabot.com/sarugaku/shellingham/pull/59">sarugaku/shellingham#59</a></li>
<li><a href="https://github.com/frostming"><code>@​frostming</code></a>
made their first contribution in <a
href="https://github-redirect.dependabot.com/sarugaku/shellingham/pull/60">sarugaku/shellingham#60</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/sarugaku/shellingham/compare/1.4.0...1.5.0">https://github.com/sarugaku/shellingham/compare/1.4.0...1.5.0</a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/sarugaku/shellingham/blob/master/CHANGELOG.rst">shellingham's
changelog</a>.</em></p>
<blockquote>
<h1>1.5.0 (2022-08-04)</h1>
<h2>Features</h2>
<ul>
<li>Drop support for Python version older than 3.4.
<code>[#50](sarugaku/shellingham#50)
&lt;https://github.com/sarugaku/shellingham/issues/50&gt;</code>_</li>
<li>Support detecting NuShell.
<code>[#56](sarugaku/shellingham#56)
&lt;https://github.com/sarugaku/shellingham/issues/56&gt;</code>_</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/sarugaku/shellingham/commit/ace45254557977bb8d0a7c511d16c074ec95576b"><code>ace4525</code></a>
chore: prepare for release 1.5.0 (<a
href="https://github-redirect.dependabot.com/sarugaku/shellingham/issues/60">#60</a>)</li>
<li><a
href="https://github.com/sarugaku/shellingham/commit/b68e3dfa4bd29e2c6c2b91361874cceb05ff1ebf"><code>b68e3df</code></a>
Add release job (<a
href="https://github-redirect.dependabot.com/sarugaku/shellingham/issues/59">#59</a>)</li>
<li><a
href="https://github.com/sarugaku/shellingham/commit/6025d916884af7e769e44a5f2483272eb4dae2e9"><code>6025d91</code></a>
Fix typos (<a
href="https://github-redirect.dependabot.com/sarugaku/shellingham/issues/58">#58</a>)</li>
<li><a
href="https://github.com/sarugaku/shellingham/commit/23cb5cbacaf86fd9e32368b1531e281607b32d13"><code>23cb5cb</code></a>
Add &quot;nu&quot; to _core.py to support detect NuShell (<a
href="https://github-redirect.dependabot.com/sarugaku/shellingham/issues/56">#56</a>)</li>
<li><a
href="https://github.com/sarugaku/shellingham/commit/325c643e89877eb325adf44bc62547251e87acef"><code>325c643</code></a>
Bump urllib3 from 1.26.4 to 1.26.5 (<a
href="https://github-redirect.dependabot.com/sarugaku/shellingham/issues/54">#54</a>)</li>
<li><a
href="https://github.com/sarugaku/shellingham/commit/32a9891799e1ac6e6f97e4c6530e2824a00ce456"><code>32a9891</code></a>
Update README.rst (<a
href="https://github-redirect.dependabot.com/sarugaku/shellingham/issues/51">#51</a>)</li>
<li><a
href="https://github.com/sarugaku/shellingham/commit/f26a196c583fc011f1c845af7cdcfe199150326d"><code>f26a196</code></a>
Merge pull request <a
href="https://github-redirect.dependabot.com/sarugaku/shellingham/issues/50">#50</a>
from JeppeKlitgaard/modern_python</li>
<li><a
href="https://github.com/sarugaku/shellingham/commit/1aa948f56d05945dfc4fa77742e373da4cc52010"><code>1aa948f</code></a>
Drop support for old Python versions</li>
<li><a
href="https://github.com/sarugaku/shellingham/commit/4cea54f46fc018b084612105ddcd86480ba1225f"><code>4cea54f</code></a>
feat: Test matrix</li>
<li><a
href="https://github.com/sarugaku/shellingham/commit/718d24478a484747c6519eb0c0ff08219acc6e9f"><code>718d244</code></a>
feat: Add python 3.7, 3.8, 3.9, 3.10 support</li>
<li>Additional commits viewable in <a
href="https://github.com/sarugaku/shellingham/compare/1.4.0...1.5.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=shellingham&package-manager=pip&previous-version=1.4.0&new-version=1.5.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>
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.

Officially support Python 3.7+
2 participants