Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ version: 2
updates:
- package-ecosystem: pip
directory: "/"
exclude-paths:
- "requirements-dev.txt"
- "setup.py"
schedule:
interval: weekly
time: "01:30"
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,9 @@ jobs:
run: |
python -m reserver --token "${{ secrets.TEST_PYPI_PASSWORD }}" --test --name numpy
reserver --token "${{ secrets.TEST_PYPI_PASSWORD }}" --test --name numpy
- name: Test requirements Installation
- name: Dev requirements Installation
run: |
python otherfiles/requirements-splitter.py
pip install --upgrade --upgrade-strategy=only-if-needed -r test-requirements.txt
pip install --upgrade --upgrade-strategy=only-if-needed -r requirements-dev.txt
- name: Test with pytest
env:
TWINE_TEST_USERNAME: ${{ secrets.TEST_PYPI_USERNAME }}
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
### Added
- CodeQL (SAST) scan
- Dependency Review (SCA) scan
### Changed
- Dependencies structure modified
## [0.8] - 2026-05-27
### Changed
- `upload` method in `uploader.py`
Expand Down
11 changes: 0 additions & 11 deletions dev-requirements.txt

This file was deleted.

5 changes: 5 additions & 0 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
vulture>=1.0
bandit>=1.5.1
pydocstyle>=6.3.0
pytest>=4.3.1
pytest-cov>=2.6.1
6 changes: 6 additions & 0 deletions requirements-latest.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
art==6.5
setuptools==82.0.1
wheel==0.46.3
twine==6.2.0
build==1.4.3
chardet==5.2.0
6 changes: 0 additions & 6 deletions requirements.txt

This file was deleted.

24 changes: 11 additions & 13 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,7 @@
# -*- coding: utf-8 -*-
"""Setup module."""
try:
from setuptools import setup
except ImportError:
from distutils.core import setup


def get_requires():
"""Read requirements.txt."""
requirements = open("requirements.txt", "r").read()
return list(filter(lambda x: x != "", requirements.split()))

from setuptools import setup

def read_description():
"""Read README.md and CHANGELOG.md."""
Expand All @@ -37,11 +28,18 @@ def read_description():
author_email='reserver@openscilab.com',
url='https://github.com/openscilab/reserver',
download_url='https://github.com/openscilab/reserver/tarball/v0.8',
keywords="pypi pip package name reserve reserver reservation python",
keywords='pypi pip package name reserve reserver reservation python',
project_urls={
'Source': 'https://github.com/openscilab/reserver',
'Source': 'https://github.com/openscilab/reserver',
},
install_requires=get_requires(),
install_requires=[
'art>=5.3',
'setuptools>=40.8.0',
'wheel>=0.35.0',
'twine>=3.5.0',
'chardet>=4.0.0',
'build>=0.9.0'
],
python_requires='>=3.7',
classifiers=[
'Development Status :: 3 - Alpha',
Expand Down
Loading