Please use the GitHub template for bug reports
If you want to submit a pull request, it's advised to run the CI checks locally:
- Install Python3
- Install
tox
- Run
tox
with the proper list of environments:
tox -e website -e linters -e pyXY
(Replace pyXY
by your current Python installation)
Note: you will need an en_US
dictionary installed for the tests to run. See website
for more details.
The PyEnchant website is hosted on GitHub pages and there's a GitHub workflow to automatically update it every time a commit is pushed on the master branch.
You can also run tox -e website-dev
locally to spawn a process that will watch
the changes in the website/
directory and auto-refresh connected browsers.
Say a new Enchant version is out, and you want to make a new PyEnchant release containing the pre-compiled Enchant C library.
Here are the steps:
- Clone our Enchant fork
- Checkout the
packaging
branch - Rebase the branch on top of the appropriate upstream tag
- Push it and wait the for appveyor builds to kick in. Note: you do not need to create a pull request!.
- Once the appveyor jobs are complete, download the artifacts
- Push a tag looking like
v<upstream version>-appveyor-<appveyor build number>
in thepyenchant/enchant
repository - Create a release on the tag and and attach the appveyor artifacts to it - that way they won't get lost in 6 months!
- Adapt the
./bootstrap.py
file with the tag you just pushed
Then you need to bump the version number in setup.cfg
and publish a new release on Pypi. You can do it
with tbump.