Skip to content

Commit

Permalink
simply try removing version declaration in doc/conf.py
Browse files Browse the repository at this point in the history
  • Loading branch information
aryarm committed Nov 1, 2023
1 parent fb22600 commit 4c4e224
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ name: Test with pytest

on: [pull_request, workflow_call]

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
tests:
name: Test with py${{ matrix.python-version }}
Expand Down
5 changes: 1 addition & 4 deletions PUBLISHING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ New Dependencies
----------------
If you've added dependencies to trtools or its tests, those dependencies should be listed in

* setup.py
* pyproject.toml
* the .readthedocs_conda_env.yml file in the root of the repository that's used for building
TRTool's Read The Docs webpage.
* the appropriate section of the bioconda recipe (see below)
Expand All @@ -45,9 +45,6 @@ Then go through the steps of merging the changes into the master branch:
#. Run :code:`pytest` and make sure all the tests pass. Then run :code:`./test/cmdline_tests.sh` and make sure those tests pass.
#. Change the 'Unreleased Changes' section of :code:`RELEASE_NOTES.rst` to the new version number.
#. Check if any changes have been made that have not yet been documented in the release notes. If so, document them.
#. Update the version number in setup.py
#. Run ``python setup.py sdist bdist_wheel`` (this ensures that trtools/version.py contains the updated version number)
#. Commit the changes to setup.py and trtools/version.py and push them.
#. Submit a pull request from develop into master on the github webiste.
#. If the code review and travis checks pass, merge the pull request.
#. Tag the merge commit with the package version in vX.Y.Z format. (For more details on tagging, see `below`)
Expand Down
5 changes: 0 additions & 5 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,13 @@
import os
import sys
sys.path.insert(0, os.path.abspath('..'))
import trtools.version

# -- Project information -----------------------------------------------------

project = 'TRTools'
copyright = '2020, Gymreklab'
author = 'Gymreklab'

# The full version, including alpha/beta/rc tags
version = trtools.version.version
release = trtools.version.version

master_doc = 'index'

# -- General configuration ---------------------------------------------------
Expand Down

0 comments on commit 4c4e224

Please sign in to comment.