Commit Graph

36 Commits

Author SHA1 Message Date
Lars Holmberg f42d488001 running poetry-installed locust requires poetry run prefix 2024-09-06 12:28:12 +02:00
Lars Holmberg 87c4fc7103 update docs for dev install 2024-09-06 11:59:10 +02:00
Lars Holmberg f24016224d fix doc 2024-09-06 11:53:27 +02:00
Matthew Quinn 7d7bfc673d updating PR comments 2024-08-30 08:57:48 +01:00
Matthew Quinn cf78766a74 merge updates 2024-08-26 12:26:33 +01:00
Matthew Quinn 009db23cdb add poe to control pre-build hooks 2024-08-18 12:53:05 +01:00
Matthew Quinn c9bf5bb96d update doc instructions for python 2024-07-11 16:33:42 +01:00
Matthew Quinn d24417c471 update development doc instructions 2024-07-11 14:17:56 +01:00
Matthew Quinn 0da8fa101b
Poetry build system (#2725)
* remove generated front end bundle

* add poetry and front end dist to vcs ignore

* update build system manifest for poetry

- Modify pyproject.toml file for poetry build system
- Adds build script to generate front end as part of poetry build
- Adds renaming script to remove architecture info from wheel file name
- Updates Makefile to call the correct build steps with `make build`

* chmod on release renaming script

* re-add wheel extension to changed file name

* ensure vsc autoversioning plugin

* ensure vcs auto versioning plugin

* revert vscode settings

* add local dev install command

* add version file to package output

* only include poetry lock in sdist

* run build setup as one shell

* check if yarn is installed before building

* deny poetry venvs creation

* remove poetry installation and just check for poetry and yarn

* update URLs for related info

* Ensure spawning_complete happens only once on workers.

* Update various test cases for new spawning_complete behavior.

* Simplify additional test cases using the new get_messages function.

* Set worker_state to 'running' in start_worker (this used to be by spawning_complete before https://github.com/locustio/locust/pull/2728, but now that only happens once *all* workers have finished)

* Simplify semaphore_wait example

* Reverse accidental change

* Update WorkerRunner.state when spawn cycle is done (it used to rely on the event happening)

* Further simplify example

* Rewrite confusing error messages if someone accesses an HTTP Web UI using https

* Convert report time to locale time

* Update HTML report tests

* Use requests 2.32.2 or higher for Python 3.12, fixes #2555

* Upgrade Sphinx to latest version

* Add to extensions also?

Mentioned in https://sphinx-rtd-theme.readthedocs.io/en/stable/installing.html#how-to-install-and-use-the-theme

* hash anchors in setup docs pages

* testing version of pep440 generator

* remove dist

* ignore dist contents

* include changes to pyproject from main - requests version

* Remove unnecessary python

https://sphinx-rtd-theme.readthedocs.io/en/stable/installing.html

* Downgrade docutils to officially supported

* Restore theme name

* Fix ruff error

* Rename css options

* Conform to style

* Add timestamp to chart tooltip

* Add zoom to echarts

* Update test

* Fix empty timestamp formatting

* Round total_avg_response_time from history

* Reduce CSV_STATS_FLUSH_INTERVAL_SEC to 5 seconds by default (more reasonable in the time of SSD:s :) and remove it from the docs (because it will only rarely need to be adjusted, and increasing it is a very unusual need)

* Dial back the API TOC

* doc formatting fix

* Modify timestamp generation to remove deprecation warning

* Add newline at the end of the file

* Fix incorrect error message detection for https requests introduced in 84ada19a22

* update build system manifest for poetry

- Modify pyproject.toml file for poetry build system
- Adds build script to generate front end as part of poetry build
- Adds renaming script to remove architecture info from wheel file name
- Updates Makefile to call the correct build steps with `make build`

* remove merge object

* test commit distance

* jinja templating for format number

* simple vesion formatting

* take a stab at updating workflows for poetry

* might as well add discussions forum while I'm here

* add docs serve command to makefile

* developing locust docs page

* make readme and pyproject align in terms of URLs

* remove unused py version in wheel

* adjust dockerfile for poetry build

* add dev dependency group

* docs dependencies

* docs dependencies and readme

* venv for tests

* RTD config for versioning

* rtd step

* don't run the build script on the remote

* rtd

* tests and tox

* tox fixes

* progress on CI runners locally

* skip front end build

* in-progress

* run on remotes not my poor laptop

* run on remotes not my poor laptop

* ruff and mypy version

* yarn timeout for windows, update mypy

* windows plz

* windows plz

* add mypy as a dev dependency

* tests

* testing if this is actually a shell thing

* increase fetch depth for dunamai versioning

* I know what the problem is at least

* test windows

* tox install

* revert vs code settings

* remove oneshell directive from old installation process

* Update maintainers and authors

* move web ui to correct location

* update file exclusions

* skip fe build in fail-fast test

* pin some version dependencies

* update tox version

* add wheel renaming to prepublishing steps

---------

Co-authored-by: Lars Holmberg <lars@getlocust.com>
Co-authored-by: Andrew Baldwin <andrew.baldwin44@gmail.com>
Co-authored-by: Sam Wright <samuel@plaindocs.com>
Co-authored-by: Lars Holmberg <Lars.Holmberg@svenskaspel.se>
Co-authored-by: JavierUhagón <javier.uhagontorralvo@telefonica.com>
2024-07-05 10:05:49 +02:00
Sam Wright 7bda596ed4 Reference the install 2024-06-06 10:57:42 +02:00
Sam Wright 2eb90ef55b Typo fix 2024-05-26 11:35:54 +03:00
Sam Wright 4e379dffa8 Update doc requirements to include Locust installation 2024-05-26 11:31:44 +03:00
Andrew Baldwin d416966934 Update docs 2024-05-06 08:25:30 -04:00
Lars Holmberg bd710b56a1 update python version in doc logs 2024-04-18 22:05:11 +02:00
Lars Holmberg 0f0ffb8921 wording 2024-04-18 11:40:53 +02:00
Lars Holmberg be0d9250c5 Mention pre-commit in developer documentation. 2024-04-18 10:52:20 +02:00
Andrew Baldwin 008b189809 Set modern-ui as default 2024-01-29 10:22:03 -05:00
tdadela 407c26e29d docs: update developing-locust.rst (black, flake8) -> ruff 2024-01-23 22:24:49 +01:00
Andrew Baldwin 7e8fa10793 Replace flask_basicauth with flask_login 2024-01-11 10:42:22 -05:00
Andrew Baldwin be754be1ba Fix typo in developing-locust 2023-12-07 16:27:21 -05:00
Aleh Strakachuk 40e331b2ed Fix docs: modern UI developing guide 2023-11-06 13:01:50 +02:00
Andrew Baldwin 08aa968fbc Move dashboard to locust/webui 2023-10-07 00:29:01 +02:00
Andrew Baldwin 8eae174b92 Update developing-locust.rst 2023-10-07 00:28:44 +02:00
Lars Holmberg 9c0337de5b
Remove codecov from build (#2337)
* Remove codecov from build (they nuked the package from pypi! https://community.codecov.com/t/codecov-yanked-from-pypi-all-versions/4259)

* Remove codecov from more places.
2023-04-13 18:56:15 +02:00
Lars Holmberg 980de8d30b docs 2022-11-07 09:13:15 +01:00
Lars Holmberg fb09ee752a docs 2022-11-07 09:12:02 +01:00
Lars Holmberg d0321abe99 Clarify documentation a little. 2022-10-16 21:42:32 +02:00
SamPosh 8e981a39a7
spell correction 2022-09-21 15:08:35 +05:30
SamPosh 9d1c677a6b
black added as link 2022-09-21 15:02:09 +05:30
SamPosh 7d63c06e5f
updated as link 2022-09-21 14:56:29 +05:30
SamPosh 442fb118f5
black format info is added 2022-09-21 10:51:33 +05:30
Xavier Sosnovsky a26d7a2209 Minor edits to the documentation 2022-07-24 15:49:30 +02:00
Lars Holmberg 611025f91d doc stuff 2021-08-06 01:42:20 +02:00
Lars Holmberg c3793afb49 typo in docs 2021-08-06 01:38:48 +02:00
Lars Holmberg 5eaa81e4e6 minor doc update 2021-08-06 01:35:31 +02:00
Lars Holmberg 3e18e34492 Update documentation. Change wording (no need to repeat the word "spawned") 2021-08-01 00:44:58 +02:00