Commit graph

103 commits

Author SHA1 Message Date
Gil Forsyth
055321dba7
chore: add 3.13 to release jobs and remove stale dependency (#5735)
chore: add 3.13 to release jobs and remove stale dep

`doctr` isn't used anymore, so we don't need to include it.
2024-12-08 18:13:50 +05:30
Gil Forsyth
9ae14866de
test: add Python 3.13 to test matrix (#5733) 2024-12-08 13:30:20 +05:30
Noorhteen Raja NJ
a145065580
Update test.yml (#5666)
* Update test.yml

with ref to https://github.com/xonsh/xonsh/pull/4232/

removing codecov from actions

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-08-14 18:28:56 +05:30
Andy Kipp
1c792bc884
MULTILINE_PROMPT: using space without background (#5634)
* Update environ.py

* Update multiline_prompt.rst

* Update multiline_prompt.rst

* chore: configure codcov action

---------

Co-authored-by: Noorhteen Raja NJ <jnoortheen@gmail.com>
2024-08-04 06:39:01 +05:30
Gil Forsyth
04dc20c967
chore(release): update token permissions in pypi publish job (#5602) 2024-07-17 09:47:22 -04:00
Andy Kipp
0d28a6731b
Micro update new-issue.md (#5490)
<!---

Thanks for opening a PR on xonsh!

Please do this:

1. Include a news file with your PR
(https://xon.sh/devguide.html#changelog).
2. Add the documentation for your feature into `/docs`.
3. Add the example of usage or before-after behavior.
4. Mention the issue that this PR is addressing e.g. `#1234`.

-->

## For community
⬇️ **Please click the 👍 reaction instead of leaving a `+1` or 👍
comment**
2024-06-11 17:25:10 +02:00
Noorhteen Raja NJ
51a14c989d
chore: use stable 3.12 for CI jobs (#5307) 2024-05-16 15:43:57 +05:30
Andy Kipp
c3cd47e1da
Revert "Update new-issue.md: update issue template" (#5390)
Reverting xonsh/xonsh#5389 with update by comments

---------

Co-authored-by: Gil Forsyth <gforsyth@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-05-03 11:37:33 -04:00
Andy Kipp
f6f06fc256
Update new-issue.md: update issue template (#5389)
## For community
⬇️ **Please click the 👍 reaction instead of leaving a `+1` or 👍
comment**
2024-05-03 12:10:34 +02:00
Noorhteen Raja NJ
56e0257697
chore: Update publish.yml python versions (#5359) 2024-04-24 08:43:04 +02:00
Noortheen Raja
c071112584 chore: use uv for docs action 2024-04-24 09:16:33 +05:30
Noortheen Raja
a61860e623 chore: use uv for docs action 2024-04-24 09:16:33 +05:30
Noortheen Raja
499f35428a chore: use uv for docs action 2024-04-24 09:16:33 +05:30
Noortheen Raja
3b5f0b4a0d chore: uv to use system python 2024-04-24 09:16:33 +05:30
Noortheen Raja
93900e7239 feat: use uv for installing test deps
and use PuPI OICD to publish packages
2024-04-24 09:16:33 +05:30
dependabot[bot]
bca24970d9
Bump peaceiris/actions-gh-pages from 3 to 4 (#5334)
Bumps [peaceiris/actions-gh-pages](https://github.com/peaceiris/actions-gh-pages) from 3 to 4.
- [Release notes](https://github.com/peaceiris/actions-gh-pages/releases)
- [Changelog](https://github.com/peaceiris/actions-gh-pages/blob/main/CHANGELOG.md)
- [Commits](https://github.com/peaceiris/actions-gh-pages/compare/v3...v4)

---
updated-dependencies:
- dependency-name: peaceiris/actions-gh-pages
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-15 11:21:34 +02:00
Andy Kipp
7a915113f6
Pin prompt-toolkit version (#5288)
* Update pyproject.toml

* Create pin-ptk.rst

* chore: strip whitespace

---------

Co-authored-by: Gil Forsyth <gil@forsyth.dev>
2024-02-24 18:42:50 -05:00
Andy Kipp
e95a8099af
Update pull_request_template.md (#5282) 2024-02-21 19:14:01 +05:30
dependabot[bot]
53b5da8265
Bump codecov/codecov-action from 3 to 4 (#5274)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3 to 4.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-05 14:14:57 +01:00
Andy Kipp
a76a2f665f
Update config.yml: improve the text (#5247)
* Update config.yml

* Update config.yml
2023-12-14 11:51:44 +01:00
dependabot[bot]
919bedd190
Bump actions/setup-python from 4 to 5 (#5243)
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4 to 5.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-11 10:58:51 +01:00
dependabot[bot]
a6b6cf42c9
Bump tibdex/github-app-token from 1 to 2 (#5203)
Bumps [tibdex/github-app-token](https://github.com/tibdex/github-app-token) from 1 to 2.
- [Release notes](https://github.com/tibdex/github-app-token/releases)
- [Commits](https://github.com/tibdex/github-app-token/compare/v1...v2)

---
updated-dependencies:
- dependency-name: tibdex/github-app-token
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-18 10:48:19 +05:30
dependabot[bot]
bb7c515a29
Bump actions/checkout from 3 to 4 (#5204)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-18 10:44:38 +05:30
Noorhteen Raja NJ
769dfbe6aa
Py 312 pre-liminary support (#5156)
* refactor: project requires 3.9+

changed as per NEP-29
https://numpy.org/neps/nep-0029-deprecation_policy.html

* test: nose type tests are deprecated in pytest now

* fix: deprecation of ast.Str and ast.Bytes and .s attribute access

* fix: deprecation of ast.Num,ast.NameConstant,ast.Ellipsis

* refactor: upgrade code to be py39+ using ruff

the changes are auto-generated

* refactor: remove typing.Annotated compatibility code

* fix: temporarily disable having xonsh syntax inside f-strings

* test: skip failing tests

there is no workaround for this version. It might get solved in the
final release though

* refactor: make XonshSession.completer lazily populated

this speedsup the tests as cmd_cache would not be actively populated
when used in default_completers function

* refactor: make presence of walrus operator default
2023-07-04 22:18:37 +05:30
Gil Forsyth
9b4ca3e5fe ci: add python 3.11 to CI 2023-01-17 13:27:17 -05:00
Gil Forsyth
a587e7ec8c
chore: add 3.11 to wheel release action (#5009) 2022-12-11 14:14:50 +05:30
Ashish Kurmi
23a7507dcc
ci: add minimum GitHub token permissions for workflow (#4936)
Signed-off-by: Ashish Kurmi <akurmi@stepsecurity.io>

Signed-off-by: Ashish Kurmi <akurmi@stepsecurity.io>
2022-09-12 10:56:08 -04:00
Gil Forsyth
013fa760a0
refactor(amalgamate): remove amalgamation (#4858)
Co-authored-by: Noorhteen Raja NJ <jnoortheen@gmail.com>
2022-07-04 10:40:16 +05:30
Noorhteen Raja NJ
cbf23e60fb
Pre commit ci (#4863) 2022-07-01 11:47:01 -04:00
Noorhteen Raja NJ
5b98d9d735
fix-pypi-gha (#4843) 2022-06-21 10:42:47 -04:00
Gil Forsyth
e3a7e8718c
hotfix gha publish to pypi 2022-06-17 12:49:58 -04:00
Noorhteen Raja NJ
3716f3da86
Pr5 xontrib entrypoints (#4827) 2022-06-17 12:39:12 -04:00
dependabot[bot]
538c26f0e3
chore(deps): bump actions/setup-python from 3 to 4 (#4837)
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 3 to 4.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-13 10:13:26 +05:30
dependabot[bot]
0ddc05e82e
chore(deps): bump actions/setup-python from 2 to 3 (#4834)
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 2 to 3.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-08 19:22:20 +05:30
dependabot[bot]
daa5d5300b
chore(deps): bump actions/checkout from 2 to 3 (#4833)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-08 19:14:34 +05:30
dependabot[bot]
0c9c593d1b
chore(deps): bump codecov/codecov-action from 2 to 3 (#4832)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 2 to 3.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-08 19:13:32 +05:30
Naveen
40383d1f09
chore: Included githubactions in the dependabot config (#4831)
This should help with keeping the GitHub actions updated on new releases. This will also help with keeping it secure.

Dependabot helps in keeping the supply chain secure https://docs.github.com/en/code-security/dependabot

GitHub actions up to date https://docs.github.com/en/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot

https://github.com/ossf/scorecard/blob/main/docs/checks.md#dependency-update-tool
Signed-off-by: naveen <172697+naveensrinivasan@users.noreply.github.com>
2022-06-08 10:50:42 +05:30
Naveen
8088a3e62e
chore: Set permissions for GitHub actions (#4830)
Restrict the GitHub token permissions only to the required ones; this way, even if the attackers will succeed in compromising your workflow, they won’t be able to do much.

- Included permissions for the action. https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions

https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions

https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs

[Keeping your GitHub Actions and workflows secure Part 1: Preventing pwn requests](https://securitylab.github.com/research/github-actions-preventing-pwn-requests/)

Signed-off-by: naveen <172697+naveensrinivasan@users.noreply.github.com>
2022-06-06 10:41:33 +05:30
Noorhteen Raja NJ
e7ab9a4eb8
fix: checking news item pattern (#4814) 2022-05-23 10:19:14 -04:00
Noorhteen Raja NJ
ed4421ddf4
pr5-pep621 (#4803) 2022-05-10 11:39:43 -04:00
Noorhteen Raja NJ
73a880f76a
chore: drop py3.7 (#4770) 2022-04-26 09:00:31 -04:00
Noortheen Raja
bff0794b68 ci: news-item checker cleanup 2022-04-12 14:19:15 +05:30
Noortheen Raja
ea51a8a37f fix: pr commentor 2022-04-10 13:46:56 +05:30
Noorhteen Raja NJ
f4275b7992
chore: pass env variables (#4741) 2022-03-28 14:24:04 -04:00
Noorhteen Raja NJ
d004784621
Comment pr (#4738)
* feat: make check-news item a warning

* chore: use python script to comment on PR without news items
2022-03-27 17:55:42 +05:30
Noortheen Raja
fcf6f37d5b chore: add back codecov reports 2022-03-25 10:41:42 -04:00
Noortheen Raja
a13a3af21f chore: try to comment news item missing
chore: make news item check a comment
2022-03-22 19:13:11 +05:30
Noortheen Raja
0acb256740 fix: mypy errors in ci
chore: upgrade mypy
2022-03-22 19:13:11 +05:30
Noortheen Raja
fa9c33b55b chore: cancel previous still running jobs for PRs 2022-03-22 19:13:11 +05:30
Noortheen Raja
d0f127718f chore: add tmate for manual ssh into runner 2022-03-22 19:13:11 +05:30