Skip to content

Commit

Permalink
fixed issue with build for Python 3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
bmxitalia committed Oct 2, 2024
1 parent 20d976a commit 6cb28c2
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 17 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,18 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9"]
python-version: ["3.7", "3.8", "3.9"]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4.2.0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v5.2.0
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install pytest pytest-cov coverage-lcov
python -m pip install pytest pytest-cov coverage-lcov --upgrade
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Test with pytest
run: |
Expand All @@ -38,4 +38,4 @@ jobs:
- name: Test of documentation with doctest
run: |
python -m doctest -v ltn/core.py
python -m doctest -v ltn/fuzzy_ops.py
python -m doctest -v ltn/fuzzy_ops.py
24 changes: 12 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
[![docs link](https://img.shields.io/badge/docs-github.io-blue)](https://tommasocarraro.github.io/LTNtorch/)
[![MIT license](https://img.shields.io/github/license/Naereen/StrapDown.js.svg)](https://github.com/Naereen/StrapDown.js/blob/master/LICENSE)
![python version](https://img.shields.io/badge/python-3.7|3.8|3.9-blue)
[![DOI BADGE](https://zenodo.org/badge/DOI/10.5281/zenodo.6394282.svg)](https://doi.org/10.5281/zenodo.6394282)
[![DOI BADGE](https://zenodo.org/badge/DOI/10.5281/zenodo.7778157.svg)](https://doi.org/10.5281/zenodo.7778157)

# LTNtorch: PyTorch implementation of Logic Tensor Networks

Expand Down Expand Up @@ -183,17 +183,17 @@ LTN has been developed thanks to active contributions and discussions with the f

# Citing this repo

If you are using **LTNtorch** in your work, please consider citing this repository.
If you are using **LTNtorch** in your work, please consider citing this repository using the following BibTex entry.

```
@software{LTNtorch,
author = {Tommaso Carraro},
title = {{LTNtorch: PyTorch implementation of Logic Tensor Networks}},
month = {mar},
year = {2022},
publisher = {Zenodo},
version = {1.0.0},
doi = {10.5281/zenodo.6394282},
url = {https://doi.org/10.5281/zenodo.6394282}
@misc{LTNtorch,
author = {Tommaso Carraro},
title = {{LTNtorch: PyTorch implementation of Logic Tensor Networks}},
month = {mar},
year = {2023},
howpublished = {Zenodo},
version = {v1.0.1},
doi = {10.5281/zenodo.7778157}
url = {https://doi.org/10.5281/zenodo.7778157}
}
```
```

0 comments on commit 6cb28c2

Please sign in to comment.