Commit graph

79 commits

Author SHA1 Message Date
dependabot[bot]
aeaf6f6e5a
build(deps): bump actions/upload-artifact from 4 to 5
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4 to 5.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-01 17:16:36 +00:00
Juro Oravec
e8aad681b3
refactor: add support for python 3.14 (#1468) 2025-10-22 00:35:34 +02:00
Juro Oravec
0be116c7b8
ci: fix typo (#1440) 2025-10-06 11:13:53 +02:00
Juro Oravec
28def742ef
docs: ignore copilot-swe-agent from contributors and fix discord release message (#1438) 2025-10-06 10:29:34 +02:00
Juro Oravec
48adaf98f1
refactor: update workflow deps, update docs, and smaller images (#1435)
Some checks are pending
Docs - build & deploy / docs (push) Waiting to run
Run tests / build (ubuntu-latest, 3.10) (push) Waiting to run
Run tests / build (ubuntu-latest, 3.11) (push) Waiting to run
Run tests / build (ubuntu-latest, 3.12) (push) Waiting to run
Run tests / build (ubuntu-latest, 3.13) (push) Waiting to run
Run tests / build (ubuntu-latest, 3.8) (push) Waiting to run
Run tests / build (ubuntu-latest, 3.9) (push) Waiting to run
Run tests / build (windows-latest, 3.10) (push) Waiting to run
Run tests / build (windows-latest, 3.11) (push) Waiting to run
Run tests / build (windows-latest, 3.12) (push) Waiting to run
Run tests / build (windows-latest, 3.13) (push) Waiting to run
Run tests / build (windows-latest, 3.8) (push) Waiting to run
Run tests / build (windows-latest, 3.9) (push) Waiting to run
Run tests / test_docs (3.13) (push) Waiting to run
Run tests / test_sampleproject (3.13) (push) Waiting to run
2025-10-04 15:07:59 +02:00
Juro Oravec
4b674fda69
chore: fix Discord-on-PR workflow + add dates to releases (#1434) 2025-10-04 09:34:50 +02:00
Juro Oravec
3e837e20c6
ci: fix discord integration (#1430) 2025-10-03 14:31:12 +02:00
Juro Oravec
f781a6d7fe
ci: Discord integration (#1420) 2025-10-03 14:15:12 +02:00
Juro Oravec
8a979cd821
ci: check supported versions once a week (#1419)
Some checks are pending
Docs - build & deploy / docs (push) Waiting to run
Run tests / build (ubuntu-latest, 3.10) (push) Waiting to run
Run tests / build (ubuntu-latest, 3.11) (push) Waiting to run
Run tests / build (ubuntu-latest, 3.12) (push) Waiting to run
Run tests / build (ubuntu-latest, 3.13) (push) Waiting to run
Run tests / build (ubuntu-latest, 3.8) (push) Waiting to run
Run tests / build (ubuntu-latest, 3.9) (push) Waiting to run
Run tests / build (windows-latest, 3.10) (push) Waiting to run
Run tests / build (windows-latest, 3.11) (push) Waiting to run
Run tests / build (windows-latest, 3.12) (push) Waiting to run
Run tests / build (windows-latest, 3.13) (push) Waiting to run
Run tests / build (windows-latest, 3.8) (push) Waiting to run
Run tests / build (windows-latest, 3.9) (push) Waiting to run
Run tests / test_docs (3.13) (push) Waiting to run
Run tests / test_sampleproject (3.13) (push) Waiting to run
2025-10-03 09:34:18 +02:00
dependabot[bot]
39391f2a32
build(deps): bump actions/github-script from 7 to 8
Bumps [actions/github-script](https://github.com/actions/github-script) from 7 to 8.
- [Release notes](https://github.com/actions/github-script/releases)
- [Commits](https://github.com/actions/github-script/compare/v7...v8)

---
updated-dependencies:
- dependency-name: actions/github-script
  dependency-version: '8'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-01 22:01:02 +00:00
dependabot[bot]
ffb3739723
build(deps): bump actions/setup-python from 5 to 6
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 5 to 6.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v5...v6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-01 17:20:02 +00:00
Juro Oravec
b01e5a3804
ci: add missing django-components during docs build (#1377)
Some checks failed
Docs - build & deploy / docs (push) Has been cancelled
Run tests / build (ubuntu-latest, 3.10) (push) Has been cancelled
Run tests / build (ubuntu-latest, 3.11) (push) Has been cancelled
Run tests / build (ubuntu-latest, 3.12) (push) Has been cancelled
Run tests / build (ubuntu-latest, 3.13) (push) Has been cancelled
Run tests / build (ubuntu-latest, 3.8) (push) Has been cancelled
Run tests / build (ubuntu-latest, 3.9) (push) Has been cancelled
Run tests / build (windows-latest, 3.10) (push) Has been cancelled
Run tests / build (windows-latest, 3.11) (push) Has been cancelled
Run tests / build (windows-latest, 3.12) (push) Has been cancelled
Run tests / build (windows-latest, 3.13) (push) Has been cancelled
Run tests / build (windows-latest, 3.8) (push) Has been cancelled
Run tests / build (windows-latest, 3.9) (push) Has been cancelled
Run tests / test_docs (3.13) (push) Has been cancelled
Run tests / test_sampleproject (3.13) (push) Has been cancelled
2025-09-14 18:26:00 +02:00
Juro Oravec
81afed2350
refactor: call mike as bin, not module (#1376) 2025-09-14 18:12:32 +02:00
Juro Oravec
7f819b5f08
refactor: replace hatch with pip (#1347) 2025-09-14 16:20:49 +02:00
dependabot[bot]
5df63ac6e0
build(deps): bump actions/checkout from 4 to 5 (#1364)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-10 12:25:53 +02:00
Juro Oravec
ca4e7f7f8b refactor: pin virtualenv to v20.30 to fix asv 2025-05-06 10:09:32 +00:00
dependabot[bot]
76a888aa11
build(deps): bump actions/create-github-app-token from 1 to 2
Bumps [actions/create-github-app-token](https://github.com/actions/create-github-app-token) from 1 to 2.
- [Release notes](https://github.com/actions/create-github-app-token/releases)
- [Commits](https://github.com/actions/create-github-app-token/compare/v1...v2)

---
updated-dependencies:
- dependency-name: actions/create-github-app-token
  dependency-version: '2'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-01 17:31:27 +00:00
Juro Oravec
eed15d32ab
Update tests.yml (#1137) 2025-04-20 00:02:28 +02:00
Juro Oravec
9f68f0f1a1
refactor: Fix path resolution relative to COMPONENTS.dirs + add CI test to ensure sampleproject works (#1075)
* refactor: Fix path resolution relative to COMPONENTS.dirs + add CI test to ensure sampleproject works

* refactor: fix compat with Windows by explicitly using utf8 encoding to read component files

* refactor: add missing components to tests

* docs: update changelog

* refactor: fix formatting
2025-03-31 16:09:37 +02:00
Juro Oravec
30f3739499
build: add support for py3.13 windows (#1055) 2025-03-22 13:09:58 +01:00
Juro Oravec
390211b86e
refactor: display verbose output for benchmark comparison (#1054)
* refactor: display verbose output for benchmark comparison

* refactor: use unique machine name for ci benchmarks
2025-03-21 10:44:43 +01:00
Juro Oravec
d0a42a2698
refactor: use github app instead of pushing benchmarks via PR (#1052)
* refactor: use github app instead of pushing benchmarks via PR

* refactor: update github app bot git email
2025-03-20 21:26:54 +01:00
Juro Oravec
a2aa743947
refactor: Wait for PR status checks when pushing benchmarks (#1050)
* refactor: skip PR status checks when pushing benchmarks

* refactor: wait for status checks
2025-03-20 16:43:50 +01:00
Juro Oravec
293b933aaa
refactor: fix docs workflow (#1048) 2025-03-20 16:12:44 +01:00
Juro Oravec
173537ef36
refactor: allow docs CI workflow to make PRs (#1046) 2025-03-20 14:34:49 +01:00
Juro Oravec
f54f3ccb0b
ci: Make a separate PR when pushing release benchmark data (#1045) 2025-03-19 12:54:50 +01:00
Juro Oravec
439fcf68e0
refactor: same PR number to a file to access it when posting a benchmark comment (#1029) 2025-03-17 13:03:30 +01:00
Juro Oravec
3418a527e0
refactor: enable debug iin pr-benchmark-comment.yml (#1001) 2025-03-03 19:48:36 +01:00
Juro Oravec
f36581ed86
feat: benchmarking (#999)
* feat: add benchmarking dashboard, CI hook on PR, and store lifetime results

* refactor: change python env to 3.13 in benchmarks

* refactor: add verbosity, use 3.11 for benchmarking

* fix: OSError: [Errno 7] Argument list too long

* refactor: add debug statements

* refactor: remove extraneous -e

* refactor: fix tests and linter errors

* fix: track main package in coverage

* refactor: fix test coverage testing

* refactor: fix repo owner name in benchmark on pushing comment

* refactor: add asv monkeypatch to docs workflow

* refactor: temporarily allow building docs in forks

* refactor: use py 3.13 for benchmarking

* refactor: run only a single benchmark for PRs to speed them up

* refactor: install asv in the docs build workflow

* refactor: use hatch docs env to generate benhcmarks in docs CI

* refactor: more trying

* refactor: move tests

* Add benchmark results for 0.137

* Trigger Build

* Add benchmark results for 0.138

* refactor: set constant machine name when benchmarking

* Add benchmark results for 0.139

* refactor: fix issue with paths too long

* Add benchmark results for 0.140

* docs: update comment

* refactor: remove test benchmarking data

* refactor: fix comment

* refactor: allow the benchmark workflow to write to PRs

* refactor: use personal access token to set up the PR benchmark bot

* refactor: split the benchmark PR flow into two to make it work with PRs from forks

* refactor: update deprecated actions/upload-artifact@v3 to v4

* refactor: fix missing directory in benchmarking workflow

* refactor: fix triggering of second workflow

* refactor: fix workflow finally?

* docs: add comments to cut-offs and direct people to benchmarks PR

---------

Co-authored-by: github-actions <github-actions@github.com>
2025-02-23 16:18:57 +01:00
Juro Oravec
92f5497c74
refactor: change repo name and URL after org migration (#924) 2025-01-22 16:02:46 +01:00
Juro Oravec
e4246b681e refactor: Run CI tests in both unix and windows environments 2024-12-02 19:44:53 +01:00
Juro Oravec
230ceee537
chore: update supported versions - add Python 3.13, Django 5.1 (#809)
* chore: update supported versions

* [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-12-02 15:32:38 +01:00
Juro Oravec
4c2cb2f2c4
docs: Split README (#800)
* docs: Split README (#775) (#785)

* docs: add script to generate API reference from the source code (#788)

* refactor: test docs build, fix docs build flow

* refactor: update requirements

* refactor: rename changelog to release notes in docs
2024-12-02 09:54:59 +01:00
Juro Oravec
5fd45ab424
chore: Push dev to master to release v0.110 (#767)
* feat: skeleton of dependency manager backend (#688)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

* refactor: selectolax update and tests cleanup (#702)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

* refactor: move release notes to own file (#704)

* chore: merge changes from master (#705)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Yassin Rakha <yaso2go@gmail.com>
Co-authored-by: Emil Stenström <emil@emilstenstrom.se>
fix for nested slots (#698) (#699)

* refactor: remove joint {% component_dependencies %} tag (#706)

Co-authored-by: Emil Stenström <emil@emilstenstrom.se>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

* refactor: split up utils file and move utils to util dir (#707)

* docs: Move docs inside src/ to allow imports in python scripts (#708)

* refactor: Docs prep 1 (#715)

* refactor: Document template tags (#716)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

* refactor: pass slot fills in template via slots param (#719)

* chore: Merge master to dev (#729)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Yassin Rakha <yaso2go@gmail.com>
Co-authored-by: Emil Stenström <emil@emilstenstrom.se>
Co-authored-by: Tom Larsen <larsent@gmail.com>
fix for nested slots (#698) (#699)

* fix: Do not raise error if multiple slots with same name are flagged as default (#727)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

* refactor: tag formatter - allow fwd slash in end tag (#730)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

* refactor: Use lowercase names for registry settings (#731)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

* docs: add docstrings (#732)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

* feat: define settings as a data class for type hints, intellisense, and docs (#733)

* refactor: fix reload-on-change logic, expose autodiscover's dirs-getting logic, rename settings (#734)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

* docs: document settings (#743)

* docs: document settings

* refactor: fix linter errors

* feat: passthrough slots and more (#758)

* feat: passthrough slots and more

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

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

* refactor: remove ComponentSlotContext.slots

* refactor: update comment

* docs: update changelog

* refactor: update docstrings

* refactor: document and test-cover more changes

* refactor: revert fill without name

* docs: update README

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

* fix: apostrophes in tags (#765)

* refactor: fix merge error - duplicate code

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Emil Stenström <emil@emilstenstrom.se>
2024-11-25 09:41:57 +01:00
Juro Oravec
849a869a66
feat: add JS dependency manager (#666)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-09-22 16:42:41 +02:00
David Linke
97bc371f91 Clean up docs action 2024-09-07 12:34:36 +02:00
David Linke
9b2e83954d Add 2nd version specifier 2024-09-02 15:19:40 +02:00
David Linke
2abfb1dc9c Fix docs gh-action 2024-09-02 11:28:58 +02:00
David Linke
1efdff7daf Fix redirect to latest for mike 2.0 2024-08-25 16:41:27 +02:00
David Linke
2feb339387 Fix docs deployment to gh-pages. 2024-08-24 19:48:08 +02:00
Emil Stenström
36b8fcfbe6 Make sure we run on master. 2024-08-24 14:31:40 +02:00
Emil Stenström
3f38a25dd3 Try adding write permissions to action. 2024-08-24 14:02:43 +02:00
Gabriel Dugny
38b62e854b chore: add black in docs env 2024-08-24 11:23:24 +02:00
Gabriel Dugny
f56aa747c9 chore: upgrade docs CI 2024-08-24 11:23:24 +02:00
Gabriel Dugny
163b0941c2 chore: init docs 2024-08-24 11:23:24 +02:00
Emil Stenström
6f664cf4b1 Create automate-dependabot.yml
This workflow runs gh pr merge automatically on all PR's from dependabot. Fixes https://github.com/EmilStenstrom/django-components/issues/575
2024-08-16 15:59:28 +02:00
Emil Stenström
a9bc3a0ba1
Don't run status checks twice for new PR:s. 2024-08-14 21:09:04 +02:00
Emil Stenström
42b6785528
Update tests.yml 2024-07-12 11:41:32 +02:00
Gabriel Dugny
84db2b7314
build: move to PEP517 and pyproject.toml, drop support for Py3.6 and Py3.7 (#417)
* chore: move to pyproject.toml

* chore: forced to drop Python 3.6 to upgrade

* chore: drop support for Python 3.6 and 3.7

* chore: remove old references to py36/py37

* chore: remove setup.py, replaced by pyproject.toml
2024-03-31 19:20:35 +02:00
Emil Stenström
33bd14e75c Remove unnessesary debug from tox run. 2024-03-15 23:39:00 +01:00